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

Validation Results

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

<Bob> fails <http://example.org/sh#Person>:
FAIL { Errors: ☹ expected <Bob> <http://example.org/#hasBiologicalParent> _:2. to match <http://example.org/#hasBiologicalParent> @_:0 FAIL { Errors: ☹ expected at least 1 matches of <http://example.org/#gender> (<http://example.org/#Male>)expected _:2 <http://example.org/#gender> <http://example.org/#Fale>. to match <http://example.org/#gender> (<http://example.org/#Male>) Matches: } ☹ expected <Bob> <http://example.org/#hasBiologicalParent> _:2. to match <http://example.org/#hasBiologicalParent> @_:1 FAIL { Errors: ☹ expected at least 1 matches of <http://example.org/#gender> (<http://example.org/#Female>)expected _:2 <http://example.org/#gender> <http://example.org/#Fale>. to match <http://example.org/#gender> (<http://example.org/#Female>) Matches: } Matches: :hasBiologicalParent @{ :gender (:Male ) } matched by <Bob> :hasBiologicalParent _:0 . PASS { :gender (:Male) matched by _:0 :gender :Male . } :hasBiologicalParent @{ :gender (:Female) } matched by <Bob> :hasBiologicalParent _:1 . PASS { :gender (:Female) matched by _:1 :gender :Female . } }



Schema (ShEx):

Schema parsed.0.19 kB, 8 ms, 24 kB/s
PREFIX sh: <http://example.org/sh#>
PREFIX : <http://example.org/#>

start = sh:Person

sh:Person {
    :hasBiologicalParent { :gender (:Male  ) },
    :hasBiologicalParent { :gender (:Female) }
}
PREFIX : <http://example.org/#>

<Bob>
    :hasBiologicalParent [ :gender :Male   ];
    :hasBiologicalParent [ :gender :Female ];
    :hasBiologicalParent [ :gender :Fale   ].