diff --git a/demo/complex-example.ttl b/demo/complex-example.ttl index 99812dd..0a8fe40 100644 --- a/demo/complex-example.ttl +++ b/demo/complex-example.ttl @@ -14,7 +14,7 @@ @prefix example: . example:ArchitectureModelDataset - a sh:NodeShape ; + a sh:NodeShape, rdfs:Class ; sh:node example:Dataset ; sh:property [ sh:description "Location of the building" ; @@ -62,7 +62,7 @@ example:ArchitectureModelDataset ] . example:Dataset - a sh:NodeShape ; + a sh:NodeShape, rdfs:Class ; sh:property [ sh:datatype rdf:langString ; sh:languageIn ( "en" "de" ) ; sh:uniqueLang true ; diff --git a/demo/datatypes.ttl b/demo/datatypes.ttl index 543c452..516272f 100644 --- a/demo/datatypes.ttl +++ b/demo/datatypes.ttl @@ -1,10 +1,11 @@ @prefix sh: . @prefix dash: . @prefix rdf: . +@prefix rdfs: . @prefix xsd: . @prefix ex: . -ex:Demo a sh:NodeShape ; +ex:Demo a sh:NodeShape, rdfs:Class ; sh:property [ sh:datatype xsd:string ; sh:maxCount 1 ;