rec:Event


URI

https://w3id.org/rec#Event

Label

Event

Description

A temporally indexed entity, e.g., an observation, a lease, a construction project, etc. Can be instantaneous (timestamp property assigned) or have temporal extent (start and end properties assigned). Subclasses may define specific behaviour and requirements, e.g., on spatial indexing, agent participation, etc.

Targets (1)

Property Constraints (3)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:end end
Event ending timestamp.
0 1 xsd:dateTime
rec:start start
Event start timestamp.
0 1 xsd:dateTime
rec:timestamp timestamp
0 1 xsd:dateTime

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:Event a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Event"^^xsd:string ;
    rdfs:comment "A temporally indexed entity, e.g., an observation, a lease, a construction project, etc. Can be instantaneous (timestamp property assigned) or have temporal extent (start and end properties assigned). Subclasses may define specific behaviour and requirements, e.g., on spatial indexing, agent participation, etc."^^xsd:string ;
    rdfs:subClassOf rdfs:Resource ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype xsd:dateTime ;
            sh:description "Event start timestamp."^^xsd:string ;
            sh:maxCount 1 ;
            sh:name "start"^^xsd:string ;
            sh:path rec:start ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:name "timestamp"^^xsd:string ;
            sh:path rec:timestamp ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:dateTime ;
            sh:description "Event ending timestamp."^^xsd:string ;
            sh:maxCount 1 ;
            sh:name "end"^^xsd:string ;
            sh:path rec:end ] .