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

Minimum value of a monetary amount

Rule Definition

An amount is a value greater or equal than 10€.


Additional Information

Rule elaboration

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

Ontology properties involved:

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

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

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

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

When an amount is provided in a currency different than euros, it is necessary to first convert the amount to euros and afterwards run the rule against the amount in euros.

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:MonetaryValue-hasAmountValue-lower-limit

Implementation note

Implementation in the SHACL shapes graph:

ppsh:MonetaryValue-hasAmountValue-lower-limit a sh:PropertyShape ;
    sh:description "The amount value of the monetary must be greater or equal to 10." ;
    sh:severity sh:Warning ;
    sh:minInclusive 10 ;
    sh:message "VAL012" ;
    sh:name "Amount value of monetary value lower limit" ;
    sh:path epo:hasAmountValue .

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

Related rules

#15

#25

#26

#27

Related generic rule

#24

History note

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

Edited by Enrique Jose Barcala Soto