Ontology Version: 2.2.0

cacontology-asset-forfeiture:CriminalAssetsConfiscationTaskforceShape leaf node


URI

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

Label

Criminal Assets Confiscation Taskforce Shape

Description

Enhanced validation shape for CACT with gUFO Organization validation and operational framework validation.

Shape Properties

Instances of cacontology-asset-forfeiture:CriminalAssetsConfiscationTaskforce can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-asset-forfeiture: <https://cacontology.projectvic.org/asset-forfeiture#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-asset-forfeiture:CriminalAssetsConfiscationTaskforceShape a sh:NodeShape ;
    rdfs:label "Criminal Assets Confiscation Taskforce Shape"@en ;
    rdfs:comment "Enhanced validation shape for CACT with gUFO Organization validation and operational framework validation."@en ;
    sh:property [ sh:hasValue gufo:Organization ;
            sh:message "CACT must be instance of gUFO Organization"@en ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "CACT must have a name (5-200 characters)"@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-asset-forfeiture:AuthorityValidationError . }
            WHERE {
                $this a cacontology-asset-forfeiture:CriminalAssetsConfiscationTaskforce .
                FILTER NOT EXISTS { 
                    $this cacontology-asset-forfeiture:hasLegalAuthority ?authority .
                    ?authority cacontology-asset-forfeiture:authorityType "asset_confiscation" .
                }
            }
        """ ;
            sh:message "CACT must have appropriate legal authority for asset confiscation"@en ;
            sh:prefixes cacontology-asset-forfeiture: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-asset-forfeiture:CriminalAssetsConfiscationTaskforce .