Migrating to TripleModel 0.11.0
0.11.0 removes the last rdflib integration from TripleModel. The runtime engine remains pyoxigraph only.
Dependency
pip install 'triplemodel>=0.11,<2'
There is no triplemodel[shacl] extra. Core install never included rdflib after 0.10.0.
SHACL validation removed
Removed |
Migration |
|---|---|
|
Install |
|
Call |
|
Validate outside TripleModel before or after export |
|
Same |
TripleModel no longer converts Store graphs to rdflib for validation.
Renamed kwargs
0.10.x |
0.11.0 |
|---|---|
|
|
|
|
|
|
High-level TripleModel.parse(..., base=) is unchanged.
bind_namespaces strategy
strategy="rdflib" was an alias for "core". Use "core" or "none" only.
Additive store and SPARQL helpers (same 0.11.0 release)
No further breaking changes. New exports include bulk_load_into_graph, dump_store, load_store, backup_store, optimize_store, store_flush, named-graph helpers, iter_quads_for_pattern, parse_query_results, canonicalize_quads, and extended run_sparql dataset options. See guide 15 and examples/stores/bulk_load_backup.py.
RDF 1.2 triple terms as model field values remain out of scope; use raw pyoxigraph.Triple at the store layer.