Querying knowledge graph using Elasticsearch


The goal of this notebook is to learn how to connect to an Elasticsearch view and run queries against it. It is not a tutorial about the Elasticsearch DSL language for which many well written learning resources are available.

What you’ll build

  • A simple python client to connect to a Nexus ElasticSearchView and query a knowledge graph using Elasticsearch DSL

What you’ll learn

  • How to connect to and query a ElasticSearchView in Nexus

What you’ll need

  • A Python 3.5 or higher with support of Jupyter notebook

Get the tutorial code

This tutorial code is available: