rec:Agent


URI

https://w3id.org/rec#Agent

Label

Agent

Description

The human, group, or machine that consumes or acts upon an object or data. This higher-level grouping allows properties that are shared among its subclasses (Person, Organization, ....) to be anchored in one joint place, on the Agent class.

Targets (1)

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:isMemberOf is member of
Indicates membership in an organization. Note that componency (e.g., departments of a corporation) are expressed using the more generic Organization.isPartOf property.
0 * rec:Organization
sh:IRI
rec:owns owns
Indicates ownership of some thing, e.g., a building, an asset, an organization, etc.
0 * sh:IRI

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:Agent a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Agent"^^xsd:string ;
    rdfs:comment "The human, group, or machine that consumes or acts upon an object or data. This higher-level grouping allows properties that are shared among its subclasses (Person, Organization, ....) to be anchored in one joint place, on the Agent class."^^xsd:string ;
    rdfs:subClassOf rdfs:Resource ;
    sh:property [ a sh:PropertyShape ;
            sh:class rec:Organization ;
            sh:description "Indicates membership in an organization. Note that componency (e.g., departments of a corporation) are expressed using the more generic Organization.isPartOf property."^^xsd:string ;
            sh:name "is member of"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:isMemberOf ],
        [ a sh:PropertyShape ;
            sh:description "Indicates ownership of some thing, e.g., a building, an asset, an organization, etc."^^xsd:string ;
            sh:name "owns"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:owns ] .