https://cacontology.projectvic.org/detection#DetectionResultObjectShape
Validates detection result instances with gUFO Object constraints.
Instances of cacontology-detection:DetectionResult can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-detection:DetectionResult | ||||
| cacontology-detection:confidenceScore | 1 | 1 |
xsd:decimal
|
|
| 1 | ||||
| 1 | 1 |
xsd:dateTime
|
||
@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-detection:DetectionResultObjectShape a sh:NodeShape ;
rdfs:label "Detection Result Object Shape"@en ;
rdfs:comment "Validates detection result instances with gUFO Object constraints."@en ;
sh:property [ sh:hasValue gufo:Object ;
sh:message "Detection result must be typed as gUFO Object"@en ;
sh:minCount 1 ;
sh:path rdf:type ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Detection result must have a confidence score between 0.0 and 1.0"@en ;
sh:minCount 1 ;
sh:minInclusive 0.0 ;
sh:path cacontology-detection:confidenceScore ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Detection result must specify creation time"@en ;
sh:minCount 1 ;
sh:path uco-core:createdTime ] ;
sh:targetClass cacontology-detection:DetectionResult .