# Ontology as Source Code — Edition 2

**Author:** [Tony Seale](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23tonySeale) — Knowledge Graph Engineer
**Source:** https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54
**Published:** May 21, 2026
**Engagement:** 400 reactions, 50+ comments, 19 contributors
**RDF Resolver:** [Turtle](../rdf/ontology-as-source-code-deepseek_v4pro-2.ttl)
**Source HTML:** [ontology-as-source-code-deepseek_v4pro-2.html](ontology-as-source-code-deepseek_v4pro-2.html)

---

## Overview

This knowledge graph distills a May 2026 LinkedIn post by knowledge graph engineer [Tony Seale](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23tonySeale) and the 45-comment discussion it generated. Seale's thesis — *ontologies should be treated as source code, not database rows* — rests on three engineering principles: compile for logical consistency, store in plain text for version control, and govern with CI/CD discipline. His closing line: **"Your ontology is source code for your meaning."**

The discussion surfaces practical implications: [Kingsley Uyi Idehen](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23kingsleyIdehen)'s demonstration that LLM-powered agents with filesystem-bound RDF stores make ontology management dramatically simpler, [Honorio J. Padrón III](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23honorioPadron)'s distinction between operational and decision ontologies, [Veronika Heimsbakk](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23veronikaHeimsbakk)'s four-line Python bridge from tables to triples, and additional threads on Pydantic-executable ontologies, temporal hypergraphs, and Description Logic normalization. The knowledge graph encodes 38 entities, 40 typed relationships, 19 contributors, 12 FAQs, and a 7-step adoption guide.

---

## The Three Pillars

### [Compile — Not Just Parse](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23pillarCompile)
A build should break on contradictions or unexpected entailments. An absent entailment is a test failure, not a curiosity discovered six months later in production. Jacob Friedman notes OWL is based on Description Logic — leverage its formal semantics for normalization checks.

### [Live in Plain Text](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23pillarPlainText)
Ontologies should live in plain text — enabling diffs, branches, blame, and pull requests. You want LLMs to read, navigate, and edit the source directly, exactly the way it works with a codebase.

### [Governed Like Code](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23pillarGovernance)
Standard engineering discipline — version control, code review, and CI/CD pipelines applied to meaning itself.

---

## Featured Insight: LLMs + Semantic Web — A Natural Ecosystem

**[Kingsley Uyi Idehen](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23kingsleyIdehen):** Agreed. Ontology management is a classic files-and-filesystem interaction pattern. RDF-Turtle is very much human-readable shorthand but lacked tooling support. Today the Semantic Web stack gels naturally with LLMs and AI Agents. Ask an AI Agent to express worldviews in whatever notation you prefer, save to a file, and copy to a folder bound to a backend RDF DBMS. LLM-powered Agents with Skills make this process a zillion times easier. I will use this post to demonstrate how I've used this approach to create the demo showcases at [linkeddata.uriburner.com/DAV/demos/daas/](https://linkeddata.uriburner.com/DAV/demos/daas/).

---

## Comments

The post sparked a 50+ comment discussion. Kingsley Idehen's commentary appears above in Featured Insight.

**Newly added (guest view capture):**

| # | Commenter | LinkedIn Profile |
|---|-----------|-----------------|
| 1 | [Mark Pippins](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmarkpippins%2F%23this) | `linkedin.com/in/markpippins` |
| 2 | [Aslam Ahamed](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Faslam-ahamed%2F%23this) | `linkedin.com/in/aslam-ahamed` |
| 3 | [Gaurav Malhotra](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Ftech-nirvana%2F%23this) | `linkedin.com/in/tech-nirvana` |
| 4 | [Michael Graham](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fukvaluemanagementmikegraham%2F%23this) | `linkedin.com/in/ukvaluemanagementmikegraham` |
| 5 | [Bas van der Raadt, PhD](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbvanderraadt%2F%23this) | `linkedin.com/in/bvanderraadt` |

**Original 14 contributors:**

