Skip to content

Commit

Permalink
Get Climate Systems Ontology in
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Sep 13, 2023
1 parent 5d64b1f commit 363fa5e
Show file tree
Hide file tree
Showing 3 changed files with 8,971 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mira/dkg/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,12 @@ def construct(
writer.writerow(EDGE_HEADER)
writer.writerows(probonto_edges)

if use_case == "climate":
from .resources.cso import get_cso_obo

for term in get_cso_obo().iter_terms():
node_sources[term.curie].add("cso")
nodes[term.curie] = get_node_info(term)
if use_case == "epi":
from .resources.geonames import get_geonames_terms
geonames_edges = []
Expand Down
Loading

0 comments on commit 363fa5e

Please sign in to comment.