Ontology Version: 2.7.0

cacontology-usa-leg-shapes:USStateAttorneyGeneralShape leaf node


URI

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

Label

U.S. State Attorney General Shape

Description

Validates U.S. state attorney general office instances.

Shape Properties

Instances of cacontology-usa-leg:USStateAttorneyGeneral can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-usa-leg:USStateAgency
cacontology-legal:jurisdictionScope 1
1 rdf:langString

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:USStateAttorneyGeneralShape a sh:NodeShape ;
    rdfs:label "U.S. State Attorney General Shape"@en ;
    rdfs:comment "Validates U.S. state attorney general office instances."@en ;
    sh:property [ sh:datatype rdf:langString ;
            sh:message "State Attorney General office must have a label"@en ;
            sh:minCount 1 ;
            sh:path rdfs:label ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-usa-leg:USStateAttorneyGeneral .