hero

RDF on Elixir

Linked Data ❤ Elixir

Get Started →

RDF.ex

Data structures to build RDF graphs and datasets, which can be loaded and stored in the most popular serializations formats - N-Triples, N-Quads, Turtle, RDF-XML, JSON-LD - and validated with ShEx.

SPARQL.ex

Perform SPARQL queries against the data in your RDF.ex data structures or any public SPARQL service - Wikidata, Dbpedia, LinkedGeoData, you name it

Grax

A light-weight graph data mapper which maps RDF graph data from RDF.ex data structures to schema-conform Elixir structs for the domain models of an RDF-based application.

def schema_org_description do
  ~I<https://rdf-elixir.dev>
  |> RDF.type(Schema.Website)
  |> Schema.about(
       ~I<https://github.com/rdf-elixir/rdf-ex>,
       ~I<https://github.com/rdf-elixir/sparql-ex>,
       ~I<https://github.com/rdf-elixir/shex-ex>
     )
  |> JSON.LD.write_file!("description.jsonld")
end