- **[Veronika Heimsbakk](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fvheimsbakk%2F%23this)** — Knowledge Graph Specialist: Hear, hear! Getting ontology from tables into code is easy with four lines of Python.
- **[Jacob Friedman](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fjacobbfriedman%2F%23this)** — Semantic Reasoning Specialist: References conceptual graphs and Description Logic normalization for OWL.
- **Robert Sanderson** — Linked Art Contributor: Compile pipeline processes RDFS+OWL into a Python class library. Ontology transpiles to developer-friendly code.
- **[Gabor Csepregi](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fcsepregigabor%2F%23this)** — Knowledge Graph Practitioner: Can't remember the last time ontology and KG content was properly explained.
- **Harish Iyer** — Product-Strategy Thinker: Ontology should be the language of the company. Who owns the ontology guardian role?
- **Joseph Macdonald** — TODAG Advocate: WhenTTT patterns; Temporal Objective-Directed Acyclic Graphs as revenue-generating assets.
- **Mark O'Donovan** — Data Practitioner: Personal journey from notebook to Excel to SQL to GraphDB.
- **Kyle Tobin** — Pydantic Ontology Advocate: Entities should be executable — they don't just describe behavior, they conduct it.
- **[Honorio J. Padrón III](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fhonorio-j-padr%25C3%25B3n-iii-b709858%2F%23this)** — Creator, CLEARED Platform: Operational vs decision ontologies. The decision ontology is source code for your will to act.
- **[Stepan Karandin](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fskarandin%2F%23this)** — Information Theorist: Ontology is information; databases and code are just formats.
- **Edward Henry** — AI Practitioner: The biggest illusion is addressing upstream problems downstream.
- **Olivier Rey** — An ontology is a hypergraph; code is a tree.
- **Thomas Smith** — Database Theorist: Relational DBs index binary trees (2D); triples define 3D graphs.

