Ontology Version: 3.1.0

cacontology-sextortion:InternationalCoordinationShape leaf node


URI

https://cacontology.projectvic.org/sextortion#InternationalCoordinationShape

Label

International Coordination Shape

Description

Validation shape for international coordination instances.

Targets (1)

  • cacontology-sextortion:InternationalCoordination sh:targetClass

Property Constraints (3)

Focus nodes of this shape (cacontology-sextortion:InternationalCoordination) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-sextortion:coordinationEffectiveness
sh:message Coordination effectiveness must be from the allowed list.
0 1 xsd:string
sh:in poor, limited, moderate, good, excellent, exemplary
cacontology-sextortion:coordinationType
sh:message International coordination must specify coordination type from the allowed list.
1 1 xsd:string
sh:in bilateral, multilateral, regional, global, ad_hoc, formal_treaty
cacontology-sextortion:countriesInvolved
sh:message International coordination must involve between 2 and 50 countries.
1 1 xsd:nonNegativeInteger
sh:minInclusive 2
sh:maxInclusive 50

Implementation

@prefix cacontology-sextortion: <https://cacontology.projectvic.org/sextortion#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-sextortion:InternationalCoordinationShape a sh:NodeShape ;
    rdfs:label "International Coordination Shape"@en ;
    rdfs:comment "Validation shape for international coordination instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "bilateral" "multilateral" "regional" "global" "ad_hoc" "formal_treaty" ) ;
            sh:maxCount 1 ;
            sh:message "International coordination must specify coordination type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sextortion:coordinationType ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 50 ;
            sh:message "International coordination must involve between 2 and 50 countries."@en ;
            sh:minCount 1 ;
            sh:minInclusive 2 ;
            sh:path cacontology-sextortion:countriesInvolved ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "limited" "moderate" "good" "excellent" "exemplary" ) ;
            sh:maxCount 1 ;
            sh:message "Coordination effectiveness must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-sextortion:coordinationEffectiveness ] ;
    sh:targetClass cacontology-sextortion:InternationalCoordination .