Ontology Version: 3.0.0

cacontology-physical-shapes:ProcurementEventTemporalShape leaf node


URI

https://cacontology.projectvic.org/physical/shapes#ProcurementEventTemporalShape

Label

Procurement Event Temporal Shape

Description

Validates gUFO temporal constraints for procurement events.

Shape Properties

Instances of cacontology-physical:CriminalProcurement can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-physical:CriminalProcurement
cacontology-physical:hasAcquisitionRisk 1 xsd:string
cacontology-physical:hasProcurementSuspicion 1 xsd:string
cacontology-physical:hasTraceability 1 xsd:double
cacontology-physical:paymentMethod 0 1 xsd:string
cacontology-physical:procurementCost 0 1 xsd:decimal
cacontology-physical:procurementMethod 1 1 xsd:string

Implementation

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