Ontology Version: 2.2.0

cacontology-sextortion:AgeDeceptionValidationShape leaf node


URI

https://cacontology.projectvic.org/sextortion#AgeDeceptionValidationShape

Label

Age Deception Validation Shape

Description

Validates age deception consistency.

Implementation

@prefix cacontology-sextortion: <https://cacontology.projectvic.org/sextortion#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-sextortion:AgeDeceptionValidationShape a sh:NodeShape ;
    rdfs:label "Age Deception Validation Shape"@en ;
    rdfs:comment "Validates age deception consistency."@en ;
    sh:sparql [ sh:message "Claimed age should be lower than actual age in age deception."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-sextortion:claimedAge ?claimed ;
                      cacontology-sextortion:actualAge ?actual .
                FILTER (?claimed >= ?actual)
            }
        """ ] ;
    sh:targetClass cacontology-sextortion:AgeDeception .