https://cacontology.projectvic.org/investigation-coordination#ResourceSharingDurationShape
Validates resource sharing duration reasonableness.
@prefix cacontology-coord: <https://cacontology.projectvic.org/investigation-coordination#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-coord:ResourceSharingDurationShape a sh:NodeShape ;
rdfs:label "Resource Sharing Duration Shape"@en ;
rdfs:comment "Validates resource sharing duration reasonableness."@en ;
sh:sparql [ sh:message "Long-term resource sharing should have formal agreements."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-coord:sharingDuration ?duration .
FILTER (?duration > 720)
FILTER NOT EXISTS {
?coordination cacontology-coord:sharesResources $this ;
cacontology-coord:governsAgreement ?agreement .
}
}
""" ] ;
sh:targetClass cacontology-coord:ResourceSharing .