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

Handle property chains and anonymous subjects in base check #914

Merged
merged 2 commits into from
Nov 1, 2021

Conversation

beckyjackson
Copy link
Contributor

@beckyjackson beckyjackson commented Oct 13, 2021

Resolves #911

  • 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 adds support for property chains when using the internal/external axiom selectors. Since these didn't have a named subject, they were just being removed regardless of if the entities in the property chain were "base" or not. I did a quick check with the RO example used in the issue and the property chains are correctly retained, but I'd appreciate more testing.

I also added blanket support for anonymous subjects - I don't think we actually need all of these, but it probably doesn't hurt to have them.

@beckyjackson beckyjackson merged commit 2a3fefc into master Nov 1, 2021
@beckyjackson beckyjackson deleted the 911-fix branch November 1, 2021 19:59
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.

robot remove --external unexpectedly removes property chains and SWRL rules
2 participants