Modeling the Book Graph
Before we start building and querying RDF, we’ll want a better understanding of how to work with it. To get a better feel for what the RDF model looks like, let’s revisit the book graph we introduced in the first chapter—see this figure, which shows our reference book graph.
The book graph can be mapped to RDF as shown in the figure.
One thing that we can immediately see is that RDF is more “graphy” than the property graph we saw earlier in Modeling the Book Graph, because labels and attributes are modeled as independent nodes. (The attributes here are shown for convenience as a single document icon, but in reality, each ...
Get Exploring Graphs with Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.