Ontology Version: 2.2.0

cacontology-temporal-shapes:SuspensionEventShape leaf node


URI

https://cacontology.projectvic.org/temporal/shapes#SuspensionEventShape

Label

Suspension Event Shape

Description

Validates links from SuspensionEvent to the suspended investigation and the created suspension situation.

Shape Properties

Instances of cacontology-temporal:SuspensionEvent can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-temporal:SuspensionEvent
cacontology-temporal:createsSuspension 1 1 cacontology-temporal:SuspendedSituation
cacontology-temporal:suspends 1 1 cacontology-gufo:Investigation

Implementation

@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@prefix cacontology-temporal: <https://cacontology.projectvic.org/temporal#> .
@prefix cacontology-temporal-shapes: <https://cacontology.projectvic.org/temporal/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-temporal-shapes:SuspensionEventShape a sh:NodeShape ;
    rdfs:label "Suspension Event Shape"@en ;
    rdfs:comment "Validates links from SuspensionEvent to the suspended investigation and the created suspension situation."@en ;
    sh:property [ sh:class cacontology-gufo:Investigation ;
            sh:maxCount 1 ;
            sh:message "SuspensionEvent must suspend exactly one cacontology-gufo:Investigation."@en ;
            sh:minCount 1 ;
            sh:path cacontology-temporal:suspends ],
        [ sh:class cacontology-temporal:SuspendedSituation ;
            sh:maxCount 1 ;
            sh:message "SuspensionEvent must create exactly one SuspendedSituation."@en ;
            sh:minCount 1 ;
            sh:path cacontology-temporal:createsSuspension ] ;
    sh:targetClass cacontology-temporal:SuspensionEvent .