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

Procedure type is valid

Rule Definition

For procedures above the threshold, procedure type is a value from NAL "Procurement procedure type".

Procedures below the threshold may have values not included in the NAL "Procurement procedure type".


Additional Information

Rule elaboration

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

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

Link to the NAL: https://op.europa.eu/en/web/eu-vocabularies/concept-scheme/-/resource?uri=http://publications.europa.eu/resource/authority/procurement-procedure-type

NAL stands for "Name authority list"

Rule source

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

Rule implementation

ppsh:Procedure-hasProcedureType-values

Implementation note

Implementation in the SHACL shapes graph:

ppsh:Procedure-hasProcedureType-values a sh:SPARQLConstraint ;
    sh:description "The procedure type must be listed in the applicable controlled list." ;
    sh:severity sh:Warning ;
    sh:message "VAL005" ;
    sh:name "Procedure type is valid" ;
    sh:targetClass epo:Procedure ;
    sh:select """
        PREFIX epo: <http://data.europa.eu/a4g/ontology#>
        SELECT $this (epo:hasProcedureType AS ?path) (?procedureType AS ?value) WHERE {
		    $this a epo:Procedure .
			$this epo:hasProcedureType ?procedureType .
			?procedureType skos:inScheme <http://publications.europa.eu/resource/authority/procurement-procedure-type> .
		}

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

#52

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 Enrique Jose Barcala Soto