https://cacontology.projectvic.org/physical/shapes#SuspiciousProcurementRule
Advanced gUFO business rule: High suspicion procurement should have enhanced traceability requirements.
Instances of cacontology-physical:CriminalProcurement can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-physical:CriminalProcurement | ||||
| cacontology-physical:hasAcquisitionRisk | 1 |
xsd:string
|
||
| cacontology-physical:hasProcurementSuspicion | 1 |
xsd:string
|
||
| cacontology-physical:hasTraceability | 1 |
xsd:double
|
||
| cacontology-physical:paymentMethod | 0 | 1 |
xsd:string
|
|
| cacontology-physical:procurementCost | 0 | 1 |
xsd:decimal
|
|
| cacontology-physical:procurementMethod | 1 | 1 |
xsd:string
|
|
@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-physical-shapes:SuspiciousProcurementRule a sh:NodeShape ;
rdfs:label "Suspicious Procurement Rule"@en ;
rdfs:comment "Advanced gUFO business rule: High suspicion procurement should have enhanced traceability requirements."@en ;
sh:sparql [ sh:message "High or critical suspicion procurement must have good traceability and high acquisition risk (gUFO business rule)."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-physical:hasProcurementSuspicion ?suspicion .
FILTER (?suspicion IN ("high", "critical"))
{
FILTER NOT EXISTS {
$this cacontology-physical:hasTraceability ?traceability .
FILTER (?traceability >= 0.6)
}
} UNION {
FILTER NOT EXISTS {
$this cacontology-physical:hasAcquisitionRisk ?risk .
FILTER (?risk IN ("high", "extreme"))
}
}
}
""" ] ;
sh:targetClass cacontology-physical:CriminalProcurement .