Ontology Version: 2.2.0

cacontology-partnerships-shapes:CooperationEventTemporalShape leaf node


URI

https://cacontology.projectvic.org/partnerships/shapes#CooperationEventTemporalShape

Label

Cooperation Event Temporal Shape

Description

Validates gUFO temporal constraints for cooperation events.

Shape Properties

Instances of cacontology-partnerships:TechnologyCooperation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-partnerships: <https://cacontology.projectvic.org/partnerships#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-partnerships-shapes:CooperationEventTemporalShape a sh:NodeShape ;
    rdfs:label "Cooperation Event Temporal Shape"@en ;
    rdfs:comment "Validates gUFO temporal constraints for cooperation events."@en ;
    sh:sparql [ sh:message "gUFO Events must have consistent temporal boundaries with end after start."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this gufo:hasBeginPointInXSDDateTimeStamp ?start ;
                      gufo:hasEndPointInXSDDateTimeStamp ?end .
                FILTER (?end <= ?start)
            }
        """ ] ;
    sh:targetClass cacontology-partnerships:TechnologyCooperation .