Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove aspirational claims that have zero code (ISA-95, Turtle, SPARQL endpoint, GraphDB source kind); align policy name to wizard; keep skill accurate for AI assistants.

...

AI skill: import an RDF/OWL /ISA-88/ISA-95/IOF ontology file into the FrameworX Unified Namespace using the import_graph_model MCP tool. Ships with policy starters for ISA-88 and IOF.

AI IntegrationPlatform Skills Library → Import Industrial Ontology

...

  • “Here's an IOF biopharma ontology. Build me the UDTs and tags”
  • “I have a Turtle file from our corporate PIM. Import it”
  • tags.”
  • “Import this RDF/JSON ontology file I got from the modelling team.”
  • “Materialize “Pull the ISA-88 master recipe from our GraphDB and materialize it”I downloaded as RDF/JSON.”

Preconditions

  1. Solution open in Designer (check via get_state).
  2. User has AllowEditTags permission.
  3. Source file is RDF/JSON (.rj) reachable from Designer, OR an inline RDF/JSON string, OR a SPARQL endpoint URL. Other serializations (JSON-LD, Turtle, RDF/XML, N-Triples on disk) are on the roadmap — use .rj for reliable import in 10.1.5. If the user has only a SPARQL endpoint, fetch the graph via WebData first and pass the RDF/JSON response as inline content.

Steps

  1. Confirm the solution is the right target. If not, offer to create_solution or open_solution.
  2. Pick a policy: iof for IOF ontologies, isa88 for batch hierarchies, custom-starter for unknown schemas (or omit the parameter for defaults). Ask the user if unsure.
  3. Run dry-run first:
    Code Block
    languagenone
    import_graph_model(source="file", file_path="C:/.../file.rj", policy="iof", dry_run=true)
  4. Summarize the dry-run to the user: class count, instance count, warnings[]. Flag cycles and multi-parent cases.
  5. On user approval, re-run with dry_run=false.
  6. Call generate_uns_visual(scope="full") to verify the imported structure visually.

...

  • Do NOT fabricate class or policy names. If the user describes an ontology without providing the file, ask for the path or the triples. Fabricated policy files are the #1 misuse mode.
  • File format today is .rj (RDF/JSON). If the user has Turtle, JSON-LD, RDF/XML, or N-Triples, ask them to convert to RDF/JSON first (many graph tools offer this export). Non-.rj formats are on the roadmap; today the import will fail or silently fall back.
  • /Attr convention. Typed individuals become tags at <path>/<name>/Attr. Folders auto-create. Explain if the user is surprised by the trailing /Attr.
  • Re-import collision. Default is skip (user edits win). Ask before switching to overwrite.
  • Runtime Attributes do not round-trip automatically. Run promote_retentive_attributes first if the user expects them to.

...