<img src="rdf-logo.png" align="right" />

# RDF.ex

[![Inline docs](](

An implementation of the [RDF]( data model in Elixir.

The API documentation can be found [here]( For a guide and more information about RDF.ex and it's related projects, go to <>.

## Features

- fully compatible with the RDF 1.1 specification
- in-memory data structures for RDF descriptions, RDF graphs and RDF datasets
- ability to execute [SPARQL] queries against the in-memory data structures via the [SPARQL.ex] package or against any SPARQL endpoint via the [SPARQL.Client] package
- support for RDF vocabularies via Elixir modules for safe, i.e. compile-time checked and concise usage of IRIs
- XML schema datatypes for RDF literals (not yet all supported)
- sigils for the most common types of nodes, i.e. IRIs, literals, blank nodes and lists
- a description DSL resembling Turtle in Elixir
- implementations for the [N-Triples], [N-Quads] and [Turtle] serialization formats; [JSON-LD] is implemented in the separate [JSON-LD.ex] package
- ability to validate data against [ShEx] schemas via the [ShEx.ex] package

## Contributing

There's still much to do for a complete RDF ecosystem for Elixir, which means there are plenty of opportunities for you to contribute. Here are some suggestions:

- more serialization formats
    - [RDFa]
    - [RDF-XML]
    - [N3]
    - et al.
- more XSD datatypes
- improve documentation

see [CONTRIBUTING]( for details.

## Consulting and Partnership

If you need help with your Elixir and Linked Data projects, just contact <> or visit <>

## License and Copyright

(c) 2017-2019 Marcel Otto. MIT Licensed, see [LICENSE]( for details.