Release status
This documentation tip describes 0.13.0 (the current published package
version). Pin installs as oxiland = "0.13.0" / pip install oxiland==0.13.0,
or use a git/path checkout for unreleased tip APIs.
Oxiland
Typed RDF, SPARQL, and local persistence—without a database server.
Build linked-data applications with validated terms, named graphs, SPARQL 1.1, streaming I/O, and an embedded durable store inside your process.
from oxiland import Model, load, query
graph = Model()
load(
graph,
'<alice> <name> "Alice" .',
"turtle",
base_iri="https://example.com/",
)
assert query(graph, "ASK { ?s ?p ?o }")
Suite-wide faster-than-Redland authorized
Tip closed the ADR-028 competitive-parity gate and the ADR-029 suite-wide faster-than-Redland gate (Linux, macOS, and Windows × three independent strict runs). See the performance guide and the 0.13 report for claims policy and tables.
Choose your path¶
Python
Go from pip install to a queried dataset in five minutes.
Rust
Use a compact, safe API for models, storage, queries, and RDF streams.
Open the Rust guide →Command line
Import, inspect, query, and export local datasets from scripts or a shell.
Open the CLI guide →C ABI preview
Link a Redland-shaped source-compat preview against a frozen allowlist.
Open the C ABI guide →One toolkit, the complete local workflow¶
Model RDF precisely
Validated IRIs, blank nodes, literals, triples, quads, default graphs, and named graphs give applications a clear data contract.
Own the data lifecycle
Choose an in-memory model or a durable local store with atomic transactions, explicit sync, read-only access, and portable N-Quads backups.
Query with SPARQL
Run ASK, SELECT, CONSTRUCT, DESCRIBE, and Update. Consume large result sets as lazy iterators instead of materializing them all at once.
Stream standard formats
Read and write Turtle, N-Triples, N-Quads, TriG, and RDF/XML with explicit syntax and import-failure semantics.
Ready for more than a demo¶
Oxiland is an embedded library, not a hosted database. Your application owns the store path, permissions, process lifecycle, capacity, backups, and network boundary. The production guides turn those responsibilities into an operating model.
Compatibility claims are evidence-scoped
Oxiland provides Redland-shaped workflows. Tip 0.13 retains the frozen 0.11 source/binary compatibility evidence and authorizes suite-wide faster-than-Redland under ADR-029; it is not an rdflib adapter. Start with the positioning guide and verify each claim in the parity ledger.