Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantechs

The SemOps Manual

Running a semantic practice the way you run software —
people, process, and a toolchain that actually exists.


What this is

SemOps is the operational discipline required to build, deploy, govern and evolve semantic knowledge systems continuously — what DevOps did for software, applied to ontologies, mappings, rules and knowledge graphs.

There is a lot of SemOps strategy about: maturity models, operating models, nine-stage pipeline blueprints, polyglot technology menus. Strategy is cheap. The reason semantic programmes stall is almost never that nobody drew the diagram — it is that the diagram had no commands under it, no named owner, and no answer for the person who has to justify the spend in October.

This manual is the missing middle. It takes the SemOps strategy material as given and connects it, stage by stage, to two toolchains that are built, tested and runnable today:

Toolchain What it is Where it fits
Ontology Quality Suite
GitHub · PyPI
A Python CLI and library — 50-check registry, OWL2 reasoning, version diffing, CSV→RDF triplification, auto-repair, live-triplestore checks. pip install ontology-quality-suite Automation: CI gates, release control, pipelines
Ontology Development Suite
GitHub
A VS Code extension — in-process SPARQL/SHACL/OWL2-RL engines via WASM, live diagnostics, graph view, query workbench The author's desk: the loop before CI

Every command shown in Part III was executed for real while writing this manual, against the ontology suite's own bundled examples/acme_robotics/ fixture. Where the output in this manual differs from what a strategy document would lead you to expect, the manual reports what actually happened and explains why — see Chapter 9 for the sharpest example, where the obvious flag is the wrong one.

Where the toolchain has no answer for a SemOps concept, this manual says so plainly and marks it grey. Chapter 14 is the honest ledger.


The shape of the argument

%%{init: {'theme':'base','themeVariables':{
  'fontSize':'15px','fontFamily':'Segoe UI, Helvetica, Arial, sans-serif',
  'lineColor':'#14243A','primaryTextColor':'#14243A',
  'edgeLabelBackground':'#FFFFFF'}}}%%
flowchart TD
    P1["<b>I — Why it is hard</b><br/>business, people, partners,<br/>provenance, machines"]
    P2["<b>II — The frame</b><br/>stages, roles, maturity"]
    P3["<b>III — The practice</b><br/>real commands,<br/>both toolchains"]
    P4["<b>IV — The ledger</b><br/>coverage, gaps, roadmap"]

    P1 --> P2 --> P3 --> P4
    P4 -. "what you learn<br/>changes the frame" .-> P2

    classDef human   fill:#FFE6DA,stroke:#FD5B1C,stroke-width:2px,color:#14243A;
    classDef govern  fill:#FFF0D6,stroke:#FE8902,stroke-width:2px,color:#14243A;
    classDef ci      fill:#D9F4FA,stroke:#02B7D4,stroke-width:2px,color:#14243A;
    classDef ops     fill:#D9F5EC,stroke:#0CB88E,stroke-width:2px,color:#14243A;
    class P1 human; class P2 govern; class P3 ci; class P4 ops;
Loading

Part I is unusual in a technical manual, and it is first on purpose. The failure modes that kill semantic programmes are overwhelmingly organisational, cognitive and commercial rather than technical. A team that can run every command in Part III and has not read Part I will build something correct that nobody adopts.


Read it on paper

Download the A4 PDF — the whole manual as a single A4 document: title page, contents with page numbers, all nineteen diagrams rendered, and an index of commands, flags and check identifiers.

The PDF is published as a release asset rather than committed, so the repository does not carry a fresh multi-megabyte binary for every revision. Build it yourself with cd tools && npm install && node build-pdf.mjs — see tools/.


Run it yourself

Three self-contained Jupyter notebooks cover the parts where watching the tool behave teaches more than reading about it. Each writes its own fixtures to a temporary directory, so nothing needs to exist on disk first.

Notebook Chapters What you watch happen
1 — Validation and the gate 8, 9 An unscoped gate drowning in other people's findings, the flag that fixes it, and the near-miss filter that returns a confidently empty report
2 — Rules and inference 11 SHACL-AF rules deriving triples, and all four ways a rule silently does nothing
3 — Release and change 12 Evidence-based semver, change impact, and a repair applying itself — including the comment it mangles
pip install ontology-quality-suite shacl jupyterlab && jupyter lab

