https://cacontology.projectvic.org/detection#ConfidenceScoreValidationShape
Validates confidence score consistency and reasonableness.
Instances of cacontology-detection:AutomatedDetectionAction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-detection:AutomatedDetectionAction | ||||
| cacontology-detection:confidenceScore | 0 | 1 |
xsd:decimal
|
|
| cacontology-detection:hasDetectionBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-detection:hasDetectionEndPoint | 1 |
xsd:dateTimeStamp
|
||
| 1 | ||||
| 1 | 1 |
cacontology-detection:MachineLearningDetectionTool
|
||
| 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:ConfidenceScoreValidationShape a sh:NodeShape ;
rdfs:label "Confidence Score Validation Shape"@en ;
rdfs:comment "Validates confidence score consistency and reasonableness."@en ;
sh:sparql [ sh:message "High confidence scores should correlate with positive detection decisions"@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:confidenceScore ?score ;
cacontology-detection:reviewDecision "false_positive" .
FILTER (?score > 0.8)
}
""" ] ;
sh:targetClass cacontology-detection:AutomatedDetectionAction,
cacontology-detection:DetectionResult .