Ontology Version: 2.2.0

cacontology-grooming:OnlineToOfflineProgressionShape leaf node


URI

https://cacontology.projectvic.org/grooming#OnlineToOfflineProgressionShape

Label

Online to Offline Progression Shape

Description

Validation shape for online to offline progression instances with gUFO integration.

Shape Properties

Instances of cacontology-grooming:OnlineToOfflineProgression can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-grooming:OnlineToOfflineProgression
cacontology-grooming:progressionDuration 1 1 xsd:nonNegativeInteger
0 1 xsd:nonNegativeInteger
1 xsd:double
1 1 xsd:dateTimeStamp
cacontology-grooming:EscalationPattern
0 1 xsd:decimal
1 xsd:double
1 1 xsd:string
1 1 xsd:string
cacontology-grooming:patternConfidence 0 1 xsd:decimal
1 xsd:dateTimeStamp
1 xsd:dateTimeStamp

Implementation

@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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-grooming:OnlineToOfflineProgressionShape a sh:NodeShape ;
    rdfs:label "Online to Offline Progression Shape"@en ;
    rdfs:comment "Validation shape for online to offline progression instances with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Online to offline progression must have begin timestamp (gUFO temporal)"@en ;
            sh:minCount 1 ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 365 ;
            sh:message "Online to offline progression duration must be between 1 and 365 days."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-grooming:progressionDuration ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Progression stages must be between 2 and 10 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 2 ;
            sh:path cacontology-grooming:progressionStages ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Transition likelihood must be between 0.0 and 1.0 (gUFO quality aspect)"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:transitionLikelihood ] ;
    sh:targetClass cacontology-grooming:OnlineToOfflineProgression .