@prefix : <https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/#> .
@prefix schema: <http://schema.org/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix prov: <http://www.w3.org/ns/prov#> .

: a schema:SocialMediaPosting ;
    schema:name "Did you start building your ontology as a set of rows in a custom database table?"@en ;
    schema:description "Tony Seale argues that ontologies should be treated as source code — compiled, versioned, reviewed, and shipped — rather than stored in database tables. An ontology is source code for your meaning."@en ;
    schema:url "https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/" ;
    schema:author :tonySeale ;
    schema:datePublished "2026-05-21"^^xsd:date ;
    schema:about :ontologyAsCode, :knowledgeGraphs, :softwareEngineering ;
    schema:hasPart :analysis, :ontologyAsCodeSection, :governanceSection, :commentsSection, :faqSection, :glossarySection, :howtoSection ;
    schema:image :postImage ;
    schema:interactionStatistic [
        a schema:InteractionCounter ;
        schema:interactionType schema:LikeAction ;
        schema:userInteractionCount 362
    ], [
        a schema:InteractionCounter ;
        schema:interactionType schema:CommentAction ;
        schema:userInteractionCount 41
    ] ;
    prov:wasGeneratedBy <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator#this>, <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rdf-infographic-skill#this> .

:tonySeale a schema:Person ;
    schema:name "Tony Seale"@en ;
    schema:url "https://uk.linkedin.com/in/tonyseale" ;
    schema:jobTitle "Knowledge Graph & Ontology Expert"@en ;
    owl:sameAs <https://uk.linkedin.com/in/tonyseale#this> .

:kingsleyIdehen a schema:Person ;
    schema:name "Kingsley Uyi Idehen"@en ;
    schema:url "https://www.linkedin.com/in/kidehen" ;
    schema:jobTitle "Founder & CEO, OpenLink Software"@en ;
    schema:knowsAbout :semanticWeb, :linkedData, :rdf, :llms, :aiAgents ;
    owl:sameAs <https://www.linkedin.com/in/kidehen#this>, <https://x.com/kidehen#this> .

:veronikaHeimsbakk a schema:Person ;
    schema:name "Veronika Heimsbakk"@en ;
    schema:url "https://no.linkedin.com/in/vheimsbakk" ;
    schema:jobTitle "Knowledge Graph Specialist, Author of SHACL for the Practitioner"@en ;
    owl:sameAs <https://no.linkedin.com/in/vheimsbakk#this> .

:gaborCsepregi a schema:Person ;
    schema:name "Gabor Csepregi"@en ;
    schema:url "https://uk.linkedin.com/in/csepregigabor" ;
    owl:sameAs <https://uk.linkedin.com/in/csepregigabor#this> .

:josephMacdonald a schema:Person ;
    schema:name "Joseph Macdonald"@en ;
    schema:url "https://ca.linkedin.com/in/macdonaldcpaca" ;
    owl:sameAs <https://ca.linkedin.com/in/macdonaldcpaca#this> .

:harishIyer a schema:Person ;
    schema:name "Harish Iyer"@en ;
    schema:url "https://de.linkedin.com/in/ihari" ;
    owl:sameAs <https://de.linkedin.com/in/ihari#this> .

:robertSanderson a schema:Person ;
    schema:name "Robert Sanderson"@en ;
    schema:url "https://www.linkedin.com/in/robert-sanderson" ;
    owl:sameAs <https://www.linkedin.com/in/robert-sanderson#this> .

:markODonovan a schema:Person ;
    schema:name "Mark O'Donovan"@en ;
    schema:url "https://ie.linkedin.com/in/mark-o-donovan-8777847" ;
    owl:sameAs <https://ie.linkedin.com/in/mark-o-donovan-8777847#this> .

:honorioPadron a schema:Person ;
    schema:name "Honorio J. Padrón III"@en ;
    schema:url "https://www.linkedin.com/in/honorio-j-padrón-iii-b709858" ;
    owl:sameAs <https://www.linkedin.com/in/honorio-j-padrón-iii-b709858#this> .

