Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Hub
  • knime
  • Spaces
  • Workflow Snippets
  • Query GraphQL API
WorkflowWorkflow

Query GraphQL API

Life Sciences GraphQL Genes Open Targets Platform

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
This workflow snippet demonstrate an example query to a GraphQL API. The Opentargets Platform provides a GraphQL API, which supports queries for a single target, disease/phenotype, drug, or target-disease association. In this example we provide the Ensembl Gene ID to get further informations like approved symbol, approved name, description, genomic location (chromosome, start- and endpoints), alternative genes, unique diseases and unique drugs. The Ensembl IDs are provided in a table and the query is define in the String Manipulation node. The query is transformed to a JSON format, so it can be send as a request body in the POST request node. The response JSON is parsed using the JSON Path node and a simple Column Filter node removes the JSON query column for a cleaner table. For more informations about the Opentarget Platform GraphQL API see the documentation: https://platform-docs.opentargets.org/data-access/graphql-api To get an understanding of the Opentarget Platform GraphQL API and test different queries, please use the Opentarget Platform GraphQL Playground: https://api.platform.opentargets.org/api/v4/graphql/browser

External resources

  • Open Targets Platform GraphQL Playground
  • Open Targets Platform GraphQL API Documentation
  • Open Targets Platform

Used extensions & nodes

Created with KNIME Analytics Platform version 4.4.1
  • Go to item
    KNIME Base nodes Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.1

  • Go to item
    KNIME Javasnippet Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.1

  • Go to item
    KNIME JSON-Processing Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.1

  • Go to item
    KNIME REST Client Extension Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.0

  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

Legal

By using or downloading the workflow, you agree to our terms and conditions.

Discussion
Discussions are currently not available, please try again later.

KNIME
Open for Innovation

KNIME AG
Hardturmstrasse 66
8005 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Server
© 2022 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits