The national registration number is provided for each buyer
Rule Definition
Every Buyer has a National Registration Number.
Additional Information
Rule elaboration
Completeness Business Rule with ID COM004 as defined in deliverable D06.06 – Data Quality Action Plan.
Ontology property involved: http://data.europa.eu/a4g/ontology#hasIdentifierValue
Rule source
Rule implementation
ppsh:Buyer-hasID
Implementation note
Implementation in PPDS SHACL shapes graph:
ppsh:Buyer-hasID a sh:SPARQLConstraint ;
sh:message "COM004" ;
sh:name "National Registration Number of the Buyer." ;
sh:description "The National Registration Number of the Buyer must be provided." ;
sh:severity sh:Warning ;
sh:prefixes epo: , xsd:, cccev: ;
sh:targetClass epo:Buyer ;
sh:select """
SELECT $this (epo:hasIdentifierValue as ?path) (?identifierValue as ?value)
WHERE {
$this epo:playedBy ?organisation .
?organisation epo:hasID ?identifier .
FILTER NOT EXISTS {
?identifier epo:hasIdentifierValue ?identifierValue .
}
}
Related rules
Related generic rule
(If the rule is a specialisation of a generic rule registered in this Rulebook, the URL of that generic rule is provided here.)
History note
(If applicable, add here a note about a previous state of the rule, before the Rulebook)