- basic
- object datatype: pass fail
- cardinality: pass fail
- choices (exclusive or): pass fail
- value sets: pass fail
- nested shapes: pass fail
- named shapes: pass
- annotated issue example
- node fulfilling multiple shapes, with remaining triples (demonstrates graph coverage)
- inheritance/polymorphism
- basic inheritance factor our commonalities
- virtual base sanitizes type-finding (without
VIRTUAL
you get uninteresting matches) - issue with base person shape
- controls
-
features
- recursive pattern: foaf:knows/foaf:knows
- remote query: DBPedia German cities (select Data: Load/Query and then and )
- wikidata validation
-
Semantic Actions
- validation:
- generation:
- parsing:
- domain-specific
Schema (ShEx):
PREFIX ex: <http://ex.example/#> PREFIX foaf: <http://xmlns.com/foaf/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX test: <http://shexspec.github.io/extensions/Test/> %test:{ %} start = <IssueShape> <IssueShape> { ex:reportedBy @<UserShape> %test:{ fail(o) %}, } <UserShape> { foaf:name xsd:string %test:{ print("some message") %} }