https://cacontology.projectvic.org/street#PropertyValueValidationShape
Validates property value ranges and formats.
Instances of cacontology-street:DirectTraffickingProposition can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-street:DirectTraffickingProposition | ||||
| cacontology-street:explicitnessLevel | 0 | 1 |
xsd:string
|
|
| cacontology-street:propositionType | 0 | 1 |
xsd:string
|
|
| cacontology-grooming:GroomingBehavior | ||||
| 0 | 1 |
xsd:string
|
||
| 0 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:string
|
||
| 1 |
xsd:double
|
|||
| cacontology-grooming:groomingStage | 1 | 1 |
xsd:string
|
|
| 1 |
xsd:string
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
| 0 | 1 |
xsd:dateTime
|
||
| 0 | 1 |
xsd:dateTime
|
||
@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-street:PropertyValueValidationShape a sh:NodeShape ;
rdfs:label "Property Value Validation Shape"@en ;
rdfs:comment "Validates property value ranges and formats."@en ;
sh:sparql [ sh:message "Explicit commercial offers should mention a money amount when proposition type is specified."@en ;
sh:select """
SELECT $this
WHERE {
$this a cacontology-street:ExplicitCommercialOffer ;
cacontology-street:propositionType ?type .
FILTER NOT EXISTS {
$this cacontology-street:moneyAmountMentioned ?amount .
}
}
""" ] ;
sh:targetClass cacontology-street:DirectTraffickingProposition .