Skip to content

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

Merged
jamesaoverton merged 8 commits intomasterfrom
issue1108-characteristicsmissingfrombase
May 1, 2024
Merged

Extend RelatedObjectsHelper.getAxiomSubjects() to missing property axiom types#1187
jamesaoverton merged 8 commits intomasterfrom
issue1108-characteristicsmissingfrombase

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
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