Ontology Version: 3.1.0

cacontology-asset-forfeiture:PropertyRestraintActionShape leaf node


URI

https://cacontology.projectvic.org/asset-forfeiture#PropertyRestraintActionShape

Label

Property Restraint Action Shape

Description

Enhanced validation shape for property restraint actions with gUFO Event validation and restraint temporal modeling.

Property Constraints (1)

Focus nodes of this shape (cacontology-asset-forfeiture:PropertyRestraintAction) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-gufo:restraintBeginTime Temporal point when property restraint order is issued using gUFO temporal framework.
sh:message Property restraint action must specify restraint begin time
1 1 xsd:dateTime

Implementation

@prefix cacontology-asset-forfeiture: <https://cacontology.projectvic.org/asset-forfeiture#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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-asset-forfeiture:PropertyRestraintActionShape a sh:NodeShape ;
    rdfs:label "Property Restraint Action Shape"@en ;
    rdfs:comment "Enhanced validation shape for property restraint actions with gUFO Event validation and restraint temporal modeling."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Property restraint action must specify restraint begin time"@en ;
            sh:minCount 1 ;
            sh:path cacontology-gufo:restraintBeginTime ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-asset-forfeiture:PhaseTransitionError . }
            WHERE {
                $this a cacontology-asset-forfeiture:PropertyRestraintAction .
                FILTER NOT EXISTS { 
                    $this cacontology-asset-forfeiture:currentPhase ?phase ;
                    ?phase a cacontology-asset-forfeiture:RestraintPhase .
                }
            }
        """ ;
            sh:message "Property restraint should transition to restraint phase"@en ;
            sh:prefixes cacontology-asset-forfeiture: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-asset-forfeiture:PropertyRestraintAction .