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
SWRL Rule using built-in atom not supported #856
Comments
What's the rest of the stack trace? Which library is throwing this exception, HermiT or SWRL API? |
Hi, Sorry. It's Exception made by SWRL API.
I saw a fork of the SWRL API made by you @ignazio1977 . Is this fork running with OWL API 5.x and up to date ? I tried to edit the |
My fork is an experiment and it has not been released, so it's not straightforward to use and needs updating. I was referring to the exception saying built ins are not supported - which library is that? Not sure what you mean by read only. |
I understand. My bad, the previous trace is for another issue I have.
How do you recommend creating and managing rules with the OWL API 5.x ? |
I have updated my fork, you can check it out and build it locally. SWRL creation has not changed between OWLAPI 4 and 5. I can't add SWRL functionality to HermiT, unfortunately. I don't have the time and expertise to extend the reasoner that way. |
I'm sorry for my late answer. Have a nice day. |
Hi,
I'm using OWLAPI 5.1.0 and I'm trying to use the Hermit reasoner on my swrl rule (created with Protégé). Those rules are made with a built-in with SWRL. I need to create rules that can add, pow, sqrt or make comparison (greater than).
Here's an example of my rules:
swrlb:add(?x, 2, 2) -> sqwrl:select(?x)
I've got this issue :
Exception in thread "main" java.lang.IllegalArgumentException: A SWRL rule uses a built-in atom, but built-in atoms are not supported yet.
I found out that the SWRLAPI 2.0.6 (the most recent at this time), does not support the OWLAPI 5.1.0.
How do you bypass those constraints ?
Thank you for your time,
The text was updated successfully, but these errors were encountered: