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

Reasonable Award Value for each lot with SME winner

Rule Definition

For each lot with an SME winner, the Awarded Value is a value below 5,000,000€.


Additional Information

Rule elaboration

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

Ontology property involved:

http://data.europa.eu/a4g/ontology#hasBusinessSize

http://data.europa.eu/a4g/ontology#hasAwardedValue

Otherwise, the rule would not be valid.

Definition of SME: https://single-market-economy.ec.europa.eu/smes/sme-fundamentals/sme-definition_en

Rule source

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

Rule implementation

ppsh:Business-SMEContractValue

Implementation note

Implementation in PPDS SHACL shapes graph:

ppsh:Business-SMEContractValue a sh:SPARQLConstraint ;
    sh:targetClass epo:Business ;
    sh:message "ACC005" ;
    sh:description "If a winner is an SME, the total value of the contract should be below 5,000,000€." ;
    sh:severity sh:warning ;
    sh:prefixes epo: , xsd: ;
    sh:select """
            PREFIX epo: <http://data.europa.eu/a4g/ontology#>
            PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
            SELECT $this (epo:hasTotaAwardedlValue as ?path)  (?totalAwardedValue as ?value)
            WHERE {
                $this epo:hasBusinessSize <http://publications.europa.eu/resource/authority/economic-operator-size/small> ;
                          ^epo:MonetaryValue/epo:hasTotaAwardedlValue ?totalAwardedValue .
                FILTER (?totalAwardedValue >= 5000000)
            }
        """ .

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

#14

#26

#27

#30

#31

#32

#56

#57

#84

#85

#107

#149

#150

Related generic rule

(If the rule is a specialisation of a generic rule registered in this Rulebook, include here URL of that generic rule)

History note

(If applicable, add here a note about a previous state of the rule, before the Rulebook)

Edited by Enrique Jose Barcala Soto