Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

The NUTS codes of the place of performance are provided per lot for each competition notice

Rule Definition

Every lot has a place of performance NUTS code.


Additional Information

Rule elaboration

Completeness Business Rule with ID COM016 as defined in deliverable D06.06 – Data Quality Action Plan.

Ontology property involved: http://data.europa.eu/a4g/ontology#hasNutsCode

Rule source

https://code.europa.eu/eproc/ppds/documentation/-/blob/main/documents/d0606_data_quality_action_plan.md#21-completeness-business-rules

Rule implementation

ppsh:ContractTerm-definesSpecificPlaceOfPerformance-hasNutsCode

Implementation note

Implementation in PPDS SHACL shapes graph:

ppsh:ContractTerm-definesSpecificPlaceOfPerformance-hasNutsCode a sh:SPARQLConstraint ;
    sh:message "COM016" ;
    sh:name "NUTS code is provided (Place of performance)." ;
    sh:description "The NUTS code is not required if the country of the Buyer is provided." ;
    sh:severity sh:Warning ;
    sh:prefixes epo: , xsd:, dct: ;
    sh:targetClass epo:ContractTerm ;
    sh:select """
                SELECT  $this (epo:hasNutsCode as ?path) (?nutsCode as ?value)
                     WHERE {
                            $this epo:definesSpecificPlaceOfPerformance ?location .
                            FILTER NOT EXISTS {
                                ?location epo:hasNutsCode ?nutsCode .
                            }
        }

https://sdlc.webcloud.ec.europa.eu/ppds/docker/ppds-shacl-shapes/-/blob/featured/revision_0.3.3/ppds-shapes.ttl?ref_type=heads

Related rules

#21

#46

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)

Edited by Alba Colomer