Setting Up a Graph Service

As we did with property graphs, we’re going to set up an RDF graph service to abstract over any RDF graph database that we want to query. The graph service will provide us with a common API for graph management and for sending queries to the graph database.

While we’ll use a local RDF graph database for testing, many public RDF graph databases are also available for querying. We’d like to try some of these out too. We can query these RDF graph databases through their public SPARQL endpoints. (We’ll be covering the RDF query language SPARQL in Chapter 8, Querying RDF with SPARQL.)

The SPARQL standard also defines a graph store HTTP protocol for graph admin. Our local RDF graph database supports this. We could use ...

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.