rescs:dash/person/PersonShape leaf node


URI

http://rescs.org/dash/person/PersonShape

Label

Person

Description

A person (alive, dead, undead, or fictional).

Target Classes (1)

Shape Properties

Instances of schema:Person can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

schema:Person
schema:additionalName xsd:string
schema:address 1 xsd:string
schema:affiliation schema:Organization
schema:birthDate 1 xsd:date
schema:deathDate 1 xsd:date
schema:email 1 xsd:string
schema:familyName 1 1 xsd:string
schema:givenName 1 1 xsd:string
schema:honorificPrefix 1 xsd:string
schema:honorificSuffix 1 xsd:string
schema:jobTitle xsd:string
schema:Thing
schema:alternateName xsd:string
schema:description 1
schema:identifier 1
schema:image 1
schema:name 1 1 xsd:string
schema:sameAs
schema:url

Implementation

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://rescs.org/dash/person/PersonShape> a sh:NodeShape ;
    rdfs:label "Person"^^xsd:string ;
    rdfs:comment "A person (alive, dead, undead, or fictional)."^^xsd:string ;
    sh:and ( [ sh:node <http://rescs.org/dash/thing/ThingShape> ] [ sh:property [ sh:datatype xsd:string ;
                        sh:description "An honorific prefix preceding a Person's name such as Dr/Mrs/Mr." ;
                        sh:maxCount 1 ;
                        sh:name "honorificPrefix" ;
                        sh:path schema:honorificPrefix ],
                    [ sh:datatype xsd:string ;
                        sh:description "Email address." ;
                        sh:maxCount 1 ;
                        sh:name "email" ;
                        sh:path schema:email ;
                        sh:pattern "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$" ],
                    [ sh:class schema:Organization ;
                        sh:description "An organization that this person is affiliated with. For example, a school/university, a club, or a team." ;
                        sh:name "affiliation" ;
                        sh:nodeKind sh:IRI ;
                        sh:path schema:affiliation ],
                    [ sh:datatype xsd:date ;
                        sh:description "Date of death." ;
                        sh:maxCount 1 ;
                        sh:name "deathDate" ;
                        sh:path schema:deathDate ],
                    [ sh:datatype xsd:string ;
                        sh:description "Given name. In the U.S., the first name of a Person." ;
                        sh:maxCount 1 ;
                        sh:minCount 1 ;
                        sh:name "givenName" ;
                        sh:path schema:givenName ],
                    [ sh:datatype xsd:string ;
                        sh:description "The job title of the person (for example, Financial Manager)." ;
                        sh:name "jobTitle" ;
                        sh:path schema:jobTitle ],
                    [ sh:datatype xsd:string ;
                        sh:description "Family name. In the U.S., the last name of a Person." ;
                        sh:maxCount 1 ;
                        sh:minCount 1 ;
                        sh:name "familyName" ;
                        sh:path schema:familyName ],
                    [ sh:datatype xsd:string ;
                        sh:description "An honorific suffix following a Person's name such as M.D. /PhD/MSCSW." ;
                        sh:maxCount 1 ;
                        sh:name "honorificSuffix" ;
                        sh:path schema:honorificSuffix ],
                    [ sh:datatype xsd:string ;
                        sh:description "Physical address of the item." ;
                        sh:maxCount 1 ;
                        sh:name "address" ;
                        sh:path schema:address ],
                    [ sh:datatype xsd:date ;
                        sh:description "Date of birth." ;
                        sh:lessThan schema:deathDate ;
                        sh:maxCount 1 ;
                        sh:name "birthDate" ;
                        sh:path schema:birthDate ],
                    [ sh:datatype xsd:string ;
                        sh:description "An additional name for a Person, can be used for a middle name." ;
                        sh:name "additionalName" ;
                        sh:path schema:additionalName ] ] ) ;
    sh:targetClass schema:Person .