https://github.com/staylorx/sparql_tutorial
This is the very fine Jena SPARQL tutorial using Python notebooks, and using the results as Panda's DataFrames.
https://github.com/staylorx/sparql_tutorial
graphs ontology pandas python rdflib sparql tutorial
Last synced: 8 months ago
JSON representation
This is the very fine Jena SPARQL tutorial using Python notebooks, and using the results as Panda's DataFrames.
- Host: GitHub
- URL: https://github.com/staylorx/sparql_tutorial
- Owner: staylorx
- License: apache-2.0
- Created: 2020-06-05T21:31:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-19T19:29:07.000Z (almost 3 years ago)
- Last Synced: 2025-03-26T04:28:06.712Z (11 months ago)
- Topics: graphs, ontology, pandas, python, rdflib, sparql, tutorial
- Language: Jupyter Notebook
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.