Ontology Version: 2.2.0

cacontology-stranger:AbductionCrossReferenceShape leaf node


URI

https://cacontology.projectvic.org/stranger-abduction#AbductionCrossReferenceShape

Label

Abduction Cross Reference Shape

Description

Validates cross-references between abduction and related entities.

Implementation

@prefix cacontology-stranger: <https://cacontology.projectvic.org/stranger-abduction#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-stranger:AbductionCrossReferenceShape a sh:NodeShape ;
    rdfs:label "Abduction Cross Reference Shape"@en ;
    rdfs:comment "Validates cross-references between abduction and related entities."@en ;
    sh:sparql [ sh:message "Stranger abduction must involve abductor and use method."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-stranger:StrangerAbduction .
                FILTER NOT EXISTS {
                    $this cacontology-stranger:involvesAbductor ?abductor ;
                          cacontology-stranger:usesMethod ?method .
                }
            }
        """ ] ;
    sh:targetClass cacontology-stranger:StrangerAbduction .