Skip to content

Commit

Permalink
scigraph remote include dynamic endpoint
Browse files Browse the repository at this point in the history
we can provide much more efficient queries for certain things by using
the dynamic endpoint, for example the multiquery endpoint that works
more like owl since it also traverses parent classes
  • Loading branch information
tgbugs committed Sep 13, 2019
1 parent b628482 commit 6dd9d1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ontquery/plugins/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def setup(self, **kwargs):
basePath=self.apiEndpoint)
self.sgc = scigraph.Cypher(cache=self.cache, verbose=self.verbose,
basePath=self.apiEndpoint)
self.sgd = scigraph.Dynamic(cache=self.cache, verbose=self.verbose,
basePath=self.apiEndpoint)
self.curies = type('LocalCuries', (OntCuries,), {})
self._remote_curies = type('RemoteCuries', (OntCuries.new(),), {})
curies = self.sgc.getCuries()
Expand Down

0 comments on commit 6dd9d1c

Please sign in to comment.