https://cacontology.projectvic.org/physical/shapes#PhysicalSearchShape
Enhanced validation shape for physical search instances with gUFO quality aspects.
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 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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-physical-shapes:PhysicalSearchShape a sh:NodeShape ;
rdfs:label "Physical Search Shape"@en ;
rdfs:comment "Enhanced validation shape for physical search instances with gUFO quality aspects."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 500 ;
sh:message "Physical search must specify search scope (10-500 characters)."@en ;
sh:minCount 1 ;
sh:minLength 10 ;
sh:path cacontology-physical:searchScope ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 72.0 ;
sh:message "Search duration must be between 0.25 and 72.0 hours."@en ;
sh:minCount 1 ;
sh:minInclusive 0.25 ;
sh:path cacontology-physical:searchDuration ],
[ sh:datatype xsd:string ;
sh:in ( "superficial" "basic" "thorough" "comprehensive" "exhaustive" ) ;
sh:maxCount 1 ;
sh:message "Search thoroughness must be from allowed values (gUFO quality aspect)."@en ;
sh:path cacontology-physical:hasSearchThoroughness ],
[ sh:datatype xsd:double ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Search efficiency must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
sh:minInclusive 0.0 ;
sh:path cacontology-physical:hasSearchEfficiency ],
[ sh:datatype xsd:double ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Search completeness must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
sh:minInclusive 0.0 ;
sh:path cacontology-physical:hasSearchCompleteness ] ;
sh:targetClass cacontology-physical:PhysicalSearch .