# ShEx.ex
[![Travis](https://img.shields.io/travis/marcelotto/shex-ex.svg?style=flat-square)](https://travis-ci.org/marcelotto/shex-ex)
[![Hex.pm](https://img.shields.io/hexpm/v/shex.svg?style=flat-square)](https://hex.pm/packages/shex)
[![Inline docs](http://inch-ci.org/github/marcelotto/shex-ex.svg)](http://inch-ci.org/github/marcelotto/shex-ex)
An implementation of the [ShEx] specification in Elixir.
It allows to run validations specified in the Shape Expressions language (ShEx) on RDF graphs.
> Shape Expressions (ShEx) is a language for describing RDF graph structures. A ShEx schema prescribes conditions that RDF data graphs must meet in order to be considered "conformant": which subjects, predicates, and objects may appear in a given graph, in what combinations and with what cardinalities and datatypes.
-- [Shape Expressions (ShEx) Primer](http://shex.io/shex-primer/#tripleConstraints)
For more about ShEx.ex and it's related projects, go to <https://rdf-elixir.dev>.
## Limitations
- the following ShEx features are not implemented yet:
- imports
- external shapes
- annotations
- semantic actions
- only the [datatypes supported by RDF.ex](https://rdf-elixir.dev/rdf-ex/literals.html#typed-literals) are supported in datatype and numeric facet constraints (more supported datatypes are the next planned feature for RDF.ex)
- greedy
- non-ascii characters in regular expression are not fully supported yet
## Consulting and Partnership
If you need help with your Elixir and Linked Data projects, just contact <info@cokron.com> or visit <https://www.cokron.com/kontakt>
## License and Copyright
(c) 2019 Marcel Otto. MIT Licensed, see [LICENSE](LICENSE.md) for details.
[ShEx]: http://shex.io/