:olivierRey a schema:Person ;
    schema:name "Olivier REY"@en ;
    schema:url "https://fr.linkedin.com/in/reyolivier" ;
    owl:sameAs <https://fr.linkedin.com/in/reyolivier#this> .

:stepanKarandin a schema:Person ;
    schema:name "Stepan Karandin"@en ;
    schema:url "https://rs.linkedin.com/in/skarandin" ;
    owl:sameAs <https://rs.linkedin.com/in/skarandin#this> .

:postImage a schema:ImageObject ;
    schema:name "Tony Seale LinkedIn Post Image"@en ;
    schema:contentUrl "https://media.licdn.com/dms/image/v2/D4E16AQHSwY3AOtMucw/profile-displaybackgroundimage-shrink_200_800/profile-displaybackgroundimage-shrink_200_800/0/1675450285239" .

:analysis a schema:Article ;
    schema:name "Ontology IS Code — Analysis"@en ;
    schema:description "Analysis of Tony Seale's argument that ontologies should be treated as source code: compiled, versioned, reviewed, and shipped — not stored in database tables."@en ;
    schema:author :tonySeale ;
    schema:datePublished "2026-05-21"^^xsd:date ;
    schema:hasPart :ontologyAsCodeSection, :governanceSection, :commentsSection, :faqSection, :glossarySection, :howtoSection ;
    schema:about :ontologyAsCode, :knowledgeGraphs, :softwareEngineering ;
    schema:keywords "ontology, knowledge graph, software engineering, version control, Git, RDF, Turtle, JSON-LD, LLM, AI agents, semantic web"@en ;
    prov:wasGeneratedBy <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator#this>, <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rdf-infographic-skill#this> .

:ontologyAsCode a schema:Thing ;
    schema:name "Ontology as Code"@en ;
    schema:description "The principle that ontologies should be treated as source code artifacts — compiled, versioned, reviewed, and shipped — rather than stored in database tables."@en ;
    rdfs:isDefinedBy : .

:knowledgeGraphs a schema:Thing ;
    schema:name "Knowledge Graphs"@en ;
    schema:description "Graph-based representations of knowledge using RDF, OWL, and related semantic web technologies."@en ;
    rdfs:isDefinedBy : .

:softwareEngineering a schema:Thing ;
    schema:name "Software Engineering Practices"@en ;
    schema:description "Engineering practices including version control, code review, automated testing, CI/CD, and branching strategies applied to ontology development."@en ;
    rdfs:isDefinedBy : .

:ontologyAsCodeSection a schema:ArticleSection ;
    schema:name "Ontology IS Code"@en ;
    schema:description "Tony Seale's core argument: ontologies are logic and formal logic expressed as rigorous axioms. They should compile, live in plain text, and be governed like code."@en ;
    schema:hasPart :ontologyCompiles, :ontologyPlainText, :ontologyGovernedLikeCode ;
    schema:isPartOf :analysis ;
    rdfs:isDefinedBy : .

:ontologyCompiles a schema:Thing ;
    schema:name "Ontology Should Compile"@en ;
    schema:description "An ontology should compile — not just parse. The syntax should be valid, classes satisfiable, and entailments expected. An absent entailment is a test failure."@en ;
    rdfs:isDefinedBy : .

:ontologyPlainText a schema:Thing ;
    schema:name "Ontology Should Live in Plain Text"@en ;
    schema:description "Ontologies should live in plain text files — enabling diffs, branches, blame, pull requests, and review in context. LLMs should read, navigate, and edit the source directly."@en ;
    rdfs:isDefinedBy : .

:ontologyGovernedLikeCode a schema:Thing ;
    schema:name "Ontology Should Be Governed Like Code"@en ;
    schema:description "Ontologies should use branches, pull requests, reviews, automated checks, releases, and builds — governed more rigorously than CSS on a marketing site."@en ;
    rdfs:isDefinedBy : .

