Closed matentzn closed 3 years ago
I've never noticed that method on OWLManager! My issue with the OWL API Manchester parser is that with the way I used it, it required an entity checker which knew which things were classes vs. properties. I think according to the grammar this can be figured out just from the syntax. I'll try out the method you suggest.
Cool! Let me know how it works out :)
@matentzn I now switched to a Manchester parser using the OWL API implementation: https://github.com/phenoscape/owlet/pull/22
There is one problem I am aware of though; it doesn't seem possible to provide an entity checker that can allow any IRI for any entity; you can't allow an object property and a data property for the same IRI. This is a true restriction in OWL, however in principle I think the grammar ought to allow parsing just based on the syntax. So at the moment the parser here won't parse data properties. That's actually no different from the previous situation though (it was unimplemented).
Fixed by #150.
I once wrote a generic syntax parser; Not sure what it does anymore, but maybe you could consider it (man is OWLOntologyManager man, and o is OWLOntology o):