The legal name is provided for each buyer
Rule Definition
Every Buyer has a legal name.
Additional Information
Rule elaboration
Validity Business Rule with ID COM003 as defined in deliverable D06.06 – Data Quality Action Plan.
Ontology property involved: http://data.europa.eu/a4g/ontology#hasLegalName
Rule source
Rule implementation
pppsh:Buyer-hasLegalName
Implementation note
Implementation in the SHACL shapes graph:
pppsh:Buyer-hasLegalName a sh:SPARQLConstraint ;
sh:message "COM003" ;
sh:name "Legal name of the Buyer." ;
sh:description "Official name of the Buyer must be provided." ;
sh:severity sh:Warning ;
sh:prefixes epo: , xsd:, cccev: ;
sh:targetClass epo:Buyer ;
sh:select """
SELECT $this (epo:hasLegalName as ?path) (?legalName as ?value)
WHERE {
$this epo:playedBy ?organisation .
FILTER NOT EXISTS {
?organisation epo:hasLegalName ?legalName .
}
}
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)