Country code of the buyer to obtain the currency code
Rule Definition
If a procedure lacks the currency code, the country code of the buyer is used to infer the currency code.
Additional Information
Rule elaboration
In every procedure where the currency code is not provided, the country code is used to obtain the country through de NAL value "Countries and territories". Once the country has been defined, the currency code associated with each country is obtained through the NAL value "currency"
When the currency code is not provided but can be infered through the country code of the buyer per this rule, both the original value of currency code and the infered currency code are stored.
Ontology property involved:
http://data.europa.eu/a4g/ontology#hasCurrency
http://data.europa.eu/a4g/ontology#hasCountryCode
PPDS-ePO-AP involved:
http://data.europa.eu/gx2#hasInferedCurrencyCode
Links to the NAL:
NAL stands for "Name authority list"
Rule source
(Provide URL to legal source, if applicable)
Rule implementation
(Provide only URIs of formal encodings of the rules for execution. These are typically URIs of SHACL rules or RML maps. Each URI should be provided on a new line with no additional information)
Implementation note
(Provide additional implementation information if needed)
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)