Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F20: Delete epo:refersToLot relation originating from the Notice instance #415

Open
csnyulas opened this issue Jun 7, 2023 · 6 comments
Assignees
Labels
type: bug Something implemented incorrectly in a release.
Milestone

Comments

@csnyulas
Copy link
Contributor

csnyulas commented Jun 7, 2023

In ContractModificationNotice, generated from form F20, remove the epo:refersToLot relationship linking a Lot instance to the Notice instance. This is unnecessary (because one can get to the lot through the Notice epo:announcesContract Contract epo:includesLot Lot property path), and in case of the ContractModificationNotice it is also conceptually wrong (as epo:refersToLot should be used only on ResultNotices).

image

@csnyulas csnyulas added this to the 2023-05 milestone Jun 7, 2023
@csnyulas csnyulas added the type: bug Something implemented incorrectly in a release. label Jun 8, 2023
valexande added a commit that referenced this issue Jun 8, 2023
@valexande valexande added the act: for closing it can be closed but an additional confirmation is needed label Jun 8, 2023
@csnyulas
Copy link
Contributor Author

csnyulas commented Jun 9, 2023

Closing this, as the solution, and the generated output have been checked, and they are correct.

@csnyulas csnyulas closed this as completed Jun 9, 2023
@csnyulas csnyulas removed the act: for closing it can be closed but an additional confirmation is needed label Jun 9, 2023
@muricna muricna reopened this Jul 11, 2023
@muricna
Copy link

muricna commented Jul 11, 2023

@csnyulas @costezki According to version 2.1.1.rc1 the conceptual and technical mapping still goes through Notice refersToLot which is not in line with the ontology.

@csnyulas
Copy link
Contributor Author

Indeed, there was a mistake in 2.1.1.rc1, as we removed the wrong row ("epo:Procedure epo:hasProcurementScopeDividedIntoLot epo:Lot" instead of "epo:Notice epo:refersToLot epo:Lot") from the Conceptual Mapping of F20 . However, the technical mapping was correct. I.e. there is no relationship epo:refersToLot between the epo:Notice and epo:Lot instances in any of the F20 outputs. As specified in the description of this GH issue, the problem was discovered in F20, which used to have the epo:refersToLot relationship between epo-not:ContractModificationNotice and epo:Lot instances, although, according to EPO 3.1.0, the epo:refersToLot relation links only the epo-not:ResultNotice class to the epo:Lot class.

So, this issue was not about removing the epo:refersToLot relation between all epo:Notice and epo:Lot instances, therefore, removing the relation in other forms, such as F03, F06, etc. was not necessary. As long as they are of type epo-not:ResultNotice. It is true that our solution is incomplete, as in case of some forms that can represent also notices that are not of type epo-not:ResultNotice, e.g. epo-not:PlanningNotice or epo-not:CompetitionNotice (such as forms F21 or F22), we still create this relationship. However, those were not covered by the scope of the current mappings, and will be fixed later.
I created a separate issue for that: #430

csnyulas added a commit that referenced this issue Jul 12, 2023
@csnyulas
Copy link
Contributor Author

Closing this as CM was updated (see linked commit), and will be available in 2.1.1.rc2.
The other issue #430 will e fixed separately.

@muricna
Copy link

muricna commented Jul 13, 2023

The lot could be reached by going throught the procedure

@muricna muricna reopened this Jul 13, 2023
@csnyulas
Copy link
Contributor Author

csnyulas commented Jul 14, 2023

Of course. One can write a more complex query, involving the epo:refersToProcedure and epo:hasProcurementScopeDividedIntoLot properties to get to the lots mentioned in a notice.
Or a simpler one, to query the lots directly from the ResultNotice (using the epo-not:refersToLot property).
EPO 3.1.0 allows it. Isn't it? So, what is wrong? Why is this ticket reopened?

image

Screenshot from: https://docs.ted.europa.eu/EPO/3.1.0/_attachments/html_reports/eNotice/index.html?goto=1:3

BTW, I just checked, and this property is also in EPO 4.0.0-rc.1. So, it should be totally legit, and I'd say appropriate and useful, to use it:
https://github.com/OP-TED/ePO/blob/release/4.0.0-rc.1/implementation/eNotice/owl_ontology/eNotice_owl_core.ttl#L574

Again, can you please explain why it is wrong what it is done, and why did you reopen the ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something implemented incorrectly in a release.
Projects
None yet
Development

No branches or pull requests

3 participants