Ontology Version: 3.1.0

cacontology-legal-shapes:CSAMModelLawShape leaf node


URI

https://cacontology.projectvic.org/legal-harmonization/shapes#CSAMModelLawShape

Label

CSAM Model Law Shape

Description

Enhanced validation shape for CSAM model legislation with gUFO quality aspects. - Model law must have detailed description. - Model law must have a descriptive name. - Legal system type for model law applicability.

Targets (1)

Property Constraints (6)

Focus nodes of this shape (cacontology-legal:CSAMModelLaw) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-legal:hasDataQuality Data quality assessment (poor, fair, good, excellent, validated) - gUFO quality aspect.
sh:message Data quality should be assessed
0 1 xsd:string
sh:in poor, fair, good, excellent, validated
sh:severity sh:Info
cacontology-legal:hasLegalEffectiveness Legal effectiveness assessment (ineffective, limited, moderate, effective, highly_effective) - gUFO quality aspect.
sh:message Legal effectiveness should be assessed
0 1 xsd:string
sh:in ineffective, limited, moderate, effective, highly_effective
sh:severity sh:Warning
cacontology-legal:legalSystemType Type of legal system (common_law, civil_law, religious_law, mixed). 0 1 xsd:string
sh:in common_law, civil_law, religious_law, mixed, universal
rdf:type
sh:message Must be classified as gUFO Kind
1 *
sh:hasValue gufo:Kind
sh:severity sh:Violation
uco-core:description 1 * xsd:string
sh:minLength 50
sh:maxLength 2000
uco-core:name 1 1 xsd:string
sh:minLength 5
sh:maxLength 200

Implementation

@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@prefix cacontology-legal-shapes: <https://cacontology.projectvic.org/legal-harmonization/shapes#> .
@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-legal-shapes:CSAMModelLawShape a sh:NodeShape ;
    rdfs:label "CSAM Model Law Shape"@en ;
    rdfs:comment "Enhanced validation shape for CSAM model legislation with gUFO quality aspects."@en ;
    sh:property [ sh:hasValue gufo:Kind ;
            sh:message "Must be classified as gUFO Kind"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:string ;
            sh:in ( "ineffective" "limited" "moderate" "effective" "highly_effective" ) ;
            sh:maxCount 1 ;
            sh:message "Legal effectiveness should be assessed"@en ;
            sh:path cacontology-legal:hasLegalEffectiveness ;
            sh:severity sh:Warning ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "fair" "good" "excellent" "validated" ) ;
            sh:maxCount 1 ;
            sh:message "Data quality should be assessed"@en ;
            sh:path cacontology-legal:hasDataQuality ;
            sh:severity sh:Info ],
        [ rdfs:comment "Model law must have a descriptive name."@en ;
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ],
        [ rdfs:comment "Model law must have detailed description."@en ;
            sh:datatype xsd:string ;
            sh:maxLength 2000 ;
            sh:minCount 1 ;
            sh:minLength 50 ;
            sh:path uco-core:description ],
        [ rdfs:comment "Legal system type for model law applicability."@en ;
            sh:datatype xsd:string ;
            sh:in ( "common_law" "civil_law" "religious_law" "mixed" "universal" ) ;
            sh:maxCount 1 ;
            sh:path cacontology-legal:legalSystemType ] ;
    sh:targetClass cacontology-legal:CSAMModelLaw .