Stage 1: Getting RDF into an LPG Store

This stage of the journey will be to import RDF data into a property graph database. The first step is obviously to acquire some RDF data.

In the top part of the previous figure, you saw the remote endpoints we will query to get some RDF data. The following figure shows just that part again.

images/book-transform-worked-example-2.png

Step 1—Querying Remote SPARQL Endpoints for RDF

We are going to query two public SPARQL endpoints for data: DBpedia and Wikidata. We’re going to get a separate RDF graph from each of these two endpoints and then merge those two graphs into a single RDF graph for further processing.

So, let’s switch our graph service to ...

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.