deno.land / x / shacl_to_type@v0.0.9 / shapes / Person.ttl
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123@prefix dash: <http://datashapes.org/dash#> .@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .@prefix schema: <https://schema.org/> .@prefix sh: <http://www.w3.org/ns/shacl#> .@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
schema:PersonShape a sh:NodeShape ; sh:targetClass schema:Person ; sh:property [ sh:group schema:NameGroup ; sh:path schema:givenName ; sh:order 1 ; sh:or ( [ sh:datatype xsd:string ] [ sh:datatype rdf:langString] ) ; sh:name "given name" ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:group schema:NameGroup ; sh:path schema:familyName ; sh:order 2 ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:callSign ; sh:order 2 ; sh:datatype rdf:langString ; sh:minCount 1 ; ] ; sh:property [ sh:path schema:colleague ; sh:order 2 ; ] ; sh:property [ sh:path schema:description ; sh:order 2 ; sh:datatype xsd:string ; sh:minCount 1 ; ] ; sh:property [ sh:path schema:abstract ; sh:order 2 ; sh:datatype xsd:string ; sh:minCount 1 ; ] ; sh:property [ sh:path schema:birthDate ; sh:datatype xsd:date ; sh:lessThan schema:deathDate ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:gender ; sh:in ( "female" "male" ) ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:address ; sh:node schema:AddressShape ; ] .schema:TopGroup a sh:PropertyGroup ; sh:order 1 .
schema:NameGroup a sh:PropertyGroup ; sh:order 2 .
schema:AddressShape a sh:NodeShape ; sh:targetClass schema:PostalAddress ; sh:closed true ; sh:property [ sh:path rdf:type ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:streetAddress ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:addressRegion ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:addressLocality ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:postalCode ; sh:or ( [ sh:datatype xsd:string ] [ sh:datatype xsd:integer ] ) ; sh:minInclusive "1000" ; sh:maxInclusive "99999" ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ sh:path schema:addressCountry ; sh:datatype xsd:string ; sh:minCount 1 ; sh:maxCount 1 ; ] .
Version Info