Tender receipt deadline is previous than the result notice dispatch date
Rule Definition
The dispatch date of a result notice is equal or later than the tender receipt deadline.
Additional Information
Rule elaboration
Consistency Business Rule with ID CON012 as defined in deliverable D06.06 – Data Quality Action Plan.
Ontology property involved:
http://data.europa.eu/a4g/ontology#hasReceiptDeadline
http://data.europa.eu/a4g/ontology#hasDispatchDate
Rule source
Rule implementation
ppsh:Document-ReceiptDeadlineBeforeDispatchDate
Implementation note
Implementation in PPDS SHACL shapes graph:
ppsh:Document-ReceiptDeadlineBeforeDispatchDate a sh:SPARQLConstraint ;
sh:targetClass epo:Document ;
sh:message "CON012" ;
sh:description "The Tenders receipt deadline must be on or before the Dispatch date of the CAN" ;
sh:severity sh:warning ;
sh:prefixes epo: , xsd: ;
sh:select """
PREFIX epo: <http://data.europa.eu/a4g/ontology#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT $this (epo:hasReceiptDeadline as ?path) (?receiptDeadline as ?value)
WHERE {
$this epo:hasDispatchDate ?dispatchDate .
$this epo:hasReceiptDeadline ?receiptDeadline .
FILTER(?receiptDeadline > ?dispatchDate)
}
""" .
Related rules
Related generic rule
(If the rule is a specialisation of a generic rule registered in this Rulebook, include here URL of that generic rule)
History note
(If applicable, add here a note about a previous state of the rule, before the Rulebook)