Ontology Version: 3.1.0

cacontology-institutional:CrossBorderPersonalTravelShape leaf node


URI

https://cacontology.projectvic.org/institutional-exploitation#CrossBorderPersonalTravelShape

Label

Cross Border Personal Travel Shape

Description

Validation shape for cross-border travel instances with gUFO integration.

Property Constraints (3)

Focus nodes of this shape (cacontology-institutional:CrossBorderPersonalTravel) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-institutional:hasTravelDate Date of cross-border travel (gUFO temporal boundary).
sh:message Cross-border travel must have travel date (gUFO temporal boundary)
1 1 xsd:dateTime
cacontology-institutional:travelsFrom Links travel to origin country.
sh:message Travel must specify origin location.
1 1 uco-location:Location
cacontology-institutional:travelsTo Links travel to destination country.
sh:message Travel must specify destination location.
1 1 uco-location:Location

Implementation

@prefix cacontology-institutional: <https://cacontology.projectvic.org/institutional-exploitation#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-location: <https://ontology.unifiedcyberontology.org/uco/location/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-institutional:CrossBorderPersonalTravelShape a sh:NodeShape ;
    rdfs:label "Cross Border Personal Travel Shape"@en ;
    rdfs:comment "Validation shape for cross-border travel instances with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Cross-border travel must have travel date (gUFO temporal boundary)"@en ;
            sh:minCount 1 ;
            sh:path cacontology-institutional:hasTravelDate ],
        [ sh:class uco-location:Location ;
            sh:maxCount 1 ;
            sh:message "Travel must specify origin location."@en ;
            sh:minCount 1 ;
            sh:path cacontology-institutional:travelsFrom ],
        [ sh:class uco-location:Location ;
            sh:maxCount 1 ;
            sh:message "Travel must specify destination location."@en ;
            sh:minCount 1 ;
            sh:path cacontology-institutional:travelsTo ] ;
    sh:targetClass cacontology-institutional:CrossBorderPersonalTravel .