Ontology Version: 3.0.0

cacontology-physical-shapes:SearchParticipationShape leaf node


URI

https://cacontology.projectvic.org/physical/shapes#SearchParticipationShape

Label

Search Participation Shape

Description

Validates gUFO participation constraints for search events.

Shape Properties

Instances of cacontology-physical:PhysicalSearch can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-physical:PhysicalSearch
cacontology-physical:hasSearchCompleteness 1 xsd:double
cacontology-physical:hasSearchEfficiency 1 xsd:double
cacontology-physical:hasSearchThoroughness 1 xsd:string
cacontology-physical:searchDuration 1 1 xsd:decimal
cacontology-physical:searchScope 1 1 xsd:string

Implementation

@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-physical-shapes:SearchParticipationShape a sh:NodeShape ;
    rdfs:label "Search Participation Shape"@en ;
    rdfs:comment "Validates gUFO participation constraints for search events."@en ;
    sh:sparql [ sh:message "Search events must involve at least one searching officer (gUFO participation constraint)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this rdf:type cacontology-physical:PhysicalSearch .
                FILTER NOT EXISTS {
                    $this cacontology-physical:searchingOfficer ?officer .
                }
            }
        """ ] ;
    sh:targetClass cacontology-physical:PhysicalSearch .