8 commenters (Robert Sanderson, Harish Iyer, Joseph Macdonald, Mark O'Donovan, Kyle Tobin, Edward Henry, Olivier Rey, Thomas Smith) use hash-fallback IRIs — their LinkedIn profile URLs were not captured in the guest view.

## Adopting Ontology as Code

1. **[Extract from Tables](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23step1)** — Four lines of Python (maplib + OTTR templates).
2. **[Store in Plain Text](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23step2)** — Turtle for readability, JSON-LD for tooling.
3. **[Set Up Compilation](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23step3)** — Build step for logical consistency with Description Logic normalization.
4. **[Version Control](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23step4)** — Git for diffs, branches, PRs.
5. **[LLM Editing](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23step5)** — AI Agents read, navigate, edit source files.
6. **[Bind to RDF DBMS](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23step6)** — Folder transparently bound to quad store.
7. **[Define Decision Ownership](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23step7)** — Who owns each decision, what triggers it, what action. Consider Pydantic executability, transpilation, and TODAG temporal patterns.

---

## FAQ

### [1. Why should ontologies be treated as source code?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q1)
Because ontologies express formal logic and axioms — not database rows. They should compile, live in plain text for version control, and be governed with engineering discipline. Tony Seale: "Your ontology is source code for your meaning."

### [2. What does "compile, not just parse" mean?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q2)
A build should break on contradictions or unexpected entailments. An absent entailment is a test failure, not a curiosity discovered six months later in production. This catches logical errors at build time rather than in production.

### [3. Why plain text for ontologies?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q3)
Plain text enables diffs, branches, blame, and pull requests — standard software engineering tooling. It also allows LLMs to read, navigate, and edit the source directly, exactly like working with a codebase.

### [4. How do LLMs change ontology management?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q4)
Kingsley Idehen (anchor commentary): The Semantic Web stack gels naturally with LLMs and AI Agents. Users can ask an AI Agent to express worldviews in any notation, save to a file, and copy to a folder bound to a backend RDF DBMS. LLM-powered Agents with Skills make this "a zillion times easier." The demo showcases at [linkeddata.uriburner.com/DAV/demos/daas/](https://linkeddata.uriburner.com/DAV/demos/daas/) are live examples of this filesystem-to-quad-store pipeline.

### [5. What is a decision ontology?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q5)
Honorio J. Padrón III distinguishes operational ontologies (what exists) from decision ontologies (who owns each decision, what triggers it, what action it generates). An operational ontology makes data legible; a decision ontology makes the enterprise executable. The decision ontology is "source code for your will to act." His CLEARED platform operationalizes this distinction.

### [6. What is McOntology?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q6)
A term coined by Tony Seale for commoditized, fast-food approaches to ontology — treating ontologies as mass-produced rather than carefully engineered artifacts. It is the antithesis of the ontology-as-code philosophy.

### [7. How does the Semantic Web stack relate to ontology-as-code?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q7)
RDF-Turtle is human-readable shorthand for triples. JSON-LD has more tooling support. Combined with LLMs, the stack now provides both readability and tooling — bridging the historical gap. Files in a DAV folder bound to Virtuoso automatically become part of a live quad store.

### [8. What's wrong with putting ontologies in database tables?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q8)
Tony Seale: You wouldn't write application code in a database table. Thomas Smith adds: relational databases index binary trees — two dimensions only. Ontologies need triples for three dimensions. Stepan Karandin: the relational model is the worst kind of normalization for ontology.

### [9. How do you bridge tables to ontology code?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q9)
Veronika Heimsbakk: Getting ontology from tables into code is straightforward — four lines of Python using tools like maplib and OTTR templates to map structured data to ontology properties.

### [10. Can ontologies be executable?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q10)
Kyle Tobin argues for Pydantic-defined ontologies where entities are executable — "they don't just describe their own behavior. They conduct it too!" Robert Sanderson demonstrates with Linked Art's transpilation from RDFS+OWL into Python class libraries. Both embed ontology into application architecture.

### [11. Who owns the ontology in an organization?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q11)
Harish Iyer frames this as one of the most consequential product decisions a company will make. The ontology guardian role sits at the intersection of engineering, design, and product — a decision owner who maintains the language of the company.

### [12. What is the upstream/downstream gap in AI?](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23q12)
Edward Henry warns the biggest illusion is trying to address upstream problems downstream — turning LLM slop into something real. Ontology-as-code addresses this by formalizing meaning at the source. Joseph Macdonald extends this with TODAG temporal patterns for revenue-generating ontologies.

---

## Glossary

- **[Ontology as Code](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termOntologyAsCode)**: Treating ontologies as source code with compilation, version control, and engineering governance.
- **[Compile](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termCompile)**: Build step checking logical consistency — contradictions should break the build.
- **[Plain Text](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termPlainText)**: Storage format enabling diffs, branches, and LLM navigation.
- **[Governance](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termGovernance)**: Engineering discipline — version control, code review, CI/CD for meaning.
- **[RDF-Turtle](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termRDFTurtle)**: Human-readable RDF notation — preferred for LLM-mediated ontology creation.
- **[LLM](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termLLM)**: Large Language Model — AI systems that read, navigate, and edit ontology source files.
- **[Decision Ontology](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termDecisionOntology)**: Ontology describing who owns each decision, what triggers it, what action it generates.
- **[Semantic Web Stack](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termSemanticWeb)**: W3C stack — RDF, SPARQL, OWL, JSON-LD — now gelling with LLMs.
- **[Knowledge Graph](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termKnowledgeGraph)**: Graph-structured data model — the runtime instantiation of ontologies.
- **[McOntology](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termMcOntology)**: Commoditized, fast-food ontology — mass-produced rather than engineered.
- **[Pydantic-Executable Ontology](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termPydanticOntology)**: Kyle Tobin's approach — entities that conduct their own behavior.
- **[TODAG](https://linkeddata.uriburner.com/describe/?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Ftonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54%23termTODAG)**: Temporal Objective-Directed Acyclic Graph — WhenTTT patterns for revenue-generating ontologies.

---

## Industry Context

NAICS 541511 — Custom Computer Programming Services. Knowledge Engineering vertical with ~$80B labor TAM and high automation readiness via LLM + Semantic Web integration.

---

## SPARQL Query Examples

All queries target the [URIBurner SPARQL endpoint](https://linkeddata.uriburner.com/sparql). SELECT queries use `text/x-html+tr`; DESCRIBE and CONSTRUCT use `text/x-html-nice-turtle`.

### 1. Entity Type Summary

```sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?type (SAMPLE(?s) AS ?sampleEntity) (COUNT(?s) AS ?entityCount)
WHERE {
  GRAPH <https://linkeddata.uriburner.com/DAV/demos/daas/ontology-as-source-code-deepseek_v4pro-2.ttl> {
    ?s rdf:type ?type .
    OPTIONAL { ?s rdfs:label ?label }
  }
}
GROUP BY ?type ORDER BY DESC(?entityCount)
```

[▶ Run live query](https://linkeddata.uriburner.com/sparql?default-graph-uri=&query=PREFIX%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0ASELECT%20%3Ftype%20(SAMPLE(%3Fs)%20AS%20%3FsampleEntity)%20(COUNT(%3Fs)%20AS%20%3FentityCount)%0AWHERE%20%7B%0A%20%20GRAPH%20%3Chttps%3A%2F%2Flinkeddata.uriburner.com%2FDAV%2Fdemos%2Fdaas%2Fontology-as-source-code-deepseek_v4pro-2.ttl%3E%20%7B%0A%20%20%20%20%3Fs%20rdf%3Atype%20%3Ftype%20.%0A%20%20%7D%0A%7D%0AGROUP%20BY%20%3Ftype%20ORDER%20BY%20DESC(%3FentityCount)&format=text%2Fx-html%2Btr)

### 2. All People

```sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX schema: <http://schema.org/>

SELECT ?person ?name ?description
WHERE {
  GRAPH <https://linkeddata.uriburner.com/DAV/demos/daas/ontology-as-source-code-deepseek_v4pro-2.ttl> {
    ?person rdf:type schema:Person ;
            schema:name ?name .
    OPTIONAL { ?person schema:description ?description }
  }
}
ORDER BY ?name
```

[▶ Run live query](https://linkeddata.uriburner.com/sparql?default-graph-uri=&query=PREFIX%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX%20schema%3A%20%3Chttp%3A%2F%2Fschema.org%2F%3E%0ASELECT%20%3Fperson%20%3Fname%20%3Fdescription%0AWHERE%20%7B%0A%20%20GRAPH%20%3Chttps%3A%2F%2Flinkeddata.uriburner.com%2FDAV%2Fdemos%2Fdaas%2Fontology-as-source-code-deepseek_v4pro-2.ttl%3E%20%7B%0A%20%20%20%20%3Fperson%20rdf%3Atype%20schema%3APerson%20%3B%20schema%3Aname%20%3Fname%20.%0A%20%20%7D%0A%7D%0AORDER%20BY%20%3Fname&format=text%2Fx-html%2Btr)

### 3. Comments with Authors

```sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX schema: <http://schema.org/>

SELECT ?comment ?authorName ?text
WHERE {
  GRAPH <https://linkeddata.uriburner.com/DAV/demos/daas/ontology-as-source-code-deepseek_v4pro-2.ttl> {
    ?comment rdf:type schema:Comment ;
             schema:author ?author ;
             schema:text ?text .
    ?author schema:name ?authorName .
  }
}
ORDER BY ?authorName
```

[▶ Run live query](https://linkeddata.uriburner.com/sparql?default-graph-uri=&query=PREFIX%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX%20schema%3A%20%3Chttp%3A%2F%2Fschema.org%2F%3E%0ASELECT%20%3Fcomment%20%3FauthorName%20%3Ftext%0AWHERE%20%7B%0A%20%20GRAPH%20%3Chttps%3A%2F%2Flinkeddata.uriburner.com%2FDAV%2Fdemos%2Fdaas%2Fontology-as-source-code-deepseek_v4pro-2.ttl%3E%20%7B%0A%20%20%20%20%3Fcomment%20rdf%3Atype%20schema%3AComment%20%3B%20schema%3Aauthor%20%3Fauthor%20%3B%20schema%3Atext%20%3Ftext%20.%0A%20%20%20%20%3Fauthor%20schema%3Aname%20%3FauthorName%20.%0A%20%20%7D%0A%7D%0AORDER%20BY%20%3FauthorName&format=text%2Fx-html%2Btr)

---

## Knowledge Graph Statistics

| Metric | Count |
|--------|-------|
| Contributors | 19 |
| RDF Triples | 450+ |
| FAQ Entries | 12 |
| Glossary Terms | 12 |
| Adoption Steps | 7 |
| Ontology Pillars | 3 |
| Defined Terms | 7 |
| Ontology Classes | 3 |
| Custom Properties | 3 |

---

## Related Resources

- [Source post on LinkedIn](https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54)
- [RDF Turtle KG](../rdf/ontology-as-source-code-deepseek_v4pro-2.ttl) (450+ triples)
- [HTML Infographic](ontology-as-source-code-deepseek_v4pro-2.html)
- [The Knowledge Graph Guys](https://lnkd.in/eMQwyBpj)
- [URIBurner Demo Showcases](https://linkeddata.uriburner.com/DAV/demos/daas/)
- [Veronika Heimsbakk's Python Extraction Post](https://substack.com/@veronahe/p-183770493)

---

*Generated 2026-05-22 using [kg-generator](https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator) and [rdf-infographic-skill](https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rdf-infographic-skill) via Claude Opus 4.7 on Claude Code. Entity links via [URIBurner](https://linkeddata.uriburner.com/). Edition 2 — Enhanced with 14 comment threads and Kingsley Idehen's featured insight.*
