Linked Open Knowledge Format (LOKF)
Classes
Agent
A person or organization responsible for a concept.AttestedComputation
A sanctioned, immutable recipe for computing a value (OKF v0.2 §10), carried as its own concept type. The frontmatter is the contract: the agent may only bind the declaredparameters, theexecutorruns the bound computation and returns a receipt, and theattesterdeterministically compares what actually ran against this recipe. The computation text lives in the body's# Computationfenced block or in the file named bycomputation. Semantically a prov:Plan with an attestation contract layered on.Attester
The deterministic, non-LLM check for an Attested Computation (OKF v0.2 §10.2):resourcenames code that takes a run's receipt and returns a verdict, run consumer-side. Honestly lokf-minted.Audience
The readers a concept is written for, as schema.org's PeopleAudience describes them: a kind of reader and an age range. Set on a concept written for narrower readers than the bundle's own, such as a version of another concept for younger readers.Checksum
A digest of a distribution's bytes, which a consumer recomputes before trusting them. Maps to spdx:Checksum, as DCAT 3 attaches it.Citationdeprecated
A reference to an external source supporting a claim in a concept's body. Attached via the schema:citation predicate.Concept
A single unit of knowledge within a bundle, represented as one markdown document. The abstract base of every LOKF type. Its own IRI (id) is the RDF subject; the markdown body and typed relations become triples about that subject.Dataset
A collection of data, published or curated for access and reuse.Distribution
A specific accessible form of a Dataset (a file, feed, or endpoint). Maps to dcat:Distribution.Document
A general knowledge document that does not fit a more specific type.Exclusion
A material the concept's author looked at and left out on purpose, with the reason: a test suite, a generated file, a retelling of another page. With it a checker can tell "nobody looked at this" from "someone looked and set it aside", and a reviewer can see who decided.Executor
How an Attested Computation is run (OKF v0.2 §10.2):resourcenames run instructions or code a runner follows;receiptdeclares the field names a run must return — the evidence surface the attester inspects. No established vocabulary has an execution-interface class, so the IRI is honestly lokf-minted; schema:EntryPoint (an invocation specification) is the nearest real term.Explanation
An understanding-oriented, discursive treatment of a topic that permits reflection. The Diátaxis explanation mode as a first-class concept type; typically links to its subject matter withabout.Field
A single column / property within a Table or Dataset schema. Maps to schema:PropertyValue.Generation
How and when the current content was produced (OKF v0.2generated, §5.2). Modeled as the PROV activity that generated the concept, so "who wrote this, when" is a one-hop join from the concept via prov:wasGeneratedBy, with both slots keeping PROV's activity-side semantics (prov:wasAssociatedWith, prov:endedAtTime) — domain/range correct with no reasoner or subproperty entailment required.GlossaryTerm
A defined term in a controlled vocabulary or glossary. Maps to schema:DefinedTerm and skos:Concept.KnowledgeBundle
A self-contained, hierarchical collection of concept documents — the unit of distribution (a git repo, tarball, or subdirectory). Maps to a DCAT Catalog. When a whole bundle is serialized as a single JSON-LD document, this class is the tree root; individual concept files validate against Concept (or a subclass).Metric
A precisely defined, measurable quantity — the canonical definition of a business or operational metric.Organization
An organization, team, or group. Usable both as an inline Agent value (publisher) and as a standalone Concept document with a body and typed relations.Parameter
A typed, named hole in an Attested Computation that the agent may fill (OKF v0.2 §10.2). Binding semantics (SQL bind variable, dbt var, Python argument) follow the concept'sruntime. Thetypekey deliberately shares the global JSON-LD @type alias — see the attribute comment for the exact triple that results.Person
An individual person. Usable both as an inline Agent value (author, publisher) and as a standalone Concept document with a body and typed relations.Playbook
A procedure or runbook — an ordered set of steps to accomplish a task or respond to an event. Serves the Diátaxis how-to (goal-oriented) mode.Policy
A governance, compliance, or operational policy document.Reference
A concept that mirrors an external source (a page, paper, or document) as a first-class citizen of the bundle so it can be cited and linked.Refutation
One refutation event: an actor found the content wrong against its sources or resource, at a time, for a reason. The negative counterpart of a Verification, so a person's no is recorded where their yes is. It is active while it is not older than the last meaningful change (generated.atorrevised.at); an edit after it leaves it on record as history. It never changes the trust tier, which OKF derives fromverifiedalone. PROV has no class for it, so the class IRI is lokf-minted and the generated ontology declares it a subclass of prov:Activity.Relation
A typed, reified relationship from the containing concept to a target, used when a predicate is not covered by one of the named relation slots. Modeled as an rdf:Statement (subject = the containing concept).Revision
The latest in-place edit of the content, for a producer that keepsgeneratedas the production event: who changed it last, and when. One mapping, never a list; a later edit overwrites it. PROV has no class for it, so the class IRI is lokf-minted and the generated ontology declares it a subclass of prov:Activity.Role
A role an agent holds within an organization over a period of time — a job, appointment, or position. Reifies the agent–organization link so it can carry a title (roleName) and a start/end interval, following the schema.org Role and W3C ORG Membership patterns.Service
A callable service or API endpoint.Source
A material a concept derives from (OKF v0.2 §5.1) — a pointer (resource) plus objective per-source credibility signals (author,usage_count,last_modified) from which consumers infer trust; OKF stores signals, never a score. Markdown footnotes whose label equalsidattribute individual claims to this entry. Supersedes Citation.Table
A structured, tabular dataset (e.g. a warehouse table or view) whose columns are described by Field objects underfields.Tutorial
A learning-oriented lesson: a guided, end-to-end practical activity through which a reader acquires a skill by doing. The Diátaxis tutorial mode as a first-class concept type; typically links to the reference and explanation it draws on withreferences.UsageWindow
The{ from, to }date range framing everyusage_countsignal (OKF v0.2 §5.1). Written once as a sibling ofsources; a single Source entry MAY carry its own override.Verification
One verification event (OKF v0.2verified, §5.2): an actor confirmed the content against its sources or resource at a time. Independent checks accumulate as separate events; trust tiers (unverified / machine-confirmed / human-reviewed) are derived from the actors, never stored. PROV has no Verification class, so the class IRI is honestly lokf-minted; the generated ontology declares it a subclass of prov:Activity.