:governanceSection a schema:ArticleSection ;
    schema:name "Ontology Governance"@en ;
    schema:description "The argument that the artefact deciding what an organisation means by a customer, order, risk, or product should not be governed less rigorously than application code."@en ;
    schema:isPartOf :analysis ;
    rdfs:isDefinedBy : .

:commentsSection a schema:DiscussionForumPosting ;
    schema:name "Comments on Ontology IS Code"@en ;
    schema:description "41 comments from knowledge graph practitioners, engineers, and industry leaders responding to Tony Seale's post."@en ;
    schema:hasPart :kingsleyComment, :gaborComment, :josephComment, :harishComment, :robertComment, :veronikaComment, :markComment, :honorioComment, :olivierComment, :stepanComment ;
    schema:isPartOf :analysis ;
    rdfs:isDefinedBy : .

:kingsleyComment a schema:Comment ;
    schema:name "Kingsley Idehen on Files-and-Filesystem Pattern for Ontologies"@en ;
    schema:text "The creation and management of ontologies — and even instance data — is a classic files-and-filesystem interaction pattern. Prior to LLMs, this was difficult due to RDF notation issues: Turtle is human-readable but lacked tooling; JSON-LD had tooling but wasn't human-readable; RDF/XML was challenged on both. Today, the Semantic Web stack gels naturally with LLMs and AI Agents. You can ask an AI Agent to express your conceptualization in whatever notation you prefer and save the result to a file. You can copy those files to a folder transparently bound to a backend RDF DBMS for updating the underlying quad/triple store. LLM-powered Agents loosely coupled with appropriate Skills make this process a zillion times easier."@en ;
    schema:author :kingsleyIdehen ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:gaborComment a schema:Comment ;
    schema:name "Gabor Csepregi on Ontology Explanation"@en ;
    schema:text "I don't know how you ended up in my feed, but also can't remember the last time I had ontology and knowledge graph related content properly explained."@en ;
    schema:author :gaborCsepregi ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:josephComment a schema:Comment ;
    schema:name "Joseph Macdonald on Logic as Data and TODAGs"@en ;
    schema:text "Not only is Ontology code, Logic as data is important. We should be mostly using WhenTTT, not only IFTTT. Ontologies used in Temporal Objective-Directed Acyclic Graphs (TODAG) — a form of hypergraph designed to treat Ontologies and other data as revenue generating assets. Ontologies are great for many to many relationships on the client as opposed to server based computation."@en ;
    schema:author :josephMacdonald ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:harishComment a schema:Comment ;
    schema:name "Harish Iyer on Ontology as Company Language"@en ;
    schema:text "In today's time when the gap between engineering, design and product is narrowing — the ontology layer should no longer be a layer — but more about the language of the company. It will eventually be the catalyst that enables product building, shipping and maintaining become seamless. The concept of context switching within product teams will be replaced with context expansion. However, it comes with shedding a lot of dead know-how, myths, and misinterpretation of terms, terminology and internal mis-definitions. Curious how you see the ontology guardian sitting in the product stack. As AI systems increasingly consume organizational context as a direct input, the ontology stops being documentation and starts being an active dependency. Which makes who owns it, and how well they guard it, one of the more consequential product decisions a company will make."@en ;
    schema:author :harishIyer ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:robertComment a schema:Comment ;
    schema:name "Robert Sanderson on Linked Art Transpiling Ontology to Code"@en ;
    schema:text "For Linked Art, part of our compile pipeline is to process the ontology from RDFS+OWL into a python class library, so instead of graph.add(T triple) engineers can do the much more familiar: r = Person(id='Rob'); r.name = 'Rob'. Ontology is code ... and transpiles to other code that makes it more developer friendly."@en ;
    schema:author :robertSanderson ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:veronikaComment a schema:Comment ;
    schema:name "Veronika Heimsbakk on Getting Ontology from Tables to Code"@en ;
    schema:text "Hear, hear! And if you have your 'ontology' in tables, it's super-easy getting it into code and work iteratively from that, just four lines of Python."@en ;
    schema:author :veronikaHeimsbakk ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:url "https://substack.com/@veronahe/p-183770493" ;
    schema:isPartOf :commentsSection .

