https://cacontology.projectvic.org/forensics#VerificationTimingShape
Validates evidence verification timing.
Instances of cacontology-forensics:EvidenceVerificationAction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-forensics:EvidenceVerificationAction | ||||
| cacontology-forensics:verificationHash | 1 |
uco-core:UcoObject
|
||
| 1 |
xsd:string
|
|||
| 1 |
xsd:string
|
|||
| 1 | 1 |
xsd:dateTimeStamp
|
||
| 1 |
uco-core:UcoObject
|
|||
@prefix cacontology-forensics: <https://cacontology.projectvic.org/forensics#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-forensics:VerificationTimingShape a sh:NodeShape ;
rdfs:label "Verification Timing Shape"@en ;
rdfs:comment "Validates evidence verification timing."@en ;
sh:sparql [ sh:message "Evidence verification should occur after acquisition."@en ;
sh:select """
SELECT $this
WHERE {
?acquisition cacontology-forensics:forensicCopy ?image .
?image cacontology-forensics:verificationHash ?hash .
$this uco-core:object ?hash ;
uco-core:startTime ?verificationTime .
?acquisition uco-core:startTime ?acquisitionTime .
FILTER (?verificationTime < ?acquisitionTime)
}
""" ] ;
sh:targetClass cacontology-forensics:EvidenceVerificationAction .