Skip to content

v0.29.0 — Ontology Round-Trip (OWL Import/Export)

Choose a tag to compare

@iemejia iemejia released this 18 Jun 22:36
· 90 commits to main since this release

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 item
  • fabio ontology export — Fetch a Fabric Ontology and serialize to OWL RDF/XML or JSON-LD
  • fabio 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.rdf

Stats

  • 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-xml 0.40.1 (MIT license) for RDF/XML parsing

Full Changelog

v0.28.0...v0.29.0

Full Changelog: v0.28.0...v0.29.0