:markComment a schema:Comment ;
    schema:name "Mark O'Donovan on His Ontology Journey"@en ;
    schema:text "I started my business ontology as an idea in my head. Then a note in a notebook. Then an excel table. Then a sql Table (well set of them). Now looking at graphDB."@en ;
    schema:author :markODonovan ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:honorioComment a schema:Comment ;
    schema:name "Honorio J. Padrón III on Decision Ontology vs Operational Ontology"@en ;
    schema:text "Most enterprises are building operational ontologies. Objects, attributes, relationships. What exists. That problem is real and your point about treating it as code rather than a database table is exactly right. But there is a second ontology that almost nobody is building. The decision ontology. Not what exists, but what the enterprise does about it. Who owns each decision. What triggers it. What action it generates. How the loop closes and feeds back. An operational ontology makes your data legible. A decision ontology makes your enterprise executable. You can have a perfect vocabulary and still fail to act, because no one has defined the decision. That is the gap I built CLEARED to close. The platform sits above the semantic layer and above the operational ontology. It is the layer that governs the grammar of enterprise action, not just the vocabulary of enterprise data. And like you said about the ontology itself, that layer needs to compile. It needs to be versioned. It needs to break the build when authority is undefined or when a trigger has no owner. Your ontology is source code for your meaning. The decision ontology is source code for your will to act."@en ;
    schema:author :honorioPadron ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:olivierComment a schema:Comment ;
    schema:name "Olivier REY on Ontology as Graph Not Code"@en ;
    schema:text "I would rather say: 'an ontology is an (hyper-) graph'. Code is not a graph but a tree."@en ;
    schema:author :olivierRey ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:stepanComment a schema:Comment ;
    schema:name "Stepan Karandin on Ontology as Information"@en ;
    schema:text "From my point, ontology is information. Database or any code/signature is just data (format) describes information. Your example of relation database is the worst kind of normalization for ontology. In maths ontology could described as graph."@en ;
    schema:author :stepanKarandin ;
    schema:dateCreated "2026-05-21"^^xsd:date ;
    schema:isPartOf :commentsSection .

:faqSection a schema:FAQPage ;
    schema:name "FAQ: Ontology IS Code"@en ;
    schema:description "Frequently asked questions about treating ontologies as source code."@en ;
    schema:mainEntity :q1, :q2, :q3, :q4, :q5, :q6, :q7, :q8, :q9, :q10, :q11, :q12 ;
    schema:about :ontologyAsCode ;
    schema:isPartOf :analysis ;
    prov:wasGeneratedBy <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator#this> .

:q1 a schema:Question ;
    schema:name "Why should ontologies be treated as code rather than database tables?"@en ;
    schema:acceptedAnswer :a1 ;
    schema:about :ontologyAsCode .

:a1 a schema:Answer ;
    schema:name "Answer: Ontologies are logic, not data storage"@en ;
    schema:text "Ontologies declare what kinds of things exist, how they relate, and what cannot both be true. They are formal logic expressed as rigorous axioms. Treating them as code enables compilation, validation, versioning, and review — capabilities that database tables cannot provide for logical artifacts."@en .

:q2 a schema:Question ;
    schema:name "What does it mean for an ontology to 'compile'?"@en ;
    schema:acceptedAnswer :a2 ;
    schema:about :ontologyCompiles .

:a2 a schema:Answer ;
    schema:name "Answer: Syntax validation, satisfiability, and entailment checking"@en ;
    schema:text "An ontology should compile meaning its syntax should be valid, classes should be satisfiable, and entailments should be the ones expected. An absent entailment is a test failure, not a curiosity discovered months later in production. If the model says two things that cannot both be true, the build should break."@en .

