using the open phacts api with knime

Download Using the Open PHACTS API with KNIME

If you can't read please download the document

Upload: field

Post on 09-Jan-2016

79 views

Category:

Documents


1 download

DESCRIPTION

Using the Open PHACTS API with KNIME. Daniela Digles [email protected] Open PHACTS Community Workshop. KNIME. Konstanz Information Miner Available from www.knime.org Open source data analytics, reporting and integration platform Workflows can be built by connecting „Nodes“. - PowerPoint PPT Presentation

TRANSCRIPT

  • Using the Open PHACTS API with KNIMEDaniela [email protected] PHACTS Community Workshop

  • KNIMEKonstanz Information Miner Available from www.knime.orgOpen source data analytics, reporting and integration platformWorkflows can be built by connecting Nodes

  • OPS-Knime nodesOPS_Swagger: creates the API callSwagger file is used to automatically provide available API calls and parameters

    OPS_JSON:executes the API calltransforms the output into a flattened spreadsheet format

    alpha version available from https://github.com/openphacts/OPS-Knime

  • SwaggerStructured format for the generation of API documentation. (https://helloreverb.com/developers/swagger)https://raw.githubusercontent.com/openphacts/OPS_LinkedDataApi/1.3.1/api-config-files/swagger.json

  • https://dev.openphacts.org/docs/1.3

  • OPS_Swagger detailsKnime node where the user provides a url to a Swagger file (default: current Open PHACTS API)File is parsed and provides a list of the available API calls.Parameters tab is updated to the available parameters. Parameters can be set in the parameters tab or in the input table.Output of the node is an executable API call.

    AdvantagesUpdates to Swagger file are automatically shown in the node interface.Descriptions of the parameters are available.Nodes remember the configuration and can be re-used and shared. Can be used for any API which uses Swagger.

    DisadvantageSome familiarity with the Open PHACTS API necessary.

  • OPS_Swagger details

  • OPS_Swagger details

  • OPS_JSON detailsExecutes API callHierarchical json structure is flattened:Traverse recursively through JSON hierarchyConcatenate the JSON keys which become column headers for the tablesThe cells are the values from the current JSON key in the pathAn example API call is used to fetch the available columnsUser can select and rename the columns he is interested inOutput: table with user selected columnstable with full flattened json output

  • OPS_JSON details

  • Example workflow

  • AcknowledgementsRonald Siebes (VU Amsterdam) Emiliano Cuadrado (USC)Christine Chichester (SIB)