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.
9.0 triples, 4 ms, 2.3e+3 triples/s

Validation Results

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

_:0 matches <Person>:
PASS { foaf:name xsd:string matched by _:0 foaf:name "Alice" . foaf:knows @<Person>* matched by _:0 foaf:knows _:1 . PASS { foaf:name xsd:string matched by _:1 foaf:name "Bob" . } foaf:knows @<Person>* matched by _:0 foaf:knows _:2 . PASS { foaf:name xsd:string matched by _:2 foaf:name "Eve" . foaf:knows @<Person>* matched by _:2 foaf:knows _:3 . PASS { foaf:name xsd:string matched by _:3 foaf:name "Eve2" . } foaf:knows @<Person>* matched by _:2 foaf:knows _:4 . PASS { foaf:name xsd:string matched by _:4 foaf:name "Eve3" . } } }No remaining triples.



Schema (ShEx):

Schema parsed.0.16 kB, 8 ms, 21 kB/s
PREFIX foaf: <http://xmlns.com/foaf/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

start = <Person>
<Person> {
    foaf:name xsd:string,
    foaf:knows @<Person>*
}
PREFIX foaf: <http://xmlns.com/foaf/>

[ foaf:name "Alice" ;
  foaf:knows
    [ foaf:name "Bob" ],
    [ foaf:name "Eve" ;
      foaf:knows
        [ foaf:name "Eve2" ],
        [ foaf:name "Eve3" ]
    ]
] .