:q3 a schema:Question ;
    schema:name "Why should ontologies live in plain text files?"@en ;
    schema:acceptedAnswer :a3 ;
    schema:about :ontologyPlainText .

:a3 a schema:Answer ;
    schema:name "Answer: Diffs, branches, blame, and pull requests"@en ;
    schema:text "Plain text files enable diffs, branches, blame line by line, pull requests, and review in context. This is especially important now that LLMs are in the loop — you want the LLM reading, navigating, and editing the source directly, exactly the way it works with a codebase."@en .

:q4 a schema:Question ;
    schema:name "How should ontologies be governed?"@en ;
    schema:acceptedAnswer :a4 ;
    schema:about :ontologyGovernedLikeCode .

:a4 a schema:Answer ;
    schema:name "Answer: Branches, pull requests, reviews, automated checks, releases, builds"@en ;
    schema:text "Ontologies should use branches, pull requests, reviews, automated checks, releases, and builds. The artefact that decides what an organisation means by a customer, an order, a risk, or a product should not be governed less rigorously than the CSS on a marketing site."@en .

:q5 a schema:Question ;
    schema:name "What role do LLMs play in ontology development?"@en ;
    schema:acceptedAnswer :a5 ;
    schema:about :llms .

:a5 a schema:Answer ;
    schema:name "Answer: LLM-powered agents make ontology creation dramatically easier"@en ;
    schema:text "LLMs can express conceptualizations in any RDF notation (Turtle, JSON-LD, RDF/XML) and save the result to a file. LLM-powered agents loosely coupled with appropriate skills make the process dramatically easier. You can copy files to a folder transparently bound to a backend RDF DBMS for updating the quad/triple store."@en .

:q6 a schema:Question ;
    schema:name "What is the difference between operational and decision ontologies?"@en ;
    schema:acceptedAnswer :a6 ;
    schema:about :decisionOntology .

:a6 a schema:Answer ;
    schema:name "Answer: Operational describes what exists; decision describes what to do about it"@en ;
    schema:text "An operational ontology describes objects, attributes, and relationships — what exists. A decision ontology describes who owns each decision, what triggers it, what action it generates, and how the loop closes. An operational ontology makes data legible; a decision ontology makes the enterprise executable."@en .

:q7 a schema:Question ;
    schema:name "How can you migrate an ontology from database tables to code?"@en ;
    schema:acceptedAnswer :a7 ;
    schema:about :ontologyMigration .

:a7 a schema:Answer ;
    schema:name "Answer: Four lines of Python can extract and convert"@en ;
    schema:text "If your ontology is in tables, it is super-easy to get it into code and work iteratively from that. Just four lines of Python can extract the table data and convert it to RDF format, enabling version control, diffs, and all the benefits of code-based ontology management."@en .

:q8 a schema:Question ;
    schema:name "What is the Linked Art approach to ontology compilation?"@en ;
    schema:acceptedAnswer :a8 ;
    schema:about :linkedArt .

:a8 a schema:Answer ;
    schema:name "Answer: Transpile ontology from RDFS+OWL into Python class libraries"@en ;
    schema:text "For Linked Art, part of the compile pipeline processes the ontology from RDFS+OWL into a Python class library. Instead of manually adding triples to a graph, engineers can use familiar object-oriented patterns: r = Person(id='Rob'); r.name = 'Rob'. The ontology transpiles to developer-friendly code."@en .

:q9 a schema:Question ;
    schema:name "Is an ontology a graph or code?"@en ;
    schema:acceptedAnswer :a9 ;
    schema:about :ontologyAsGraph .

:a9 a schema:Answer ;
    schema:name "Answer: Both — it is a hypergraph that should be managed like code"@en ;
    schema:text "An ontology is fundamentally a (hyper-)graph of interrelated concepts. Code is typically a tree structure. The argument for treating ontology as code is about the management practices — versioning, review, compilation — not about the underlying data structure being a tree."@en .

