https://cacontology.projectvic.org/educational/shapes#DataQualityValidationShape
Validates enhanced data quality constraints with gUFO-enhanced educational domain validation.
Instances of cacontology-educational:EducatorRole can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-educational:EducatorRole | ||||
| cacontology-educational:educatorAge |
xsd:nonNegativeInteger
|
|||
| cacontology-educational:yearsOfExperience |
xsd:decimal
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
| cac-core:Role | ||||
| cacontology-infrastructure:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-infrastructure:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-physical:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-physical:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-production:hasRoleBeginPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
| cacontology-production:hasRoleEndPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
| cacontology:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| 0 |
cacontology:CACInvestigation
|
|||
@prefix cacontology-educational: <https://cacontology.projectvic.org/educational#> .
@prefix cacontology-educational-shapes: <https://cacontology.projectvic.org/educational/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-educational-shapes:DataQualityValidationShape a sh:NodeShape ;
rdfs:label "Enhanced Data Quality Validation Shape"@en ;
rdfs:comment "Validates enhanced data quality constraints with gUFO-enhanced educational domain validation."@en ;
sh:sparql [ sh:message "Educational institution names must be unique within geographic area"@en ;
sh:select """
SELECT ?this
WHERE {
?this rdf:type cacontology-educational:EducationalInstitution ;
cacontology-educational:institutionName ?name ;
cacontology-educational:geographicArea ?area .
?other rdf:type cacontology-educational:EducationalInstitution ;
cacontology-educational:institutionName ?name ;
cacontology-educational:geographicArea ?area .
FILTER (?this != ?other)
}
""" ],
[ sh:message "Victim age must be consistent with grade level and institutional type"@en ;
sh:select """
SELECT ?this
WHERE {
?this cacontology-educational:involvesVictim ?victim ;
cacontology-educational:atInstitution ?institution .
?victim cacontology-educational:victimAge ?age ;
?institution rdf:type cacontology-educational:IntermediateSchool .
FILTER (?age < 11 || ?age > 14)
}
""" ] ;
sh:targetClass cacontology-educational:EducationalInstitution,
cacontology-educational:EducatorPerpetratedExploitation,
cacontology-educational:EducatorRole .