A tutorial introducing content negotiation and RDF software libraries via a python-based Jupyter notebook.
In this tutorial, we will learn to:
- Build a very simple Pizza ontology from scratch
- Import an ontology into the Topbraid editor
- Begin querying data using RDF and OWL
Attendees will: *
- Access to a Jupyter notebook server with the following python libraries installed:
- RDFlib
- requests
- Familiarity with the HTTP protocol
- Familiarity with RDF
Objective: Understand how to work with RDF graphs and output different serialisations
In this part of the tutorial, we will be parsing an RDF file and loading it in using the RDFLib python module.
You'll need to open up this Jupyter notebook: Linked Data Example 1.ipynb
Run through Section 1 of Linked Data Example 1.ipynb
.
Objective: Understand how to issue HTTP Content Negotiation mediated calls using python
In this part of the tutorial, we will be parsing an RDF file and loading it in using the RDFLib python module.
You'll need to open up this Jupyter notebook: Linked Data Example 2.ipynb
Run through Part 1 of Linked Data Example 2.ipynb
.
Run through Part 2 of Linked Data Example 2.ipynb
.
Check out the Learning resources section for more material.
Other related pages:
- Content negotiation by media type: W3C SPARQL Specification
- Content negotiation by profile: W3C SPARQL Specification
- Getting started with rdflib