Ontology Version: 2.2.0

cacontology-international:ResponseTimeValidationShape leaf node


URI

https://cacontology.projectvic.org/international#ResponseTimeValidationShape

Label

Response Time Validation Shape

Description

Validates reasonable response times for international referrals.

Shape Properties

Instances of cacontology-international:InternationalReferral can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-international:InternationalReferral
cacontology-international:responseTimeInternational 0 1 xsd:decimal
cacontology-international:undercoverCoordination 0 1 xsd:boolean
1 1 xsd:dateTime

Implementation

@prefix cacontology-international: <https://cacontology.projectvic.org/international#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-international:ResponseTimeValidationShape a sh:NodeShape ;
    rdfs:label "Response Time Validation Shape"@en ;
    rdfs:comment "Validates reasonable response times for international referrals."@en ;
    sh:sparql [ sh:message "Urgent international referrals should have rapid response times."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-international:OverseasVictimCoordination ;
                      cacontology-international:responseTimeInternational ?responseTime .
                FILTER (?responseTime > 72.0)
            }
        """ ] ;
    sh:targetClass cacontology-international:InternationalReferral .