:q10 a schema:Question ;
    schema:name "What is the 'ontology guardian' role in product stacks?"@en ;
    schema:acceptedAnswer :a10 ;
    schema:about :ontologyGuardian .

:a10 a schema:Answer ;
    schema:name "Answer: The ontology becomes an active dependency, not documentation"@en ;
    schema:text "As AI systems increasingly consume organizational context as a direct input, the ontology stops being documentation and starts being an active dependency. Who owns it and how well they guard it becomes one of the more consequential product decisions a company will make."@en .

:q11 a schema:Question ;
    schema:name "What are the challenges of RDF notations for ontology development?"@en ;
    schema:acceptedAnswer :a11 ;
    schema:about :rdfNotations .

:a11 a schema:Answer ;
    schema:name "Answer: Trade-offs between human-readability and tooling support"@en ;
    schema:text "RDF-Turtle is very human-readable shorthand but historically lacked tooling support. JSON-LD had more tooling support but wasn't as human-readable. RDF/XML was challenged on both fronts. Today, LLMs bridge this gap by generating any notation on demand."@en .

:q12 a schema:Question ;
    schema:name "What is the typical journey of building an ontology?"@en ;
    schema:acceptedAnswer :a12 ;
    schema:about :ontologyJourney .

:a12 a schema:Answer ;
    schema:name "Answer: From idea to notebook to spreadsheet to SQL to graph database"@en ;
    schema:text "A common journey: start with an idea in your head, then a note in a notebook, then an Excel table, then a SQL table (or set of them), and finally a graph database. Each step represents increasing sophistication in modeling relationships and semantics."@en .

:glossarySection a schema:DefinedTermSet ;
    schema:name "Glossary: Ontology as Code Terms"@en ;
    schema:description "Key terms from the Ontology IS Code discussion."@en ;
    schema:hasDefinedTerm :termOntology, :termKnowledgeGraph, :termRDF, :termTurtle, :termJsonLd, :termVersionControl, :termEntailment, :termSatisfiability, :termOperationalOntology, :termDecisionOntology ;
    schema:isPartOf :analysis ;
    prov:wasGeneratedBy <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator#this> .

:termOntology a skos:Concept ;
    skos:prefLabel "Ontology"@en ;
    skos:definition "A formal representation of knowledge as a set of concepts within a domain and the relationships between those concepts. In software engineering, an ontology is source code for organizational meaning."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termKnowledgeGraph a skos:Concept ;
    skos:prefLabel "Knowledge Graph"@en ;
    skos:definition "A graph-based data structure that represents entities and their relationships, typically using RDF and semantic web technologies to enable reasoning and inference."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termRDF a skos:Concept ;
    skos:prefLabel "RDF (Resource Description Framework)"@en ;
    skos:definition "A standard model for data interchange on the web, representing information as subject-predicate-object triples. Supports multiple serializations including Turtle, JSON-LD, and RDF/XML."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termTurtle a skos:Concept ;
    skos:prefLabel "Turtle (Terse RDF Triple Language)"@en ;
    skos:definition "A human-readable RDF serialization format using prefixes and shorthand notation. Very readable but historically lacked comprehensive tooling support compared to other formats."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termJsonLd a skos:Concept ;
    skos:prefLabel "JSON-LD (JSON for Linking Data)"@en ;
    skos:definition "A JSON-based serialization for linked data that combines JSON's developer familiarity with RDF's semantic capabilities. More tooling support than Turtle but less human-readable."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termVersionControl a skos:Concept ;
    skos:prefLabel "Version Control"@en ;
    skos:definition "A system that records changes to files over time, enabling diffs, branches, blame, pull requests, and review. Essential for managing ontologies as code artifacts."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termEntailment a skos:Concept ;
    skos:prefLabel "Entailment"@en ;
    skos:definition "A logical consequence that follows from the axioms in an ontology. An absent entailment is a test failure — if the model should derive something but doesn't, the build should break."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termSatisfiability a skos:Concept ;
    skos:prefLabel "Satisfiability"@en ;
    skos:definition "A property of a class in an ontology meaning that there exists at least one possible instance that satisfies all its constraints. Unsatisfiable classes indicate logical contradictions."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termOperationalOntology a skos:Concept ;
    skos:prefLabel "Operational Ontology"@en ;
    skos:definition "An ontology that describes what exists in an organization — objects, attributes, and relationships. It makes data legible but does not define what actions to take."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:termDecisionOntology a skos:Concept ;
    skos:prefLabel "Decision Ontology"@en ;
    skos:definition "An ontology that describes what an enterprise does about what exists — who owns each decision, what triggers it, what action it generates, and how the loop closes. It makes the enterprise executable."@en ;
    skos:inScheme :glossarySection ;
    rdfs:isDefinedBy : .

