Ontology Version: 3.1.0

cacontology-usa-leg-shapes:LegislativeStageShape leaf node


URI

https://cacontology.projectvic.org/usa-legislative/shapes#LegislativeStageShape

Label

Legislative Stage Shape

Description

Validates U.S. legislative stage instances as gUFO Phases.

Targets (1)

Property Constraints (3)

Focus nodes of this shape (cacontology-usa-leg:LegislativeStage) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-usa-leg:isFinal Whether this stage is a final/terminal stage.
sh:message Legislative stage may indicate if it is a final stage
0 1 xsd:boolean
sh:severity sh:Info
cacontology-usa-leg:stageOrder Ordinal position of legislative stage in the process.
sh:message Legislative stage should have a stage order (1-10)
1 1 xsd:integer
sh:minInclusive 1
sh:maxInclusive 10
sh:severity sh:Warning
rdfs:label
sh:message Legislative stage must have a label
1 * rdf:langString
sh:severity sh:Violation

Implementation

@prefix cacontology-usa-leg: <https://cacontology.projectvic.org/usa-legislative#> .
@prefix cacontology-usa-leg-shapes: <https://cacontology.projectvic.org/usa-legislative/shapes#> .
@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-usa-leg-shapes:LegislativeStageShape a sh:NodeShape ;
    rdfs:label "Legislative Stage Shape"@en ;
    rdfs:comment "Validates U.S. legislative stage instances as gUFO Phases."@en ;
    sh:property [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Legislative stage should have a stage order (1-10)"@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-usa-leg:stageOrder ;
            sh:severity sh:Warning ],
        [ sh:datatype rdf:langString ;
            sh:message "Legislative stage must have a label"@en ;
            sh:minCount 1 ;
            sh:path rdfs:label ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Legislative stage may indicate if it is a final stage"@en ;
            sh:path cacontology-usa-leg:isFinal ;
            sh:severity sh:Info ] ;
    sh:targetClass cacontology-usa-leg:LegislativeStage .