https://cacontology.projectvic.org/educational/shapes#EducatorPerpetratedExploitationGUFOShape
Validates educator exploitation instances with gUFO Event constraints and temporal boundaries.
Instances of cacontology-educational:EducatorPerpetratedExploitation can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-educational:EducatorPerpetratedExploitation | ||||
| cacontology-educational:exploitationDuration |
xsd:decimal
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
@prefix cacontology-educational: <https://cacontology.projectvic.org/educational#> .
@prefix cacontology-educational-shapes: <https://cacontology.projectvic.org/educational/shapes#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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-educational-shapes:EducatorPerpetratedExploitationGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Educator Perpetrated Exploitation Shape"@en ;
rdfs:comment "Validates educator exploitation instances with gUFO Event constraints and temporal boundaries."@en ;
sh:property [ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Exploitation event can have at most one begin point"@en ;
sh:path cacontology-gufo:beginTimePoint ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Exploitation event can have at most one end point"@en ;
sh:path cacontology-gufo:endTimePoint ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Exploitation can have at most one first incident time point"@en ;
sh:path cacontology-educational:exploitationFirstIncidentTimePoint ],
[ sh:datatype xsd:decimal ;
sh:maxInclusive 10000 ;
sh:message "Exploitation duration must be between 0.1 hours and 10,000 hours"@en ;
sh:minInclusive 0.1 ;
sh:path cacontology-educational:exploitationDuration ] ;
sh:sparql [ sh:message "First incident time point should not precede overall begin point"@en ;
sh:select """
SELECT ?this
WHERE {
?this cacontology-educational:exploitationFirstIncidentTimePoint ?first ;
cacontology-gufo:beginTimePoint ?begin .
FILTER (?first < ?begin)
}
""" ] ;
sh:targetClass cacontology-educational:EducatorPerpetratedExploitation .