rec:Person leaf node


URI

https://w3id.org/rec#Person

Label

Person

Description

A natural person (i.e., an individual human being).

Superclasses (1)

Targets (1)

Property Constraints (4)

Focus nodes of this shape (rec:Person) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:familyName 0 * xsd:string
rec:gender gender
0 * xsd:string
rec:givenName 0 * xsd:string
rec:image image
URL link to an image that represents the person.
0 * xsd:anyURI

Implementation

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

rec:Person a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Person"^^xsd:string ;
    rdfs:comment "A natural person (i.e., an individual human being)."^^xsd:string ;
    rdfs:subClassOf rec:Agent ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype xsd:string ;
            sh:path rec:givenName ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:string ;
            sh:path rec:familyName ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:string ;
            sh:name "gender"^^xsd:string ;
            sh:path rec:gender ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:anyURI ;
            sh:description "URL link to an image that represents the person."^^xsd:string ;
            sh:name "image"^^xsd:string ;
            sh:path rec:image ] .