Portal:Semantic Web/Open PHACTS API

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
(New page: The [http://www.openphacts.org/ Open PHACTS projects] provides an alternative to work with the WikiPathways RDF, as it is loaded in the data cache of Open PHACTS. The [https://dev.openphac...)
Line 1: Line 1:
The [http://www.openphacts.org/ Open PHACTS projects] provides an alternative to work with the WikiPathways RDF, as it is loaded in the data cache of Open PHACTS. The [https://dev.openphacts.org/docs Open PHACTS API] provides various queries, like "give me all targets in a pathway". It requires a [https://dev.openphacts.org/signup (free) account] to use this system.
The [http://www.openphacts.org/ Open PHACTS projects] provides an alternative to work with the WikiPathways RDF, as it is loaded in the data cache of Open PHACTS. The [https://dev.openphacts.org/docs Open PHACTS API] provides various queries, like "give me all targets in a pathway". It requires a [https://dev.openphacts.org/signup (free) account] to use this system.
 +
 +
For example, to get the pathways in which SLC25A4 is found, you can use curl:
 +
 +
    curl -X GET --header "Accept: application/json" "https://beta.openphacts.org/2.1/pathways/byTarget?uri=http%3A%2F%2Fidentifiers.org%2Fncbigene%2F282478&app_id=91f5d4d0&app_key=1af5086da757e57c553bfa1351708d5f"
 +
 +
== API clients ==
 +
 +
Besides interacting with the API end point directly, as with curl in the above example, there are also dedicated Open PHACTS API clients that you can use:
 +
 +
* [https://www.openphacts.org/open-phacts-discovery-platform/knime KNIME nodes] (beta)
 +
* R package: [https://github.com/egonw/ropenphacts ropenphacts] (experimental)

Revision as of 09:26, 5 May 2017

The Open PHACTS projects provides an alternative to work with the WikiPathways RDF, as it is loaded in the data cache of Open PHACTS. The Open PHACTS API provides various queries, like "give me all targets in a pathway". It requires a (free) account to use this system.

For example, to get the pathways in which SLC25A4 is found, you can use curl:

   curl -X GET --header "Accept: application/json" "https://beta.openphacts.org/2.1/pathways/byTarget?uri=http%3A%2F%2Fidentifiers.org%2Fncbigene%2F282478&app_id=91f5d4d0&app_key=1af5086da757e57c553bfa1351708d5f"

API clients

Besides interacting with the API end point directly, as with curl in the above example, there are also dedicated Open PHACTS API clients that you can use: