v0.29.0 — Ontology Round-Trip (OWL Import/Export)
v0.29.0 — Ontology Round-Trip (OWL Import/Export)
Highlights
Full OWL round-trip support for Fabric Ontologies — import from and export to standard RDF/XML and JSON-LD. Compatible with Ontology Playground.
New Commands
fabio ontology import— Parse OWL (RDF/XML or JSON-LD) and push directly to a Fabric Ontology itemfabio ontology export— Fetch a Fabric Ontology and serialize to OWL RDF/XML or JSON-LDfabio context tenant --format owl— Export tenant topology as OWL schema (importable)fabio context tenant --format rdf— Export tenant topology as RDF/XML schema (importable)fabio context tenant --format full— Schema + instances in one RDF/XML file (works everywhere)
Workflows
# Import Ontology Playground catalogue files directly into Fabric
fabio ontology import --workspace $WS --id $ONT --file cosmic-coffee.rdf
# Export and re-import (full round-trip preserves types + relationships)
fabio ontology export --workspace $WS --id $ONT --format rdf --file out.rdf
fabio ontology import --workspace $WS --id $ONT2 --file out.rdf
# Extract tenant topology → Fabric Ontology (one pipeline)
fabio context tenant --workspace $WS --deep --format full --output-file tenant.rdf
fabio ontology import --workspace $WS --id $ONT --file tenant.rdfStats
- 14 commits since v0.28.0
- 14 unit tests + 10 live E2E tests for import/export/round-trip
- 5 cross-compilation targets passing
- New dependency:
quick-xml0.40.1 (MIT license) for RDF/XML parsing
Full Changelog
Full Changelog: v0.28.0...v0.29.0