https://cacontology.projectvic.org/usa-legislative/shapes#USCongressionalCommitteeShape
Validates U.S. congressional committee instances.
Focus nodes of this shape (cacontology-usa-leg:USCongressionalCommittee) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-legal:jurisdictionScope | Indicates the country/region where this concept applies. Use ISO 3166-1 alpha-2 codes (US, GB, AU, etc.) or 'international' for universal concepts. sh:message Congressional committee should have jurisdiction scope 'US' |
1 | * |
sh:hasValue
US
sh:severity
sh:Warning
|
|
| cacontology-usa-leg:chamber | Congressional chamber (house or senate). sh:message Congressional committee must specify chamber (house or senate) |
1 | 1 | xsd:string |
sh:in
house, senate
sh:severity
sh:Violation
|
rdfs:label |
sh:message Congressional committee must have a label |
1 | * | rdf:langString |
sh:severity
sh:Violation
|
@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@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:USCongressionalCommitteeShape a sh:NodeShape ;
rdfs:label "U.S. Congressional Committee Shape"@en ;
rdfs:comment "Validates U.S. congressional committee instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "house" "senate" ) ;
sh:maxCount 1 ;
sh:message "Congressional committee must specify chamber (house or senate)"@en ;
sh:minCount 1 ;
sh:path cacontology-usa-leg:chamber ;
sh:severity sh:Violation ],
[ sh:datatype rdf:langString ;
sh:message "Congressional committee must have a label"@en ;
sh:minCount 1 ;
sh:path rdfs:label ;
sh:severity sh:Violation ],
[ sh:hasValue "US" ;
sh:message "Congressional committee should have jurisdiction scope 'US'"@en ;
sh:minCount 1 ;
sh:path cacontology-legal:jurisdictionScope ;
sh:severity sh:Warning ] ;
sh:targetClass cacontology-usa-leg:USCongressionalCommittee .