"PREFIX dash: \nPREFIX dcterms: \nPREFIX owl: \nPREFIX rdf: \nPREFIX rdfs: \nPREFIX schema: \nPREFIX sh: \nPREFIX xsd: \n\n\n a owl:Ontology ;\n dcterms:title \"SHACL Playground Person Shapes\" ;\n dcterms:description \"Example SHACL Shapes to validate Person data provided by the SHACL Playground (https://shacl.org/playground/)\" ;\n owl:versionIRI ;\n.\n\nschema:PersonShape\n a sh:NodeShape ;\n sh:targetClass schema:Person ;\n sh:property [\n sh:path schema:givenName ;\n sh:datatype xsd:string ;\n sh:name \"given name\" ;\n ] ;\n sh:property [\n sh:path schema:birthDate ;\n sh:lessThan schema:deathDate ;\n sh:maxCount 1 ;\n ] ;\n sh:property [\n sh:path schema:gender ;\n sh:in ( \"female\" \"male\" ) ;\n ] ;\n sh:property [\n sh:path schema:address ;\n sh:node schema:AddressShape ;\n ] .\n\nschema:AddressShape\n a sh:NodeShape ;\n sh:closed true ;\n sh:property [\n sh:path schema:streetAddress ;\n sh:datatype xsd:string ;\n ] ;\n sh:property [\n sh:path schema:postalCode ;\n sh:or ( [ sh:datatype xsd:string ] [ sh:datatype xsd:integer ] ) ;\n sh:minInclusive 10000 ;\n sh:maxInclusive 99999 ;\n ] ."