Ontology Version: 2.2.0

cacontology-ai:DetectionSequenceValidationShape leaf node


URI

https://cacontology.projectvic.org/ai-generated#DetectionSequenceValidationShape

Label

Detection Sequence Validation Shape

Description

Enhanced validation that detection gUFO Events occur after content generation gUFO Events.

Shape Properties

Instances of cacontology-ai:AIContentDetection can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-ai:AIContentDetection
cacontology-ai:detectionConfidence 0 1 xsd:decimal
cacontology-ai:detectionMethod 0 1 xsd:string
cacontology-ai:evidenceAdmissibility 0 1 xsd:string
cacontology-ai:processingTime 0 1 xsd:decimal
cacontology-gufo:detectionTimePoint 1 xsd:dateTime
1 1 xsd:dateTime

Implementation

@prefix cacontology-ai: <https://cacontology.projectvic.org/ai-generated#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-ai:DetectionSequenceValidationShape a sh:NodeShape ;
    rdfs:label "Detection Sequence Validation Shape"@en ;
    rdfs:comment "Enhanced validation that detection gUFO Events occur after content generation gUFO Events."@en ;
    sh:sparql [ sh:message "AI content detection gUFO Events should occur after content generation gUFO Events."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-ai:AIContentDetection ;
                      a gufo:Event ;
                      cacontology-gufo:detectionTimePoint ?detectionTime .
                ?content cacontology-ai:detectedBy $this ;
                         cacontology-ai:generatedUsing ?generation .
                ?generation a gufo:Event ;
                           cacontology-gufo:aiGenerationTimePoint ?generationTime .
                FILTER (?detectionTime < ?generationTime)
            }
        """ ] ;
    sh:targetClass cacontology-ai:AIContentDetection .