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

Extend RelatedObjectsHelper.getAxiomSubjects() to missing property axiom types #1187

Merged
merged 8 commits into from
May 1, 2024

Conversation

matentzn
Copy link
Contributor

@matentzn matentzn commented Mar 10, 2024

Resolves #1108

  • 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 PR ensures that Property axioms are taken into account correctly when determining base axioms. This is achieved by adding special treatment to a number of property axioms to RelatedObjectsHelper.getAxiomSubjects(), which is responsible to determine which entity is the "subject" of an axiom, which in turn is used by the methods to determine base-iris. For example TransitiveProperty(?p) was previously not considered about ?p - now it is.

I have tested the approach extensively with RO. The changed tests as part of this PR reflect the new behaviour correctly.

@matentzn matentzn requested a review from balhoff March 10, 2024 17:57
@jamesaoverton jamesaoverton merged commit 8452b42 into master May 1, 2024
3 checks passed
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.

remove --axioms external is removing transitivity axioms from in-base properties
3 participants