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.

Shapes (1)

Usage

Instances of rec:Event can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

By the associated SHACL property shapes, instances of rec:Event can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
rec:Event
rec:end owl:DatatypeProperty end
Event ending timestamp.
0 1 xsd:dateTime --
rec:start owl:DatatypeProperty start
Event start timestamp.
0 1 xsd:dateTime --
rec:timestamp owl:DatatypeProperty 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 ] .