RDFGraph Project

Learn how to set up the RDFGraph module in the umbrella app.

To get some experience working with RDF graphs from Elixir, we’ll set up an RDFGraph project under our umbrella application.

Things we need

We need an RDF graph database for local experiments and will use the free version of Ontotext GraphDB™.

We typically connect to RDF graph databases over the web using SPARQL endpoints, which is what we do here. Note that SPARQL is the query language for RDF graphs.

The RDF.ex project from Marcel Otto has some really good support for working with RDF. He’s also published the SPARQL.ex and SPARQL.Client projects for querying RDF, as well as JSON-LD.ex for serializing RDF.

Creating the project

Without further ado, let’s create a new project RDFGraph:

Get hands-on with 1200+ tech skills courses.