Ontology Version: 2.2.0

cacontology-legal-shapes:LegislativeAssessmentShape leaf node


URI

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

Label

Legislative Assessment Shape

Description

Enhanced shape for legislative assessments with reliability assessment. - Assessment must have creation timestamp. - Compliance score must be between 0.0 and 1.0.

Shape Properties

Instances of cacontology-legal:LegislativeAssessment can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:LegislativeAssessment
cacontology-legal:hasAssessmentReliability 1 xsd:double
cacontology-legal:hasDataQuality 1 xsd:string
cacontology-legal:legislativeCompliance 1 1 xsd:decimal
1
1 1 xsd:dateTime

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:LegislativeAssessmentShape a sh:NodeShape ;
    rdfs:label "Legislative Assessment Shape"@en ;
    rdfs:comment "Enhanced shape for legislative assessments with reliability assessment."@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:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Assessment reliability should be measured"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-legal:hasAssessmentReliability ;
            sh:severity sh:Info ],
        [ 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 "Compliance score must be between 0.0 and 1.0."@en ;
            sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:minCount 1 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-legal:legislativeCompliance ],
        [ rdfs:comment "Assessment must have creation timestamp."@en ;
            sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path uco-core:createdTime ] ;
    sh:targetClass cacontology-legal:LegislativeAssessment .