`epo:ContractLotCompletionInformation` should have relation to `epo:LotGroup` also
While mapping the eForms fields under the node ND-TenderAggregatedAmounts (i.e. Tender Payment Value BT-779-Tender, Tender Payment Value Additional Information BT-780-Tender and Tender Penalties BT-782-Tender), we discovered a discrepancy between the eForms SDK and the ePO model. According to ePO, the instances of the epo:ContractLotCompletionInformation class should link to the an epo:Lot instance through the epo:describesLotCompletion property:
However, in eForms, the node ND-TenderAggregatedAmounts appears under the ND-LotTender node, which in turn can refer either to a Lot or to a Lot Group. Therefore, in order to allow proper conversion of the XML eForms data to RDF, we need to provide from the epo:ContractLotCompletionInformation class a relationship to the epo:LotGroup class as well.
Related to https://github.com/OP-TED/ePO/issues/683
The implementation available as of ePO 5.0.0 is depicted below:
Note that:
- the predicate
epo:describesLotCompletionwas modified intoepo:concernsLotand cardinality changed from[1]to[0..1] - we added the predicate
epo:concernsLotGroupwith cardinality[0..1]