Ontology Version: 3.1.0

cacontology-usa-federal:CEOSAttorneyRoleShape leaf node


URI

https://cacontology.projectvic.org/usa-federal-law#CEOSAttorneyRoleShape

Label

CEOSAttorneyRoleShape

Targets (1)

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-usa-federal:roleExperience Years of experience in federal legal role (gUFO quality aspect).
sh:message CEOS attorney must have at least 2 years experience
0 1 xsd:integer
sh:minInclusive 2
cacontology-usa-federal:roleSpecialization Area of specialization for federal legal role (gUFO quality aspect).
sh:message CEOS attorney must specialize in child-exploitation or obscenity
1 * xsd:string
sh:in child-exploitation, obscenity

Implementation

@prefix cacontology-usa-federal: <https://cacontology.projectvic.org/usa-federal-law#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-usa-federal:CEOSAttorneyRoleShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "child-exploitation" "obscenity" ) ;
            sh:message "CEOS attorney must specialize in child-exploitation or obscenity"@en ;
            sh:minCount 1 ;
            sh:path cacontology-usa-federal:roleSpecialization ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:message "CEOS attorney must have at least 2 years experience"@en ;
            sh:minInclusive 2 ;
            sh:path cacontology-usa-federal:roleExperience ] ;
    sh:targetClass cacontology-usa-federal:CEOSAttorneyRole .