:howtoSection a schema:HowTo ;
    schema:name "How to Treat Your Ontology as Code"@en ;
    schema:description "Step-by-step guide for transitioning from database-table ontologies to code-managed ontologies."@en ;
    schema:step :step1, :step2, :step3, :step4, :step5, :step6, :step7 ;
    schema:isPartOf :analysis ;
    prov:wasGeneratedBy <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator#this> .

:step1 a schema:HowToStep ;
    schema:name "Step 1: Extract Your Ontology from Tables"@en ;
    schema:text "If your ontology currently lives in database tables or spreadsheets, extract it using a simple script. Four lines of Python can convert table rows to RDF triples in Turtle or JSON-LD format."@en ;
    schema:about :ontologyMigration .

:step2 a schema:HowToStep ;
    schema:name "Step 2: Save to Plain Text Files"@en ;
    schema:text "Save your ontology as plain text files in a version control system (Git). Use Turtle for human readability or JSON-LD for tooling compatibility. Organize by domain or module."@en ;
    schema:about :ontologyPlainText .

:step3 a schema:HowToStep ;
    schema:name "Step 3: Set Up Compilation Pipeline"@en ;
    schema:text "Configure a build pipeline that validates syntax, checks class satisfiability, and verifies expected entailments. Use tools like PySHACL, Jena, or Protégé for validation. The build should break on contradictions."@en ;
    schema:about :ontologyCompiles .

:step4 a schema:HowToStep ;
    schema:name "Step 4: Establish Code Review Process"@en ;
    schema:text "Require pull requests for all ontology changes. Review in context with diffs. Ensure new terms don't silently duplicate existing concepts. Treat ontology review with the same rigor as application code review."@en ;
    schema:about :ontologyGovernedLikeCode .

:step5 a schema:HowToStep ;
    schema:name "Step 5: Integrate LLM Agents"@en ;
    schema:text "Configure LLM-powered agents to read, navigate, and edit your ontology source files directly. Use skills to express conceptualizations in any RDF notation on demand. Connect to a backend RDF DBMS for quad store updates."@en ;
    schema:about :llms .

:step6 a schema:HowToStep ;
    schema:name "Step 6: Define Decision Ontology"@en ;
    schema:text "Beyond operational ontology (what exists), define a decision ontology: who owns each decision, what triggers it, what action it generates, and how the loop closes. This makes your enterprise executable."@en ;
    schema:about :decisionOntology .

:step7 a schema:HowToStep ;
    schema:name "Step 7: Ship Releases"@en ;
    schema:text "Version your ontology releases like software releases. Tag versions, maintain changelogs, and ensure downstream systems consume specific versions. The ontology that defines organizational meaning should be shipped with the same rigor as application code."@en ;
    schema:about :ontologyGovernedLikeCode .

:llms a schema:Thing ;
    schema:name "Large Language Models (LLMs)"@en ;
    schema:description "AI models that can generate, read, navigate, and edit ontology source files in any RDF notation, dramatically simplifying ontology development workflows."@en ;
    rdfs:isDefinedBy : .

