Search⌘ K
AI Features

Case 1: Tokyo Metro

Explore how to load and query RDF data representing the Tokyo Metro using SPARQL. Learn to retrieve node types, predicates, line names, and station names, and enrich datasets by adding types with CONSTRUCT queries. This lesson helps you practice querying open RDF datasets effectively.

We'll cover the following...

Dataset

Rail networks make for great examples of applied graphs. Here, we’re going to use an example of the Tokyo Metro that has been modeled as RDF and published as public domain open data—see RDF datasets from DataDock. There are three separate RDF datasets for the lines, stations, and stops listed as tokyo_metro-*.nt.gz. We have downloaded those files and concatenated them into the single source file tokyo_metro.nt.

We have also built some ...