Closed ablack3 closed 3 years ago
Hey @ablack3 - thanks so much for the suggestion. We will definitely look into creating a version of the output in OBO. I think that there are a few other formats that we provide that will still be useful for you (e.g. any of the identifier edge list text files).
In the meantime, I want to share a tutorial I created that provides examples in Python using NetworkX
and RDFLib
using the Vaccine Ontology from the Open Biomedical Ontology Foundry and one of the PheKnowLator builds.
Jupyter Notebook: RDF_Graph_Processing_Example.ipynb
Looking forward to going over this tomorrow!
@bill-baumgartner - Do you know of an easy way to convert an OWL graph into an OBO graph? I suspect that this will be painful given that @ablack3 was unable to do this using ROBOT on only the merged ontology subset (meaning that the errors raised are from the original ontologies and are likely to vary by ontology).
@ablack3 take a look at the R Library called rdflib, it looks to parallel the library that I recommend in Python RDFLib
and should provide you with the functionality you need.
@ablack3 - closing this for now. Please re-open if you still need this output type.
Hi, I'm interested in trying to use the PheKnowLator integrated knowledge graph in R with the OntologyX packages. I downloaded
PheKnowLator_MergedOntologies.owl
from the GCP bucket &prefix=&forceOnObjectsSortingFiltering=false). I followed instructions to convert the .owl file to a .obo file using robot and hit the following error.As I am new to this project and the ontology world in general I have a couple basic questions: Is it possible to convert the pheKnowLator knowledge graph into the OBO format? Are owl and obo formats interchangeable? Can the pheKnowLator knowlege graph be considered a single integrated ontology (i.e. Are tools designed to work with a single obo ontology such as the ontologyX R packages expected to work with the phenKnowlator knowledge graph)?
Thanks for this amazing work.