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

Add stricter check to prevent logical equivalents #1197

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

matentzn
Copy link
Collaborator

@matentzn matentzn commented Aug 4, 2021

See #1196

@matentzn matentzn changed the title Add stricter check for equivalents Add stricter check to prevent logical equivalents Aug 4, 2021
@@ -158,7 +158,7 @@ $(ONT)-base.owl: $(SRC) $(OTHER_SRC)
# Full: The full artefacts with imports merged, reasoned
$(ONT)-full.owl: $(SRC) $(OTHER_SRC)
$(ROBOT) merge --input $< \
reason --reasoner ELK --equivalent-classes-allowed all --exclude-tautologies structural \
reason --reasoner ELK --equivalent-classes-allowed none --exclude-tautologies structural \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to use --equivalent-classes-allowed asserted-only?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for you to decide! I mostly prefer to strictly forbid equivalents, but if it's ENVOs policy to allow asserted ones go ahead!! Thanks for looking!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @matentzn ... the decision is not mine alone to make :)
What do you think @cmungall @pbuttigieg ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should absolutely forbid all equivalents between named classes, whether asserted or inferred. We never intend to do this, and if the reasoner finds this it is always revealing an error. If we had implemented this sooner we would have prevented a lot of pain.

@cmungall cmungall merged commit 6bc800d into EnvironmentOntology:master Oct 15, 2021
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.

3 participants