Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oxigraph/rio
RDF parsers library
https://github.com/oxigraph/rio
n-quads n-triples parser rdf rdf-xml rust trig turtle
Last synced: 4 days ago
JSON representation
RDF parsers library
- Host: GitHub
- URL: https://github.com/oxigraph/rio
- Owner: oxigraph
- License: apache-2.0
- Created: 2019-07-25T19:18:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T03:42:43.000Z (10 days ago)
- Last Synced: 2024-10-31T11:04:22.483Z (8 days ago)
- Topics: n-quads, n-triples, parser, rdf, rdf-xml, rust, trig, turtle
- Language: Rust
- Homepage:
- Size: 702 KB
- Stars: 86
- Watchers: 7
- Forks: 10
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - oxigraph/rio - RDF parsers library (Rust)
- awesome-starred - oxigraph/rio - RDF parsers library (rust)
README
Rio
===[![actions status](https://github.com/oxigraph/rio/workflows/build/badge.svg)](https://github.com/oxigraph/rio/actions)
Warning: Rio is deprecated.
Please use instead [oxrdfio](https://docs.rs/oxrdfio)
or the more specific crates [oxttl](https://docs.rs/oxttl) and [oxrdfxml](https://docs.rs/oxrdfxml).Rio is a low level library which provides conformant and fast parsers and formatters for RDF related file formats.
These libraries are going to be replaced by the [oxttl](https://crates.io/crates/oxttl) and [oxrdfxml](https://crates.io/crates/oxrdfxml) libraries.
It currently provides [N-Triples](https://docs.rs/rio_turtle/latest/rio_turtle/struct.NTriplesParser.html), [N-Quads](https://docs.rs/rio_turtle/latest/rio_turtle/struct.NQuadsParser.html), [Turtle](https://docs.rs/rio_turtle/latest/rio_turtle/struct.TurtleParser.html), [TriG](https://docs.rs/rio_turtle/latest/rio_turtle/struct.TrigParser.html) and [RDF/XML](https://docs.rs/rio_xml/latest/rio_xml/struct.RdfXmlParser.html) parsers and formatters.
It is split into multiple crates:
* `rio_api` provides common traits and data structures to be used in Rio parsers (`Triple`, `TriplesParser`, `Iri`...).
[![Latest Version](https://img.shields.io/crates/v/rio_api.svg)](https://crates.io/crates/rio_api)
[![Released API docs](https://docs.rs/rio_api/badge.svg)](https://docs.rs/rio_api)
* `rio_turtle` provides conformant streaming parsers and formatters for [Turtle](https://www.w3.org/TR/turtle/), [TriG](https://www.w3.org/TR/trig/), [N-Triples](https://www.w3.org/TR/n-triples/) and [N-Quads](https://www.w3.org/TR/n-quads/).
[RDF-star](https://w3c.github.io/rdf-star/cg-spec/) syntaxes are also supported: [Turtle-star](https://w3c.github.io/rdf-star/cg-spec/#turtle-star), [TriG-star](https://w3c.github.io/rdf-star/cg-spec/#trig-star), [N-Triples-star](https://w3c.github.io/rdf-star/cg-spec/#n-triples-star) and [N-Quads-star](https://w3c.github.io/rdf-star/cg-spec/#n-quads-star).
[![Latest Version](https://img.shields.io/crates/v/rio_turtle.svg)](https://crates.io/crates/rio_turtle)
[![Released API docs](https://docs.rs/rio_turtle/badge.svg)](https://docs.rs/rio_turtle)
* `rio_xml` provides a conformant streaming parser and a formatter for [RDF/XML](https://www.w3.org/TR/rdf-syntax-grammar/).
[![Latest Version](https://img.shields.io/crates/v/rio_xml.svg)](https://crates.io/crates/rio_xml)
[![Released API docs](https://docs.rs/rio_xml/badge.svg)](https://docs.rs/rio_xml)There is also the `rio_testsuite` crate that is used for testing Rio parsers against the [W3C RDF tests](http://w3c.github.io/rdf-tests/) to ensure their conformance.
It provides both an executable for building implementation reports and integration test to quickly ensure that the parsers stay conformant.
It is not designed to be used outside of Rio.## License
Copyright 2019-2021 The Rio developers.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.