-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Missing epo:hasLegalBasis for certain sdk versions #52
Comments
Thanks for reporting. The issue is that some notices, such as PriorInformation, do not have the toplevel |
This is not clear to me as only EF14 is a PIN used as a call for competition, EF15 is a qualification system and both EF 16 and EF 19 are competition notices. |
@muricna that is indeed correct. however, we are not able to reproduce the reported issue for most of the cited notices, i.e. those other than the PIN (EF14) and the qualification system (EF15). @cristianvasquez it would be good if you can confirm how you came to report the competition notices. Perhaps, there was a misunderstanding/misinterpretation, or another underlying issue that is being exposed? |
Hello, I verified the EF16 that were reported, and these ones are no longer missing the epo:hasLegalBasis. |
@OceaneAbrard Thank you for confirming. It is expected that EF19 will still exhibit this issue, as they appear to be competition notices that do not have a tendering process defined at the root of the notice, and the mapping was not written to deal with that. This will be fixed. Only EF16 is not reproducible, in that case, and will be assumed to not be affected. P.S: Note that it would be best if all testing in this context is carried out against the tag |
The predicate mapping was in the wrong TriplesMap (TMap) that has an incompatible iterator (a toplevel `TenderingProcess`, which is not guaranteed to exist), and an absolute XPath reference. It should've been in the root TMap which has the right iterator (simply the root of the XML document `/*`, which also allows a relative XPath in the mapping). Affects EF14, EF15 and EF19 as reported. Tested with EF14 notice 152054-2024.xml. The following cases have data (from Official Journal publications) included for testing: - EF14 for SDK version 1.8 (00152054-2024) - EF15 for SDK version 1.7 (00140913-2024) - EF19 for SDK version 1.10 (00128154-2024) As downloaded from URLs of the form https://ted.europa.eu/en/notice/152054-2024/xml (first example). Closes gh-52.
The predicate mapping was in the wrong TriplesMap (TMap) that has an incompatible iterator (a toplevel `TenderingProcess`, which is not guaranteed to exist), and an absolute XPath reference. It should've been in the root TMap which has the right iterator (simply the root of the XML document `/*`, which also allows a relative XPath in the mapping). Affects EF14, EF15 and EF19 as reported. Tested with EF14 notice 152054-2024.xml. The following cases have data (from Official Journal publications) included for testing: - EF14 for SDK version 1.8 (00152054-2024) - EF15 for SDK version 1.7 (00140913-2024) - EF19 for SDK version 1.10 (00128154-2024) As downloaded from URLs of the form https://ted.europa.eu/en/notice/152054-2024/xml (first example). Closes gh-52.
As part of the update to CN MS v1.3-1.8+1.10, namely implementing fix for gh-52. Assertion changes are merely renames as they are the same content with different file names due to newly generated IDs, so can be ignored. The changes to reports can also be ignored, as they do not always change functionally across executions, with the exception of only those parts that reflect the change(s), of which there is very little in this iteration. The true changes can be observed among the RDF outputs, namely in the newly added test data files, showing the introduction of the `epo:hasLegalBasis` predicate. One may diff against the latest changeset requesting statistics only on the CN Turtle files, in the following manner: ```sh $ git diff HEAD~ --stat mappings/package_cn_v1.*/output/*/*/*.ttl .../package_cn_v1.10/output/op_test_cn_gh_issues/2024-OJS044-00128154/2024-OJS044-00128154.ttl | 1527 ++++++++++++++++++++++++++++++++++++++++++++++++ mappings/package_cn_v1.10/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.10/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- mappings/package_cn_v1.3/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.3/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- mappings/package_cn_v1.4/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.4/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- mappings/package_cn_v1.5/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.5/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- mappings/package_cn_v1.6/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.6/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- mappings/package_cn_v1.7/output/op_test_cn_gh_issues/2024-OJS048-00140913/2024-OJS048-00140913.ttl | 355 +++++++++++ mappings/package_cn_v1.7/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.7/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- mappings/package_cn_v1.8/output/op_test_cn_gh_issues/2024-OJS052-00152054/2024-OJS052-00152054.ttl | 296 ++++++++++ mappings/package_cn_v1.8/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.8/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- mappings/package_cn_v1.9/output/sdk_examples_cn/cn_23/cn_23.ttl | 1 + .../package_cn_v1.9/output/sdk_examples_cn_invalid/INVALID_cn_24_empty/INVALID_cn_24_empty.ttl | 3 +- ``` Notice that some existing example data are modified, in particular, with said predicate `epo:hasLegalBasis`.
Fix gh-52 missing hasLegalBasis for certain non-EF16 CN notices
Now bring CAN up to parity with CN :)
Hello,
Notice 00152054-2024 constains a
cbc:RegulatoryDomain
referring to the Procedure Legal Basis, but no corresponding value forepo:hasLegalBasis
was foundSource XML: https://ted.europa.eu/en/notice/152054-2024/xml
This issue has been reported in the following cases:
Some notices contain
epo:hasLegalBasis
, for example EF12 for SDK version 1.10The text was updated successfully, but these errors were encountered: