# bra0-kg
[](https://crates.io/crates/bra0-kg)
[](https://docs.rs/bra0-kg)
Knowledge-graph core: RDF transformations (parse, serialize, canonicalize, OWL 2 RL) over
[sophia](https://crates.io/crates/sophia), plus a `KgStore` trait that abstracts persistence.
Targets WebAssembly first, native second.
```toml
[dependencies]
bra0-kg = "0.2"
```
```rust
use bra0_kg::parse::parse_turtle;
use bra0_kg::serialize::to_turtle;
let (graph, _count) = parse_turtle("<urn:s> <urn:p> <urn:o> .")?;
let turtle = to_turtle(&graph)?;
```
Optional features: `standalone` (oxigraph-backed SPARQL store), `wasm`, `ner`.
## License
MIT OR Apache-2.0, at your option.