Skip to content

Commit

Permalink
update urls, phenotype_of predicate for mydisease phenotypicFeature -…
Browse files Browse the repository at this point in the history
…> Disease
  • Loading branch information
colleenXu committed Apr 6, 2021
1 parent d3ca823 commit ee84805
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 13 deletions.
3 changes: 1 addition & 2 deletions onehop/test_triples/KP/Service_Provider/MyChem.info_API.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"url": "https://smart-api.info/ui/dc91716f44207d2e1287c727f281d339#/1.0.0/querySmartAPI",
"smartAPI_ID": "8f08d1446e0bb9c2b323713ce83e2bd3",
"url": "https://api.bte.ncats.io/v1/smartapi/8f08d1446e0bb9c2b323713ce83e2bd3/query",
"TRAPI": true,
"edges": [
{
Expand Down
3 changes: 1 addition & 2 deletions onehop/test_triples/KP/Service_Provider/MyGene.info_API.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"url": "https://smart-api.info/ui/dc91716f44207d2e1287c727f281d339#/1.0.0/querySmartAPI",
"smartAPI_ID": "59dce17363dce279d389100834e43648",
"url": "https://api.bte.ncats.io/v1/smartapi/59dce17363dce279d389100834e43648/query",
"TRAPI": true,
"edges": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"url": "https://smart-api.info/ui/dc91716f44207d2e1287c727f281d339#/1.0.0/querySmartAPI",
"smartAPI_ID": "1c056ffc7ed0dd1229e71c4752239465",
"url": "https://api.bte.ncats.io/v1/smartapi/1c056ffc7ed0dd1229e71c4752239465/query",
"TRAPI": true,
"edges": [
{
Expand Down
3 changes: 1 addition & 2 deletions onehop/test_triples/KP/Service_Provider/OpenTarget_API.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"url": "https://smart-api.info/ui/dc91716f44207d2e1287c727f281d339#/1.0.0/querySmartAPI",
"smartAPI_ID": "542ba165e1b4227854cf7c0a8addcc79",
"url": "https://api.bte.ncats.io/v1/smartapi/542ba165e1b4227854cf7c0a8addcc79/query",
"TRAPI": true,
"edges": [
{
Expand Down
4 changes: 3 additions & 1 deletion onehop/test_triples/KP/Service_Provider/OpenTarget_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ parameters:
One of the answers should be EVEROLIMUS, which has
```
data.drug.id: "http://identifiers.org/chembl.compound/CHEMBL1908360"
```
```

Note: BTE TRAPI is currently having an issue. The raw output of this API is very redundant, and it seems that this is causing issues with the results section of the response (nodes and edges are fine).
2 changes: 1 addition & 1 deletion onehop/test_triples/KP/Service_Provider/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The JSON files assume that these APIs will be queried through BTE's TRAPI endpoint for querying individual SmartAPIs. They therefore include the url for the BTE endpoint, and the SmartAPI ID for the actual SmartAPI. The edge to the answer/object node should have an "api" attribute, with the name of the SmartAPI as the value.
The JSON files assume that these APIs will be queried through BTE's TRAPI endpoint for querying individual SmartAPIs (accessible through the URLs provided).

Notes:
- tests are also described as queries that can be made directly to the API, in the additional README files. Notice that many API endpoints do not handle curies (ID prefixes) or predicates. The format of these queries is specified by the x-bte-annotated endpoint in the SmartAPI registry file.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"url": "https://smart-api.info/ui/dc91716f44207d2e1287c727f281d339#/1.0.0/querySmartAPI",
"smartAPI_ID": "671b45c0301c8624abbd26ae78449ca2",
"url": "https://api.bte.ncats.io/v1/smartapi/671b45c0301c8624abbd26ae78449ca2/query",
"TRAPI": true,
"edges": [
{
Expand Down Expand Up @@ -48,7 +47,7 @@
{
"subject_category": "biolink:PhenotypicFeature",
"object_category": "biolink:Disease",
"predicate": "biolink:related_to",
"predicate": "biolink:phenotype_of",
"subject": "HP:0000224",
"object": "MONDO:0012107"
},
Expand Down

0 comments on commit ee84805

Please sign in to comment.