:decisionOntology a schema:Thing ;
    schema:name "Decision Ontology"@en ;
    schema:description "An ontology describing what an enterprise does about what exists — decision ownership, triggers, actions, and feedback loops. Source code for organizational will to act."@en ;
    rdfs:isDefinedBy : .

:ontologyMigration a schema:Thing ;
    schema:name "Ontology Migration from Tables to Code"@en ;
    schema:description "The process of extracting ontology data from database tables or spreadsheets into plain text RDF files for version control and code-based management."@en ;
    rdfs:isDefinedBy : .

:linkedArt a schema:Thing ;
    schema:name "Linked Art"@en ;
    schema:description "A community and ontology for cultural heritage data that transpiles RDFS+OWL ontologies into Python class libraries for developer-friendly usage."@en ;
    owl:sameAs <http://dbpedia.org/resource/Linked_Art> .

:ontologyAsGraph a schema:Thing ;
    schema:name "Ontology as Graph"@en ;
    schema:description "The perspective that an ontology is fundamentally a (hyper-)graph of interrelated concepts, distinct from code which is typically a tree structure."@en ;
    rdfs:isDefinedBy : .

:ontologyGuardian a schema:Thing ;
    schema:name "Ontology Guardian"@en ;
    schema:description "The role responsible for owning and guarding an organization's ontology as an active dependency for AI systems, not just documentation."@en ;
    rdfs:isDefinedBy : .

:rdfNotations a schema:Thing ;
    schema:name "RDF Notations"@en ;
    schema:description "Different serialization formats for RDF data including Turtle (human-readable), JSON-LD (tooling-friendly), and RDF/XML (legacy). LLMs bridge the gap between readability and tooling."@en ;
    rdfs:isDefinedBy : .

:ontologyJourney a schema:Thing ;
    schema:name "Ontology Development Journey"@en ;
    schema:description "The typical progression from idea to notebook to spreadsheet to SQL tables to graph database, representing increasing sophistication in modeling relationships."@en ;
    rdfs:isDefinedBy : .

<https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator#this> a schema:SoftwareApplication ;
    schema:name "kg-generator skill"@en ;
    schema:url <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator> ;
    schema:description "Knowledge Graph Generator skill for transforming web content into RDF knowledge graphs using schema.org terms."@en ;
    owl:sameAs <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/kg-generator>,
               <https://github.com/anomalyco/opencode/tree/main/kg-generator>,
               <https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/#kgGeneratorSkill> .

<https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rdf-infographic-skill#this> a schema:SoftwareApplication ;
    schema:name "rdf-infographic-skill"@en ;
    schema:url <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rdf-infographic-skill> ;
    schema:description "RDF-based HTML and Markdown Infographic Generation Skill."@en ;
    owl:sameAs <https://github.com/OpenLinkSoftware/ai-agent-skills/tree/main/rdf-infographic-skill>,
               <https://github.com/anomalyco/opencode/tree/main/rdf-infographic-skill>,
               <https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/#rdf-infographic-skill> .

<https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/#qwen36Plus> a schema:SoftwareApplication ;
    schema:name "qwen3.6-plus"@en ;
    schema:url <https://help.aliyun.com/zh/model-studio/models> ;
    schema:description "Large language model by Alibaba Cloud (Qwen series) used for RDF generation and infographic creation."@en ;
    owl:sameAs <https://help.aliyun.com/zh/model-studio/models>,
               <https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/#qwen36Plus> .

<https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/#opencode> a schema:SoftwareApplication ;
    schema:name "opencode"@en ;
    schema:url <https://github.com/anomalyco/opencode> ;
    schema:description "AI-powered coding agent that orchestrates skill execution, file generation, and validation workflows."@en ;
    owl:sameAs <https://github.com/anomalyco/opencode>,
               <https://opencode.ai>,
               <https://www.linkedin.com/posts/tonyseale_did-you-start-building-your-ontology-as-a-share-7463353332565356545-jY54/#opencode> .
