10000 Report: Fixing duplicate_label_synonym by matentzn · Pull Request #864 · ontodev/robot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Report: Fixing duplicate_label_synonym #864

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

Merged
merged 4 commits into from
Aug 13, 2021
Merged

Report: Fixing duplicate_label_synonym #864

merged 4 commits into from
Aug 13, 2021

Conversation

matentzn
Copy link
Contributor

Resolves #747

  • docs/ have been added/updated
  • tests have been added/updated
  • mvn verify says all tests pass
  • mvn site says all JavaDocs correct
  • CHANGELOG.md has been updated

This test is a bit hard to wrap around, but the goal of this test, unchanged by this PR, is:

An entity shares a label with an exact synonym. This causes ambiguity. Excludes deprecated entities.

Hence, this PR:

  1. Reduces the scope of the test to comparing labels with exact synonyms and alternative terms, excluding now all other synonym types
  2. Looking not only at the entity itself (entity), but also checking that there is no other entity (entity2) that has an exact synonym that is the same as the label of entity.

@matentzn matentzn changed the title Issue747 Fixing duplicate_label_synonym May 16, 2021
@matentzn
Copy link
Contributor Author

This merits a more careful review probably.

@matentzn matentzn changed the title Fixing duplicate_label_synonym Report: Fixing duplicate_label_synonym May 16, 2021
@beckyjackson
Copy link
Contributor

The query looks correct to me. I just requested a review from @jamesaoverton.

@jamesaoverton jamesaoverton merged commit 1f883b5 into master Aug 13, 2021
jamesaoverton added a commit that referenced this pull request Aug 13, 2021
@matentzn matentzn deleted the issue747 branch November 29, 2021 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a check for clashes between an exact synonym and a label
3 participants
0