from ontobio.ontol_factory import OntologyFactory
ont = OntologyFactory().create('doid')
ont
<ontobio.sparql.sparql_ontology.EagerRemoteSparqlOntology at 0x1116bec50>
ont.search('PTSD')
[]
import ontobio.sparql.wikidata as wd
proteins = wd.canned_query('genetic_association', doid)
--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-2-8d320f7b4c8f> in <module>() ----> 1 proteins = wd.canned_query('genetic_association', doid) NameError: name 'doid' is not defined