Jupyter Notebook and SPARQL Integration

Jupyter is a popular Data Science notebook used by Data Scientists for Data Analysis. Adding SPARQL access enriches the data sources available for this kind of analysis. For instance, it extends access to the massive LOD Cloud Knowledge Graph comprising a rich collection subject-matter realms that cover most of mankind’s knowledge.

This post covers the use of sparqlkernel for using SPARQL Queries to populate a Jupyter Notebook.

Steps

  1. Install the Python package

    pip install sparqlkernel
    
  2. Install the kernel into Jupyter

    jupyter sparqlkernel install [--user] [--logdir <dir>]
    

Usage Example Screenshots.

Related