Skip to content

Commit

Permalink
Update KG2 URL in test triples script #2411
Browse files Browse the repository at this point in the history
  • Loading branch information
amykglen committed Dec 4, 2024
1 parent f5f153f commit e091427
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_kg2_predicate_triples_examples():
"node2, value.subject as subject, value.object as object"
results = run_neo4j_query(cypher, "KG2pre", "predicate triples")
triples_dict = {"subject":[], "predicate":[], "object":[]}
examples_json = {"url": "https://arax.ncats.io/api/rtxkg2/v1.1/query",
examples_json = {"url": "https://kg2cploverdb.transltr.io",
"TRAPI": True,
"edges": []}
for result in results:
Expand Down Expand Up @@ -116,7 +116,7 @@ def get_kg2c_predicate_triples_examples():
"node2, value.subject as subject, value.object as object"
results = run_neo4j_query(cypher, "KG2c", "predicate triples")
triples_dict = {"subject":[], "predicate":[], "object":[]}
examples_json = {"url": "https://kg2.transltr.io/api/rtxkg2/v1.2",
examples_json = {"url": "https://kg2cploverdb.transltr.io",
"TRAPI": True,
"edges": []}
for result in results:
Expand Down

0 comments on commit e091427

Please sign in to comment.