How general is Owlready2?
Posted by
jos lehmann on
Jul 15, 2021; 10:38am
URL: http://owlready.306.s1.nabble.com/How-general-is-Owlready2-tp2531.html
Hi there
I have two general questions regarding the generality/applicability of Owlready2:
1- how limiting are the limitations to supported SPARQL constructs in Owlready2?
2- is Owlready2 meant specifically for biomedical ontologies and ultimately not really usable on any ontology?
I describe below the background to these questions.
Any feedback would be appreciated.
Thank you in advance.
Kind Regards,
Jos Lehmann
- Background -
I have been trying to get started with Owlready2 (v0.33), specifically from a dataiku python recipe.
Following the instructions on [1] and [2] I have managed to load & run very limited SPARQL-queries on the pizza ontology [3] as well as on an a private ontology loaded on dataiku.
I have not managed, though, to run what to me look like very simple queries, e.g. select all individuals of a given class in the ontology, I often get a "Lexing Error".
Before delving any deeper into Owlready2, I would to make sure that the Owl/Python interface is not limited wrt Owl 2 or SPARQL or other important Semantic Web standards
[1]
https://pypi.org/project/Owlready2/[2]
https://owlready2.readthedocs.io/en/latest/sparql.html#performing-sparql-queries[3]
http://www.lesfleursdunormal.fr/static/_downloads/pizza_onto.owl