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
Does Owlery support datatype constraints in its queries? #167
Comments
Oh, yes, it's coming back to me now. I tried resetting the reasoner to Unfortunately, my ontology will provide no useful inferences if I am limited to EL. Any suggestions for what I might do? Any chance there are more up-to-date versions of either Hermit or JFact that could be incorporated? |
I haven't done much with literals in OWL, but could it be something to do with what it says here? https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Real_Numbers.2C_Decimal_Numbers.2C_and_Integers "The owl:real datatype does not directly provide any lexical forms." Could you leave off the datatype? e.g. |
Another clue: protegeproject/protege#37 |
Thanks, that was it. Changing to
...makes it work. Note that both What bothers me is what if I have an entry where the numerical value is specified as an integer? I don't believe that Wow. The numeric datatypes in OWL are bonkers. |
@rpgoldman HermiT is not very actively developed, but some maintenance happens here: https://github.com/owlcs/hermit-reasoner |
I have tried to query with this (somewhat cumbersome) formula:
and Owlery is giving me a 500 error. When I look at the logs, I see this:
This is a HermiT problem: when I test this using Protege, I get an error with HermiT as reasoner, but everything is fine with Fact++. Any idea what is going wrong here?
And... am I right in thinking that the HermiT reasoner is moribund? The "nightly builds" page linked from hermit-reasoner.org has a set of releases that stops in 2015. Or has its version control system just moved somewhere else?
The text was updated successfully, but these errors were encountered: