November 2022
Intermediate to advanced
294 pages
5h 58m
English
Rail networks make for great examples of applied graphs. In the early years of RDF development, I felt compelled to model the London Underground (or Tube) map as an RDF graph. (I’m surely not the only person who ever tried that.) Here we are going to use an example of the Tokyo Metro that has been modeled as an RDF graph and published as public domain open data—see RDF datasets from DataDock.[70] There are three separate RDF datasets for the lines, stations, and stops listed as tokyo_metro-*.nt.gz. You can simply download, unzip, and concatenate those files into a single source file tokyo_metro.nt. These are in RDF N-Triples format, a subset of the RDF Turtle format.
So now, we’ve got a local copy of the graph, and we can ...