Import an OWL/SKOS Ontology
If your organization already maintains an ontology or taxonomy as an OWL (Web Ontology Language) or SKOS (Simple Knowledge Organization System) file, OpenMetadata lets you import it directly into a glossary instead of recreating it by hand. OpenMetadata converts the ontology’s concepts, classes, and relationships into glossary terms and typed relations. Import an ontology from the glossary’s manage menu, or use the API.What Gets Imported
If RDF (Resource Description Framework) indexing is enabled on your instance, the glossary terms created by the import are automatically mirrored into the RDF triplestore, the same as terms created any other way.
Importing an Ontology
You need Edit All permission on the target glossary. Only an admin can introduce new relation types or custom properties. Non-admin imports use the types and properties already defined.- Open the target glossary from Govern > Glossary.
- Open the glossary’s manage (⋮) menu and select Import Ontology.
- Upload an ontology file. The dialog detects its format and runs a dry run without saving changes.
- Review the import summary for terms, relationships, concept mappings, custom properties, and any reported issues.
- Click Import to apply the changes.
Importing Through the API
Send the ontology file’s contents as the request body to:
The
format query parameter selects the parser and defaults to turtle. Set it explicitly for other syntaxes: RDF/XML fails to parse without format=rdfxml. Set the Content-Type header to match the file’s syntax, such as text/turtle, application/rdf+xml, or application/n-triples. A file with a DOCTYPE declaration is rejected.
The dryRun parameter defaults to true. A dry run validates the ontology and reports what it would do, without creating or changing anything. Set dryRun=false explicitly once you’ve reviewed the dry-run result and are ready to persist the import.
product-taxonomy.
Import Result
The response summarizes what the import did (or would do, for a dry run):Ontology Explorer
Visualize the imported terms and their relationships as a graph.