Click to close

ShEx

Data Validation Workbench

This demo is out of date with repect to ShEx2; try the ShEx2 online demo.

Rendering

Validation:

as

Translations

SPARQL:
View as:

Validation messages:

Validator not available.



Schema (ShEx):

Schema parsed.0.83 kB, 9 ms, 92 kB/s
PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
prefix dbpedia:	<http://dbpedia.org/resource/>
prefix prop:	<http://dbpedia.org/property/>
prefix xsd:	<http://www.w3.org/2001/XMLSchema#>
prefix geo:	<http://www.w3.org/2003/01/geo/wgs84_pos#>
prefix yago:	<http://dbpedia.org/class/yago/>
prefix umbel:	<http://umbel.org/umbel/rc/>
prefix schema:	<http://schema.org/>

start = <CityShape>

<CityShape> EXTRA a {
 a (dbpedia-owl:PopulatedPlace),
 a (yago:YagoGeoEntity) ,
# There *should* be a choice between City and Village.
 a (umbel:City umbel:Village)+,
 a (schema:Place),
  dbpedia-owl:areaCode xsd:string+,
  geo:lat xsd:float, geo:long xsd:float,
  dbpedia-owl:country @<CountryShape>
}

<CountryShape> {
  dbpedia-owl:currency @<CurrencyShape>
}

<CurrencyShape> EXTRA a {
  a (umbel:Currency),
  a (dbpedia-owl:Currency),
#  prop:isoCode .
}
Load data

data URL:

Validate via SPARQL

SPARQL endpoint:     (cache size: subjects)

SPARQL :