Ontology Version: 2.2.0

cacontology-usa-federal:ChildPornographyProductionShape leaf node


URI

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

Label

ChildPornographyProductionShape

Shape Properties

Instances of cacontology-usa-federal:ChildPornographyProduction can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-usa-federal:ChildPornographyProduction
cacontology-usa-federal:crimeJurisdiction 1 xsd:string
cacontology-usa-federal:crimeSeverityLevel 1 xsd:integer
cacontology-usa-federal:mandatoryMinimumSentence 1 xsd:integer
1 1 xsd:dateTimeStamp

Implementation

@prefix cacontology-usa-federal: <https://cacontology.projectvic.org/usa-federal-law#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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:ChildPornographyProductionShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Child pornography production must have exactly one begin timestamp"@en ;
            sh:minCount 1 ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:message "Child pornography production has mandatory minimum of 15 years"@en ;
            sh:minInclusive 15 ;
            sh:path cacontology-usa-federal:mandatoryMinimumSentence ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 5 ;
            sh:message "Child pornography production severity level must be 4 or 5"@en ;
            sh:minInclusive 4 ;
            sh:path cacontology-usa-federal:crimeSeverityLevel ],
        [ sh:datatype xsd:string ;
            sh:in ( "interstate-commerce" "foreign-commerce" "federal-jurisdiction" ) ;
            sh:message "Must specify federal jurisdiction basis"@en ;
            sh:minCount 1 ;
            sh:path cacontology-usa-federal:crimeJurisdiction ] ;
    sh:targetClass cacontology-usa-federal:ChildPornographyProduction .