staylorx / sparql_tutorial

This is the very fine Jena SPARQL tutorial using Python notebooks, and using the results as Panda's DataFrames.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sparql_tutorial

This is the Jena SPARQL tutorial updated using Python notebooks and using the results as Panda's DataFrames.

A fairly comprehensive tutorial on using SPARQL in Python, including,

  • Converting the SPARQL request into a Pandas DataFrame. It's turning out to be a lot easier to manipulate the dataframe outside of the SPARQL query that inside it.
  • Loading a graph via data and strings instead of files.
  • A very good list of FILTER, UNION, GRAPH, etc... which I can take no credit for. This is a copy of the Apache Jena tutorial found here: https://jena.apache.org/tutorials/sparql.html

This does need some work in the conjunctive graph space.

About

This is the very fine Jena SPARQL tutorial using Python notebooks, and using the results as Panda's DataFrames.

License:Apache License 2.0


Languages

Language:Jupyter Notebook 100.0%