Search⌘ K
AI Features

Get Started with SPARQL

Explore the fundamentals of querying RDF graphs using the SPARQL query language within Elixir. Understand key SPARQL query forms such as SELECT and CONSTRUCT, and learn to use the sparql_client package to dispatch queries to RDF graph databases. This lesson provides a practical introduction to executing graph queries and understanding their results in the context of RDF data management.

The sparql_client package

The rdf package from the RDF.ex project is used for RDF processing in Elixir. There’s also a sparql_client package for querying RDF graph stores with SPARQL. In fact, there are two SPARQL packages:

  • sparql (from the SPARQL.ex project) for querying in-memory RDF models.

  • sparql_client (from the SPARQL.Client project) for dispatching queries to RDF graph databases, or RDF triplestores as they are usually referred to. ...