OP-TED / ted-rdf-mapping

Transformation rules and other artefacts for the TED Semantic Web Services
European Union Public License 1.2
8 stars 0 forks source link

Contract conclusion date mapping F20 (Sec V.2.1) #233

Open costezki opened 2 years ago

costezki commented 2 years ago

Should we use this mapping, from F03. F06, F21 and F22, or the one from F25? Wouldn't in fact both happen automatically (also for all the other forms), since both mappings are available in the technical mapping and for this given XPAth both mapping will fire? If this is a problem, haw can we deal with it?

image

costezki commented 2 years ago

In F20 I think if it is a change to the contract it will be contract hasConclusionDate but as I said I will have to look more carefully

csnyulas commented 1 year ago

The concnlusion of our discussion with @muricna was that we should decide based on the Directive. If the Directive 23 is chosen it should be hasAwardDecisionDate, all the others should be to hasContractConclusionDate

csnyulas commented 1 year ago

Looking at the practical implementation of the proposed solution, it seemed like we can decide how to map the value of the AWARD_CONTRACT/AWARDED_CONTRACT/DATE_CONCLUSION_CONTRACT XPATH, based on the VALUE attribute of the LEGAL_BASIS element, as following:

However, by looking at the rest of all available sample data, we observed that sometimes the <LEGAL_BASIS VALUE> tag has different values than 32014L0023, 32014L0024 or 32014L0025, and sometimes it might even be missing. In such cases, in our (linited) sample data, we found so far:

The examples above show that the actual technical mapping needs to be smarter, and more complex, then just checking for the directive value in the <LEGAL_BASIS VALUE> tag, and we might still not have full certainty that we cover all possible edge cases, and the question remains: "How should our mapping err on such cases?"

csnyulas commented 1 year ago

This is marked as Fixed, as we dealt with the overwhelming majority of the cases (including backwards compatibility with previous versions f the XSD), however before we close it, we would should look at what is the correct way to map the notices that have <LEGAL_BASIS VALUE="32018R1046"/> or LEGAL_BASIS_OTHER that don't refer to D23, D24 or D25.