https://cacontology.projectvic.org/physical/shapes#SearchEventTimingShape
Validates search event timing consistency.
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
|
|
@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:SearchEventTimingShape a sh:NodeShape ;
rdfs:label "Search Event Timing Shape"@en ;
rdfs:comment "Validates search event timing consistency."@en ;
sh:sparql [ sh:message "Search events should occur after procurement events for the same evidence."@en ;
sh:select """
SELECT $this
WHERE {
?evidence cacontology-physical:seizedDuring $this ;
cacontology-physical:procuredBy ?procurement .
?procurement cacontology-physical:procurementDate ?procurementDate .
$this cacontology-physical:hasSearchBeginPoint ?searchDate .
FILTER (?searchDate < ?procurementDate)
}
""" ] ;
sh:targetClass cacontology-physical:PhysicalSearch .