https://cacontology.projectvic.org/detection#DetectionActionGUFOShape
Validates detection actions as gUFO Events with temporal boundaries.
Focus nodes of this shape (cacontology-detection:AutomatedDetectionAction, cacontology-detection:ContentHashingAction, cacontology-detection:DatabaseMatchAction, cacontology-detection:FalsePositiveAnalysisAction, cacontology-detection:ManualClassificationAction, cacontology-detection:RiskStratificationAction) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-detection:hasDetectionBeginPoint | Temporal begin point for detection action. sh:message Detection action can have at most one begin point |
0 | 1 | xsd:dateTimeStamp | |
| cacontology-detection:hasDetectionEndPoint | Temporal end point for detection action. sh:message Detection action can have at most one end point |
0 | 1 | xsd:dateTimeStamp |
@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:DetectionActionGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Detection Action Shape"@en ;
rdfs:comment "Validates detection actions as gUFO Events with temporal boundaries."@en ;
sh:property [ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Detection action can have at most one begin point"@en ;
sh:path cacontology-detection:hasDetectionBeginPoint ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Detection action can have at most one end point"@en ;
sh:path cacontology-detection:hasDetectionEndPoint ] ;
sh:sparql [ sh:message "Detection begin point must precede end point"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/detection#"^^xsd:anyURI ;
sh:prefix "cacontology-detection" ] ] ;
sh:select """
PREFIX cacontology-detection: <https://cacontology.projectvic.org/detection#>
SELECT ?this
WHERE {
?this cacontology-detection:hasDetectionBeginPoint ?begin ;
cacontology-detection:hasDetectionEndPoint ?end .
FILTER (?begin >= ?end)
}
""" ] ;
sh:targetClass cacontology-detection:AutomatedDetectionAction,
cacontology-detection:ContentHashingAction,
cacontology-detection:DatabaseMatchAction,
cacontology-detection:FalsePositiveAnalysisAction,
cacontology-detection:ManualClassificationAction,
cacontology-detection:RiskStratificationAction .