Ontology Version: 2.2.0

cacontology-registry:RecidivismPostRegistrationBusinessRule leaf node


URI

https://cacontology.projectvic.org/sex-offender-registry#RecidivismPostRegistrationBusinessRule

Label

Recidivism Post-Registration Business Rule

Description

Business rule: a recidivist sex offender SHOULD have at least one postRegistrationEvent linked to post-registration abuse/CSAM incidents.

Shape Properties

Instances of cacontology-registry:RecidivistSexOffender can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-registry:RecidivistSexOffender
cacontology-registry:postRegistrationEvent 0 cacontology1:ChildSexualAbuseEvent
cacontology-registry:RegisteredSexOffender
cacontology-registry:dateOfBirth 1 1 xsd:date
cacontology-registry:fullName 1 1 xsd:string
cacontology-registry:registeredIn 1 cacontology-registry:SexOffenderRegistry
cacontology-registry:sex 1 1 xsd:string
cacontology-registry:socialSecurityNumber 0 1 xsd:string
uco-identity:Person
cacontology-enterprises:participatesInCoercion cacontology-enterprises:SelfHarmCoercion
cacontology-enterprises:participatesInRecruitment cacontology-enterprises:ContentBasedRecruitment

Implementation

@prefix cacontology-registry: <https://cacontology.projectvic.org/sex-offender-registry#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-registry:RecidivismPostRegistrationBusinessRule a sh:NodeShape ;
    rdfs:label "Recidivism Post-Registration Business Rule"@en ;
    rdfs:comment "Business rule: a recidivist sex offender SHOULD have at least one postRegistrationEvent linked to post-registration abuse/CSAM incidents."@en ;
    sh:sparql [ sh:message "Recidivist sex offenders should have at least one postRegistrationEvent representing post-registration abuse or CSAM incidents."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-registry:RecidivistSexOffender .
                FILTER NOT EXISTS {
                    $this cacontology-registry:postRegistrationEvent ?event .
                }
            }
        """ ] ;
    sh:targetClass cacontology-registry:RecidivistSexOffender .