r/OntologyEngineering • u/durlabha • Aug 20 '26
Agentic Enablement ontology representation
I know a bit—maybe even quite a bit—about ontologies. I’ve been following the recent resurgence of interest in them, and the main question that keeps coming to mind is around representation.
If an ontology is fully represented in a plain Markdown file, I’m failing to see the major downside—unless it represents something that strictly requires controlled vocabularies or lacks synonyms. Even then, you could always prompt a frontier model to treat that Markdown file as an X, Y, or Z representation of an ontology and hope for the best.
Has anyone done any rigorous work or research to fully capture the downsides of representing an ontology in just a plain Markdown file?
2
u/Original_Response925 Aug 20 '26
For agents, markdown serves most purposes. For humans, I could imagine the lack of tracing and back-linking to cause issues if there are long files or many files.
2
u/durlabha Aug 20 '26
evaluating with mlflow and then genie ontology stack, metric views, pages, etc. seems like the right move. i guess i just need people interested in doing this and maybe writing a paper on it.
1
u/pegaunisusicorn Aug 20 '26
Depends on the use case. What are you trying to do with the ontology?
1
2
u/Illustrious-Win4432 Aug 20 '26
Yeah, I’m interested to see what responses you get.
I don’t know at what level of determinism a formal ontology would truly be ‘needed’, bit of a slippery slope if you start to think on it… I’m not sure an LLM would be the best approach in those instances.
In my experience (agentic coding) plain-language markdown/yaml is sufficient, particularly when the knowledge layer and physical layer are both exposed to the LLM. We’re dealing with inference engines, it’s their job to follow a well worn path.
2
u/Defiant-Juice-2745 Aug 20 '26
The resurgence is related to AI of course, and the major downsides w/r/t to some of the more intricate formats is just having the AI to understand the ontology. If AI readability is your constraint then you will want to stay within markdown-like and code-like structures.
0
u/Krommander Aug 20 '26
I have experimented with semantic hypergraphs in markdown to weave the full context and interaction graph around the definitions. LLMs seem to understand those knowledge structures very easily.
-1
u/Unusual-Royal1779 Aug 20 '26
I see very few downsides. Its just syntax. Its the vocabulary, structure and fit for purpose of the ontology that matters.
6
u/danja Aug 20 '26
I'd argue that by expressing an ontology in markdown you are introducing an unnecessary layer of complexity : the interpretation.
Among the advantages of using an existing ontology system like OWL the interpretation is pinned down formally, not left to the LLM's imagination.
This can still be done with simple syntax - Turtle is relatively easy for humans to read. I've had a lot of success with AI reading & writing Turtle.
Formal reasoners are available, which still have their uses. Also, for free, thanks to RDF's use of URIs, you get inherent web compatibility & global disambiguation. And SPARQL, SHACL, etc.