https://cacontology.projectvic.org/investigation-coordination#ResourceSharingDurationShape
Validates resource sharing duration reasonableness.
Instances of cacontology-coord:ResourceSharing can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-coord:ResourceSharing | ||||
| cacontology-coord:availabilityLevel | 1 | 1 |
xsd:string
|
|
| cacontology-coord:costSharing | 1 | 1 |
xsd:boolean
|
|
| cacontology-coord:hasDataCompleteness | 1 |
xsd:double
|
||
| cacontology-coord:hasDataConsistency | 1 |
xsd:double
|
||
| cacontology-coord:hasDataQuality | 1 |
xsd:string
|
||
| cacontology-coord:hasValidationLevel | 1 |
xsd:string
|
||
| cacontology-coord:reimbursement | 1 | 1 |
xsd:boolean
|
|
| cacontology-coord:resourceType | 1 | 1 |
xsd:string
|
|
| cacontology-coord:sharingDuration | 1 | 1 |
xsd:decimal
|
|
| 1 |
xsd:dateTime
|
|||
| 1 |
xsd:dateTime
|
|||
| 0 | 1 |
xsd:string
|
||
| 0 | 1 |
xsd:string
|
||
| 0 | 1 |
xsd:dateTime
|
||
| 0 | 1 |
xsd:dateTime
|
||
@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 .