See notebooks/ for prerequisites and how they are generated.


Contents

Part I — Why this is hard

# Chapter What it covers
1 The business case The problems semantics actually solves, why they are invisible on a balance sheet, and how to fund work whose payoff is a cost that never arrives
2 People and cognition Social challenges inside the enterprise; cognitive styles and cognitive capacity as first-class design constraints, not soft-skill garnish
3 Across the boundary Working with peers, consortia and supply chains — where the incentives, not the RDF, are the hard part
4 From research to industry What university projects produce, what industry needs, and the specific gap between them
5 GenAI and agents What large models change, what they emphatically do not, and why agents raise the value of exactly the discipline SemOps describes

Part II — The SemOps frame

# Chapter What it covers
6 Stages and stories The nine pipeline stages, the six operating-model layers, the five maturity levels, and the cast of roles — reconciled into one picture
7 The toolchain Both tools, what each is for, installation, and a decision table from question to command

Part III — The practice

# Chapter What it covers
8 Model and validate Stage 2 — the author's loop, in the editor, before anything reaches CI
9 Continuous integration Stage 3 — the gate; and the verified reason the obvious flag is the wrong one
10 Ingest and transform Stage 6 — CSV→RDF, cheapest check first, and whose problem a finding is
11 Rules and inference SHACL-AF rules — deriving triples, the four silent hazards, rules at scale, and why the browser build cannot run them
12 Release and change Stages 1 and 4 — evidence-based semver, impact analysis, and repairs that apply themselves
13 Operate and consume Stages 7–9 — live triplestores, documentation, and knowledge products

Part IV — The ledger

# Chapter What it covers
14 Coverage and gaps The honest matrix: SemOps concept → command, or → grey
15 Adoption roadmap A sequenced path from Level 1 to Level 3, with what to do on the first day of each
A Diagram and brand conventions The palette, and the width rules that keep every diagram readable on screen and on A4

How to read it

If you are deciding whether to fund this — Chapters 1, 3 and 4, then the coverage matrix in 13. About forty minutes.

If you have been handed a stalled semantic programme — Chapter 2 first. The diagnosis is usually there rather than in the technology.

If you are the engineer — skim 6 and 7, then work through Part III with a terminal open. Every command runs against fixtures bundled in the ontology suite, so nothing needs inventing to follow along.

If you are writing the business case — Chapters 1 and 14, and steal the maturity-level framing wholesale.


Conventions

Findings, commands and outputs in Part III are real. Where a number appears ("5 findings", "confidence 100%") it is the number the tool printed on the run described, not an illustrative figure.

One number still moves, and it is labelled where it appears. A scoped data run reports 36 or 37 depending on whether the optional DL reasoner starts — visible in the report itself, since REA-021 present means it ran and REA-022 means it did not. Everything else is now exactly reproducible across repeated runs.

Earlier editions carried a longer caveat here, because the unscoped totals used to drift by a few findings between identical invocations. That was a defect in how findings were merged rather than anything about the ontology, and it is fixed (Chapter 14 §14.6). The episode is why Chapter 9 §9.8 argues for asserting on check identifiers rather than counts.

Grey boxes and dashed borders in diagrams mean not covered by this toolchain. They are a deliberate, load-bearing part of the notation — see Appendix A.

Diagrams are Mermaid and render natively on GitHub. They are built to stay readable when printed A4 portrait; the rules that achieve that are documented in Appendix A for anyone extending the manual.


Licence

MIT — © 2026 Peter Winstanley. See LICENSE.

This covers the text, the diagrams and the build tooling: use it, adapt it, and put it in front of your own organisation. Attribution is required; a warranty is not offered.

Two things the licence does not reach. The Semantechs mark in assets/ is a trademark, and a copyright licence does not grant rights in it — reuse the manual freely, but replace the branding if you republish. The third-party vocabularies referenced throughout (the W3C Organization Ontology, FOAF) carry their own terms, as do the two toolchains the manual documents.



Semantechs · Turtle, OWL, SPARQL — and the operating discipline around them

About

A manual of SemOps practices that references tooling

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages