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 schema1:Person can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

schema1:Person
schema1:additionalName xsd:string
schema1:address 1 xsd:string
schema1:affiliation schema1:Organization
schema1:birthDate 1 xsd:date
schema1:deathDate 1 xsd:date
schema1:email 1 xsd:string
schema1:familyName 1 1 xsd:string
schema1:givenName 1 1 xsd:string
schema1:honorificPrefix 1 xsd:string
schema1:honorificSuffix 1 xsd:string
schema1:jobTitle xsd:string
schema1:Thing
schema1:alternateName xsd:string
schema1:description 1
schema1:identifier 1
schema1:image 1
schema1:name 1 1 xsd:string
schema1:sameAs
schema1: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 schema1: <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 additional name for a Person, can be used for a middle name." ;
                        sh:name "additionalName" ;
                        sh:path schema1:additionalName ],
                    [ sh:datatype xsd:string ;
                        sh:description "Physical address of the item." ;
                        sh:maxCount 1 ;
                        sh:name "address" ;
                        sh:path schema1:address ],
                    [ sh:datatype xsd:date ;
                        sh:description "Date of birth." ;
                        sh:lessThan schema1:deathDate ;
                        sh:maxCount 1 ;
                        sh:name "birthDate" ;
                        sh:path schema1:birthDate ],
                    [ sh:datatype xsd:string ;
                        sh:description "Email address." ;
                        sh:maxCount 1 ;
                        sh:name "email" ;
                        sh:path schema1:email ;
                        sh:pattern "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$" ],
                    [ 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 schema1:givenName ],
                    [ sh:datatype xsd:string ;
                        sh:description "The job title of the person (for example, Financial Manager)." ;
                        sh:name "jobTitle" ;
                        sh:path schema1:jobTitle ],
                    [ sh:class schema1: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 schema1:affiliation ],
                    [ sh:datatype xsd:date ;
                        sh:description "Date of death." ;
                        sh:maxCount 1 ;
                        sh:name "deathDate" ;
                        sh:path schema1:deathDate ],
                    [ 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 schema1:honorificSuffix ],
                    [ 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 schema1:honorificPrefix ],
                    [ 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 schema1:familyName ] ] ) ;
    sh:targetClass schema1:Person .