Ontology Version: 2.2.0

cacontology-grooming:SexualConsequenceGameBusinessRule leaf node


URI

https://cacontology.projectvic.org/grooming#SexualConsequenceGameBusinessRule

Label

Sexual Consequence Game Business Rule

Description

Business rule: when multiple juveniles participate in a sexual consequence game, a gameContext SHOULD be recorded (Utah Christensen case modeling).

Shape Properties

Instances of cacontology-grooming:SexualConsequenceGameGrooming can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-grooming:SexualConsequenceGameGrooming
cacontology-grooming:gameContext 0 1 xsd:string
cacontology-grooming:participantCount 0 1 xsd:nonNegativeInteger
cacontology-grooming:ruleStructureDescription 0 1 xsd:string
cacontology-grooming:GroomingBehavior
0 1 xsd:string
0 1 xsd:string
1 1 xsd:string
1 xsd:double
cacontology-grooming:groomingStage 1 1 xsd:string
1 xsd:string
1 xsd:dateTimeStamp
1 xsd:dateTimeStamp
0 1 xsd:dateTime
0 1 xsd:dateTime

Implementation

@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-grooming:SexualConsequenceGameBusinessRule a sh:NodeShape ;
    rdfs:label "Sexual Consequence Game Business Rule"@en ;
    rdfs:comment "Business rule: when multiple juveniles participate in a sexual consequence game, a gameContext SHOULD be recorded (Utah Christensen case modeling)."@en ;
    sh:sparql [ sh:message "Sexual consequence games with more than one juvenile participant SHOULD specify a gameContext (e.g., sleepover, peer_group)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-grooming:participantCount ?count .
                FILTER (?count > 1)
                FILTER NOT EXISTS {
                    $this cacontology-grooming:gameContext ?ctx .
                }
            }
        """ ] ;
    sh:targetClass cacontology-grooming:SexualConsequenceGameGrooming .