https://cacontology.projectvic.org/infrastructure/shapes#ComprehensiveAnalysisRule
Advanced gUFO business rule: Comprehensive analysis requires high accuracy and appropriate timeliness.
Instances of cacontology-infrastructure:InfrastructureAnalysis can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-infrastructure:InfrastructureAnalysis | ||||
| cacontology-infrastructure:hasAnalysisAccuracy | 1 |
xsd:double
|
||
| cacontology-infrastructure:hasAnalysisDepth | 1 |
xsd:string
|
||
| cacontology-infrastructure:hasAnalysisTimeliness | 1 |
xsd:string
|
||
@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@prefix cacontology-infrastructure-shapes: <https://cacontology.projectvic.org/infrastructure/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-infrastructure-shapes:ComprehensiveAnalysisRule a sh:NodeShape ;
rdfs:label "Comprehensive Analysis Rule"@en ;
rdfs:comment "Advanced gUFO business rule: Comprehensive analysis requires high accuracy and appropriate timeliness."@en ;
sh:sparql [ sh:message "Comprehensive or exhaustive analysis must have high accuracy and good timeliness (gUFO business rule)."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-infrastructure:hasAnalysisDepth ?depth .
FILTER (?depth IN ("comprehensive", "exhaustive"))
{
FILTER NOT EXISTS {
$this cacontology-infrastructure:hasAnalysisAccuracy ?accuracy .
FILTER (?accuracy >= 0.85)
}
} UNION {
FILTER NOT EXISTS {
$this cacontology-infrastructure:hasAnalysisTimeliness ?timeliness .
FILTER (?timeliness IN ("timely", "fast", "real_time"))
}
}
}
""" ] ;
sh:targetClass cacontology-infrastructure:InfrastructureAnalysis .