Ontology Version: 3.1.0

cacontology-platforms:AffordanceMisuseShape leaf node


URI

https://cacontology.projectvic.org/platforms#AffordanceMisuseShape

Label

Affordance Misuse Shape

Description

Validation shape for transition-level platform affordance misuse annotations.

Targets (1)

Property Constraints (5)

Focus nodes of this shape (cacontology-platforms:AffordanceMisuse) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-platforms:affordanceClass The platform affordance category misused to enable the transition.
sh:message Affordance misuse must specify exactly one affordance class.
1 1 cacontology-platforms:PlatformAffordance
cacontology-platforms:enablesTransitionFrom Phase instance from which the affordance-enabled transition originates.
sh:message Affordance misuse must specify the source phase via enablesTransitionFrom.
1 1 cac-core:Phase
cacontology-platforms:enablesTransitionTo Phase instance to which the affordance-enabled transition leads.
sh:message Affordance misuse must specify the target phase via enablesTransitionTo.
1 1 cac-core:Phase
cacontology-platforms:misuseDescription Narrative description of how the affordance was misused to enable the phase transition.
sh:message Affordance misuse must include a misuse description of at least 10 characters.
1 1 xsd:string
sh:minLength 10
cacontology-platforms:platform Optional platform instance that carried the misused affordance.
sh:message Optional platform instance may be specified at most once.
0 1 uco-observable:DigitalService

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-platforms:AffordanceMisuseShape a sh:NodeShape ;
    rdfs:label "Affordance Misuse Shape"@en ;
    rdfs:comment "Validation shape for transition-level platform affordance misuse annotations."@en ;
    sh:property [ sh:class cacontology-platforms:PlatformAffordance ;
            sh:maxCount 1 ;
            sh:message "Affordance misuse must specify exactly one affordance class."@en ;
            sh:minCount 1 ;
            sh:path cacontology-platforms:affordanceClass ],
        [ sh:class cac-core:Phase ;
            sh:maxCount 1 ;
            sh:message "Affordance misuse must specify the source phase via enablesTransitionFrom."@en ;
            sh:minCount 1 ;
            sh:path cacontology-platforms:enablesTransitionFrom ],
        [ sh:class cac-core:Phase ;
            sh:maxCount 1 ;
            sh:message "Affordance misuse must specify the target phase via enablesTransitionTo."@en ;
            sh:minCount 1 ;
            sh:path cacontology-platforms:enablesTransitionTo ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Affordance misuse must include a misuse description of at least 10 characters."@en ;
            sh:minCount 1 ;
            sh:minLength 10 ;
            sh:path cacontology-platforms:misuseDescription ],
        [ sh:class uco-observable:DigitalService ;
            sh:maxCount 1 ;
            sh:message "Optional platform instance may be specified at most once."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:platform ] ;
    sh:targetClass cacontology-platforms:AffordanceMisuse .