Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| onto_align | Detect alignment candidates (owl:equivalentClass, skos:exactMatch, rdfs:subClassOf) between two ontologies using label similarity, property overlap, parent overlap, instance overlap, restriction patterns, and graph neighborhood. Auto-applies high-confidence matches above threshold. |
| onto_align_feedback | Accept or reject an alignment candidate to improve future confidence scoring. Stores feedback in align_feedback table for self-calibrating weights. |
| onto_apply | Apply the last plan. Modes: 'safe' (clear+reload, checks monitor), 'force' (ignores monitor), 'migrate' (adds owl:equivalentClass/Property bridges for renames). |
| onto_clear | Clear all triples from the in-memory ontology store |
| onto_convert | Convert an RDF file between formats: turtle, ntriples, rdfxml, nquads, trig |
| onto_crosswalk | Look up clinical crosswalk mappings for a code and system (ICD10, SNOMED, MeSH). Requires data/crosswalks.parquet. |
| onto_diff | Compare two ontology files and show added/removed triples |
| onto_dl_check | Check if one class is subsumed by another using DL tableaux reasoning. Returns whether sub_class is a subclass of super_class, with justification. |
| onto_dl_explain | Explain why a class is unsatisfiable using DL tableaux reasoning. Returns an explanation trace showing the logical contradictions that make the class impossible to instantiate. |
| onto_drift | Detect drift between two ontology versions. Returns added/removed terms, likely renames with confidence scores, and drift velocity. |
| onto_embed | Generate text + structural Poincaré embeddings for all classes in the loaded ontology. Requires the embedding model (run |
| onto_enforce | Enforce design patterns on the loaded ontology. Built-in packs: 'generic' (orphan classes, missing domain/range/label), 'boro' (BORO 4D patterns), 'value_partition' (disjoint/covering checks). Also runs any custom rules stored for the pack. |
| onto_enforce_feedback | Accept or dismiss an enforce violation to improve future enforce runs. Dismissed violations are suppressed after 3 dismissals. Stores feedback for self-calibrating compliance. |
| onto_enrich | Enrich an ontology class with a SKOS mapping triple from the clinical crosswalks. |
| onto_extend | Convenience pipeline: ingest data → validate with SHACL → run OWL reasoning, all in one call. Combines onto_ingest + onto_shacl + onto_reason. |
| onto_history | List all saved ontology version snapshots |
| onto_import | Resolve and load all owl:imports from the currently loaded ontology |
| onto_import_schema | Import a PostgreSQL database schema as an OWL ontology. Introspects tables, columns, primary keys, and foreign keys, then generates OWL classes, datatype/object properties, and cardinality restrictions. |
| onto_ingest | Parse a structured data file (CSV, JSON, NDJSON, XML, YAML, XLSX, Parquet) into RDF triples and load into the ontology store. Optionally uses a mapping config to control field-to-predicate mapping. |
| onto_lineage | Get the compact lineage log for the current or specified session. |
| onto_lint | Check an ontology for quality issues: missing labels, comments, domains, ranges |
| onto_lint_feedback | Accept or dismiss a lint issue to improve future lint runs. Dismissed issues are suppressed after 3 dismissals. Stores feedback for self-calibrating severity. |
| onto_load | Load an RDF file into the in-memory ontology store for querying |
| onto_lock | Lock IRIs to prevent removal during plan/apply. Locked IRIs will show as violations in plan output. |
| onto_map | Generate a mapping config by inspecting a data file's schema against the currently loaded ontology. Returns a JSON mapping that can be reviewed and passed to onto_ingest. |
| onto_monitor | Run active monitoring watchers. Optionally add new watchers via inline JSON. Returns ok/alert/blocked status with details. |
| onto_monitor_clear | Clear the monitor blocked flag, allowing apply operations to proceed. |
| onto_plan | Terraform-style plan: diff current store against proposed Turtle. Shows added/removed classes/properties, blast radius, risk score, and locked IRI violations. |
| onto_pull | Fetch an ontology from a remote URL or SPARQL endpoint and load it into the store |
| onto_push | Push the current ontology store to a remote SPARQL endpoint |
| onto_query | Run a SPARQL query against the loaded ontology store |
| onto_reason | Run inference over the loaded ontology. Profiles: 'rdfs' (subclass, domain/range), 'owl-rl' (+ transitive/symmetric/inverse, sameAs, equivalentClass), 'owl-rl-ext' (+ someValuesFrom, allValuesFrom, hasValue, intersectionOf, unionOf), 'owl-dl' (Full OWL2-DL SHOIQ tableaux: satisfiability, classification, qualified number restrictions with node merging, inverse/symmetric roles, functional properties, parallel agent-based classification, explanation traces, ABox reasoning). Materializes inferred triples. |
| onto_rollback | Restore the ontology store to a previously saved version |
| onto_save | Save the current ontology store to a file |
| onto_search | Semantic search over the loaded ontology using natural language. Returns the most similar classes by text meaning, structural position, or both. Requires onto_embed to have been run first. |
| onto_shacl | Validate the loaded ontology data against SHACL shapes. Checks cardinality (minCount/maxCount), datatypes, and class constraints. Returns a conformance report with violations. |
| onto_similarity | Compute embedding similarity between two IRIs — returns cosine similarity (text), Poincaré distance (structural), and product score. |
| onto_stats | Get statistics about the loaded ontology (triple count, classes, properties, individuals) |
| onto_status | Returns health status of the Open Ontologies server |
| onto_validate | Validate RDF/OWL syntax. Accepts a file path or inline Turtle content. |
| onto_validate_clinical | Validate all class labels in the loaded ontology against clinical crosswalk data. Shows which terms match known clinical codes. |
| onto_version | Save a named snapshot of the current ontology store |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| build_ontology | Build an ontology from a domain description. Guides through the full workflow: generate Turtle, validate, load, lint, query, and persist. |
| compare_ontologies | Compare two versions of an ontology. Shows added/removed classes, properties, and drift analysis. |
| explore_ontology | Explore a loaded ontology with SPARQL. Lists classes, properties, and answers competency questions. |
| ingest_data | Ingest external data into a loaded ontology. Maps data fields to ontology classes/properties and validates with SHACL. |
| validate_ontology | Validate and lint an existing ontology file. Loads it, runs validation and lint checks, reports all issues. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |