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

RFC: supporting SWRL Rules #45

Closed
phillord opened this issue Jul 31, 2022 · 5 comments · Fixed by #59
Closed

RFC: supporting SWRL Rules #45

phillord opened this issue Jul 31, 2022 · 5 comments · Fixed by #59
Labels
enhancement New feature or request
Milestone

Comments

@phillord
Copy link
Owner

I have put an initial document up considering how to support SWRL rules. This might also impact on the handling of OntologyID.

Work in progress at the moment, so I can't vouch for it's comprehensibility.

https://github.com/phillord/horned-owl/blob/rfc/swrl_rules_redesign.md

@phillord
Copy link
Owner Author

@jannahastings @althonos @ignazio1977 @jamesaoverton Comments welcome

@jannahastings
Copy link
Collaborator

For Solution 4, you could still have access methods that gave access to just the OWL axioms vs. the SWRL "axioms", right? I would imagine that many users would only want the OWL parts, but it would be really nice to have the SWRL parts there and accessible when wanted for completeness, without having to use a different type of ontology as the core data structure.

@phillord
Copy link
Owner Author

@jannahastings Yes, for both three and four that would be possible -- a filter and a filter_map respectively. I would be hopeful that it could be done using default methods so all ontology implementations would get them. As you say, for someone using the ontology, the SWRL rules should be ignorable as possible.

@balhoff
Copy link

balhoff commented Feb 12, 2023

I would prefer to just have SWRL rules be a kind of axiom, since I'm familiar with that in the OWL API. When we port the SWRL reasoner over from whelk-scala to whelk-rs (INCATools/whelk-rs#8, hopefully in the next few months) we will need SWRL rule support.

@phillord
Copy link
Owner Author

Come to the same conclusion.

#59

Haven't actually started on it yet. The spec for SWRL rules is a little more opaque than OWL2, but I think this is next on the list.

@filippodebortoli filippodebortoli added the enhancement New feature or request label Feb 13, 2023
@filippodebortoli filippodebortoli modified the milestones: next, At some point Feb 13, 2023
@filippodebortoli filippodebortoli linked a pull request Feb 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants