Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update format list to all four W3C RDF formats; rename Export Tags ? Export UNS; remove fallback warnings (no longer applicable)

...

AI skill: serialize the current UNS to an RDF/OWL graph file via the Export Tags UNS format selector (Solution → Export tab) or the export_graph_model MCP tool.

...

  • “Export my UNS as RDF/JSON so I send it to the ontology group”
  • “Save the solution as JSON-LD for our PIM import”
  • “Give me the UNS as Turtle so I can paste it into Protégé”
  • “Round-trip check. Re-import what I exported and diff”

...

  1. If the user has been modifying @Tag.X.Attributes at runtime, offer promote_retentive_attributes first. The exporter reads cold-start for determinism, so runtime-only changes do not appear in the export otherwise.
  2. Pick a format. All four W3C formats ship in 10.1.5 GA:
    • rj (default
    , fully implemented), jsonld (falls back to rj in 10.1.5 with a warning, native in 10.1.6).
    • , W3C RDF/JSON, .rj)
    • jsonld (JSON-LD 1.1 flattened, .jsonld)
    • turtle (Turtle, .ttl — alias ttl)
    • ntriples (N-Triples, .nt — aliases n-triples, nt)
  3. Call:
    Code Block
    languagenone
    export_graph_model(format="rj", output_name="my-uns")
  4. Relay the outputPath back. It is the file the user shares or uploads.
  5. If any warnings[] entry mentions a format fallback, surface it so the user is not surprised their .jsonld request came back as .rjthe user asks about round-tripping (re-importing what they just exported), surface the importer asymmetry: the importer in 10.1.5 reads RDF/JSON only. Round-trip checks must use format="rj" end-to-end. JSON-LD / Turtle / N-Triples readers land in a follow-up release backed by dotNetRDF. Publishing to a triple store or sharing with an ontology team works with any of the four formats — pick whichever the destination accepts.

Gotchas to surface

  • No SPARQL push in 10.1.5. The file lands in the Exchange folder. Upload to GraphDB / Stardog / Fuseki is the user's job.
  • Round-trip is faithful at the UserType level, not the OWL axiom level. Restrictions and anonymous class unions do not survive. Set expectations before the diff.
  • Round-trip is format-asymmetric in 10.1.5. All four formats export; only RDF/JSON imports. If the user picked Turtle or JSON-LD intending to re-import, redirect them to RDF/JSON before the export runs.
  • FX Solution Localization strings are NOT consulted at export. Alt-language rdfs:label variants live in the Attributes column keyed rdfs:label@pt and similar.

...