https://cacontology.projectvic.org/platforms#TemporalValidationShape
Validates temporal consistency for platform actions.
Instances of cacontology-platforms:DataPreservationAction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-platforms:DataPreservationAction | ||||
| cacontology-platforms:preservationPeriod | 0 | 1 |
xsd:integer
|
|
| 1 | 1 |
xsd:dateTime
|
||
@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-platforms:TemporalValidationShape a sh:NodeShape ;
rdfs:label "Temporal Validation Shape"@en ;
rdfs:comment "Validates temporal consistency for platform actions."@en ;
sh:sparql [ sh:message "Start time must be before end time when both are specified."@en ;
sh:select """
SELECT $this
WHERE {
$this uco-core:startTime ?start ;
uco-core:endTime ?end .
FILTER (?start >= ?end)
}
""" ] ;
sh:targetClass cacontology-platforms:AccountSuspensionAction,
cacontology-platforms:ContentModerationAction,
cacontology-platforms:DataPreservationAction,
cacontology-platforms:LargeScalePlatformTakedown,
cacontology-platforms:LegalDataDisclosureAction,
cacontology-platforms:MassUserBehaviorAnalysis .