Model the Book Graph
Explore how to model a book graph using RDF within Elixir, understanding the primitive RDF data structure with URIs for nodes and edges. Learn how node labels and properties are represented separately as independent nodes, and see the benefits of RDF's open data model for global semantic integration.
We'll cover the following...
Book graph mapped to RDF
Before we start building and querying RDF, we 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. The book graph can be mapped to RDF as shown in the figure here.
What’s different in RDF?
One thing that we can immediately see is that RDF is more “graphy” than the property graph because labels and attributes are modeled as independent nodes. The attributes here are shown for convenience as a single ...