3 ms·
For a general purpose OWL python library there is OWLReady2 and funowl: https://github.com/hsolbrig/funowl https://github.com/hsolbrig/funowl For a Python libr
by chrismungall 7y ago
For a general purpose OWL python library there is OWLReady2 and funowl: https://github.com/hsolbrig/funowl https://github.com/hsolbrig/funowl
For a Python library that intends to provide a level of abstraction more appropriate to bioinformatics use cases see https://github.com/biolink/ontobio/ https://github.com/biolink/ontobio/
The ontology data model for this is based more on obograph json than on OWL. See https://douroucouli.wordpress.com/2016/10/04/a-developer-friendly-json-exchange-format-for-ontologies/ https://douroucouli.wordpress.com/2016/10/04/a-developer-fri... and https://douroucouli.wordpress.com/2016/10/04/a-developer-friendly-json-exchange-format-for-ontologies/ https://douroucouli.wordpress.com/2016/10/04/a-developer-fri...
Of course, it's always possible to use an RDF level library such as rdflib, but this can be low-level for OWL. Even simple bio-ontologies often make frequent use of existential restrictions and axiom annotations.
And of course it's possible to use a python-jvm bridge to access the fully featured java OWL API.
(I am involved in both ontobio and funowl)