# strixonomy-owl
> Part of **Strixonomy** (semantic workspace engine).
Horned-OWL facade for OWL axiom modeling, Turtle/XML patch write-back (including `add_import` / `remove_import`), IRI remap/merge, and Manchester syntax for [Strixonomy](https://github.com/eddiethedean/strixonomy).
## Install
```toml
strixonomy-owl = "0.28"
```
## Quick sample
```rust
use std::collections::BTreeMap;
use strixonomy_owl::{apply_patches_to_text, PatchOp};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let src = r#"@prefix ex: <http://example.org#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
ex:Person a owl:Class .
"#;
let result = apply_patches_to_text(
src,
&[PatchOp::AddLabel {
entity_iri: "http://example.org#Person".into(),
value: "Person".into(),
}],
false,
&BTreeMap::new(),
)?;
println!("{}", result.preview_text.unwrap_or_default());
Ok(())
}
```
## Documentation
- [Patch reference](https://strixonomy.readthedocs.io/en/latest/patch-reference/)
- [Authoring guide](https://strixonomy.readthedocs.io/en/latest/authoring/)
- [docs.rs](https://docs.rs/strixonomy-owl)
- [Rust & CLI docs](https://strixonomy.readthedocs.io/en/latest/guides/rust-crates/)
## License
MIT OR Apache-2.0 (links LGPL `horned-owl` — see [LICENSES](https://strixonomy.readthedocs.io/en/latest/design/LICENSES/))