Received tender for awarded contract
Rule Definition
For every awarded lot, there is at least 1 received tender.
Additional Information
Rule elaboration
Consistency Business Rule with ID CON002 as defined in deliverable D06.06 – Data Quality Action Plan.
Ontology property involved:
http://data.europa.eu/a4g/ontology#hasAwardStatus
http://data.europa.eu/a4g/ontology#hasReceivedTenders
Rule source
Rule implementation
ppsh:Contract-hasReceivedTenders
Implementation note
Implementation in PPDS SHACL shapes graph:
ppsh:Contract-hasReceivedTenders a sh:SPARQLConstraint ;
sh:message "CON002";
sh:name "Tender exist for awarded contract" ;
sh:description "If contract is awarded, amount of received tenders must be greater or equal to 1" ;
sh:severity sh:Warning ;
sh:prefixes epo: ;
sh:select """
SELECT $this (epo:hasReceivedTenders AS ?path) (?receivedTenders AS ?value)
WHERE {
$this epo:resultsFromLotAwardOutcome ?lotAwardOutcome .
?lotAwardOutcome epo:hasAwardStatus
<http://publications.europa.eu/resource/authority/winner-selection-status/selec-w> .
?statisticalInfo epo:summarisesInformationForLotAwardOutcome ?lotAwardOutcome ;
epo:hasReceivedTenders ?receivedTenders .
FILTER (?receivedTenders < 1)
}
""" .
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)