Ontology Version: 3.0.0

cacontology:ChildSexualAbuseEventShape leaf node


URI

https://cacontology.projectvic.org#ChildSexualAbuseEventShape

Label

Child Sexual Abuse Event Shape

Shape Properties

Instances of cacontology:ChildSexualAbuseEvent can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology: <https://cacontology.projectvic.org#> .
@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:ChildSexualAbuseEventShape a sh:NodeShape ;
    rdfs:label "Child Sexual Abuse Event Shape"@en ;
    sh:sparql [ sh:message "Criminal event must involve victim and offender roles"@en ;
            sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org#"^^xsd:anyURI ;
                            sh:prefix "cacontology" ] ] ;
            sh:select """
            SELECT ?this
            WHERE {
                ?this a cacontology:ChildSexualAbuseEvent .
                FILTER NOT EXISTS {
                    ?victimRole a cacontology:VictimRole ;
                               cacontology:participatesInEvent ?this .
                } FILTER NOT EXISTS {
                    ?offenderRole a cacontology:OffenderRole ;
                                 cacontology:participatesInEvent ?this .
                }
            }
        """ ] ;
    sh:targetClass cacontology:ChildSexualAbuseEvent .