https://cacontology.projectvic.org/sextortion#TemporalValidationShape
Validates temporal consistency in sextortion incidents.
Instances of cacontology-sextortion:SextortionIncident can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-sextortion:SextortionIncident | ||||
| cacontology-sextortion:incidentDuration | 0 | 1 |
xsd:decimal
|
|
| 1 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:string
|
||
| cacontology-sextortion:victimCount | 1 | 1 |
xsd:nonNegativeInteger
|
|
| 0 | 1 |
xsd:dateTime
|
||
| 0 | 1 |
xsd:dateTime
|
||
@prefix cacontology-sextortion: <https://cacontology.projectvic.org/sextortion#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-sextortion:TemporalValidationShape a sh:NodeShape ;
rdfs:label "Temporal Validation Shape"@en ;
rdfs:comment "Validates temporal consistency in sextortion incidents."@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-sextortion:SextortionIncident .