https://cacontology.projectvic.org/physical/shapes#ThoroughSearchRule
Advanced gUFO business rule: Comprehensive searches should have high efficiency and completeness.
Instances of cacontology-physical:PhysicalSearch can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-physical:PhysicalSearch | ||||
| cacontology-physical:hasSearchCompleteness | 1 |
xsd:double
|
||
| cacontology-physical:hasSearchEfficiency | 1 |
xsd:double
|
||
| cacontology-physical:hasSearchThoroughness | 1 |
xsd:string
|
||
| cacontology-physical:searchDuration | 1 | 1 |
xsd:decimal
|
|
| cacontology-physical:searchScope | 1 | 1 |
xsd:string
|
|
@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-physical-shapes:ThoroughSearchRule a sh:NodeShape ;
rdfs:label "Thorough Search Rule"@en ;
rdfs:comment "Advanced gUFO business rule: Comprehensive searches should have high efficiency and completeness."@en ;
sh:sparql [ sh:message "Comprehensive or exhaustive searches must have high efficiency and completeness ratings (gUFO business rule)."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-physical:hasSearchThoroughness ?thoroughness .
FILTER (?thoroughness IN ("comprehensive", "exhaustive"))
{
FILTER NOT EXISTS {
$this cacontology-physical:hasSearchEfficiency ?efficiency .
FILTER (?efficiency >= 0.7)
}
} UNION {
FILTER NOT EXISTS {
$this cacontology-physical:hasSearchCompleteness ?completeness .
FILTER (?completeness >= 0.8)
}
}
}
""" ] ;
sh:targetClass cacontology-physical:PhysicalSearch .