Information engineering

Logo

Documentation, backgrounders and tutorial material related to information design, engineering, semantics, ontologies, and vocabularies

Standards and namespaces
Controlled vocabularies
Semantic Web Tools
Learning resources

Tutorial: Linked Data APIs Part 1

A tutorial introducing content negotiation and RDF software libraries via a python-based Jupyter notebook.

In this tutorial, we will learn to:

  1. Build a very simple Pizza ontology from scratch
  2. Import an ontology into the Topbraid editor
  3. Begin querying data using RDF and OWL

Learning Objectives

Attendees will:

Pre-requisites and assumptions

Part 1. RDF Graphs (20-30mins)

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

Exercise 1

Run through Section 1 of Linked Data Example 1.ipynb.

For discussion

Part 2. HTTP Content Negotiation (Conneg) (20-30mins)

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

Exercise 2.A. Content Negotiation By Media type

Run through Part 1 of Linked Data Example 2.ipynb .

For discussion

Exercise 2.B. Content Negotiation By Profile

Run through Part 2 of Linked Data Example 2.ipynb.

For discussion

References

Check out the Learning resources section for more material.

Other related pages: