https://cacontology.projectvic.org/detection#ClassificationActionResultCrossReferenceShape
Validates that classification actions produce classification results.
Instances of cacontology-detection:ManualClassificationAction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-detection:ManualClassificationAction | ||||
| cacontology-detection:hasDetectionBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-detection:hasDetectionEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-detection:reviewDecision | 0 | 1 |
xsd:string
|
|
| 1 | ||||
| 1 | 1 |
uco-identity:Person
|
||
| 1 | 1 |
xsd:dateTime
|
||
@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:ClassificationActionResultCrossReferenceShape a sh:NodeShape ;
rdfs:label "Classification Action Result Cross Reference Shape"@en ;
rdfs:comment "Validates that classification actions produce classification results."@en ;
sh:sparql [ sh:message "Manual classification action should produce classification results"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/detection#"^^xsd:anyURI ;
sh:prefix "cacontology-detection" ] ] ;
sh:select """
SELECT ?this
WHERE {
?this a cacontology-detection:ManualClassificationAction .
FILTER NOT EXISTS {
?this uco-action:result ?result .
?result a cacontology-detection:ClassificationResult .
}
}
""" ] ;
sh:targetClass cacontology-detection:ManualClassificationAction .