Case 1: Tokyo Metro

Learn how to use SPARQL to query over the RDF dataset for the Tokyo Metro case study.

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 queries and saved those to the graph store. We have put both graph and queries under their own metro directory.

Get hands-on with 1200+ tech skills courses.