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:

Validation complete.
5.0 triples, 5 ms, 1.0e+3 triples/s

Validation Results

result navigation enabled — use ctrl-↑ and ctrl-↓ to browse results.

<Bob> matches <my:Person>:
PASS { ex:parent @my:MalePerson matched by <Bob> ex:parent _:0 . PASS { ex:gender ("M") matched by _:0 ex:gender "M" . } ex:parent @my:FemalePerson matched by <Bob> ex:parent _:1 . PASS { ex:gender ("F") matched by _:1 ex:gender "F" . } }
Remaining triples:
  <Bob> a ex:Person .



Schema (ShEx):

Schema parsed.0.20 kB, 12 ms, 16 kB/s
PREFIX ex: <ex:>
PREFIX my: <my:>

start=my:Person

my:Person {
  ex:parent @my:MalePerson ,
  ex:parent @my:FemalePerson
}

my:MalePerson {
  ex:gender ("M")
}

my:FemalePerson {
  ex:gender ("F")
}
PREFIX ex: <ex:>
PREFIX my: <my:>

<Bob> a ex:Person ;
  ex:parent [ ex:gender "M" ] ;
  ex:parent [ ex:gender "F" ] .