# RDF Types

[![CI](https://github.com/timothee-haudebourg/rdf-types/workflows/CI/badge.svg)](https://github.com/timothee-haudebourg/rdf-types/actions)
[![Crate informations](https://img.shields.io/crates/v/rdf-types.svg?style=flat-square)](https://crates.io/crates/rdf-types)
[![License](https://img.shields.io/crates/l/rdf-types.svg?style=flat-square)](https://github.com/timothee-haudebourg/rdf-types#license)
[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square)](https://docs.rs/rdf-types)

This is a utility library providing common types
when dealing with RDF data:
blank node identifier, literal, subject, predicate, object,
graph label, gRDF term, triple and quad.

The optional feature `loc` provides compatibility
with the `locspan` crate to locate every sub-component
of a term.

## License

Licensed under either of

 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.
