Class in Linked Open Knowledge Format (LOKF)
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 declared parameters, the executor runs the bound computation and returns a receipt, and the attester deterministically compares what actually ran against this recipe. The computation text lives in the body's # Computation fenced block or in the file named by computation. Semantically a prov:Plan with an attestation contract layered on.
classDiagram
class AttestedComputation
click AttestedComputation href "../../classes/AttestedComputation/"
Concept <|-- AttestedComputation
click Concept href "../../classes/Concept/"
AttestedComputation : about
AttestedComputation --> "*" Concept : about
click Concept href "../../classes/Concept/"
AttestedComputation : additionalType
AttestedComputation : attester
AttestedComputation --> "0..1" Attester : attester
click Attester href "../../classes/Attester/"
AttestedComputation : audience
AttestedComputation --> "0..1" Audience : audience
click Audience href "../../classes/Audience/"
AttestedComputation : author
AttestedComputation --> "*" Agent : author
click Agent href "../../classes/Agent/"
AttestedComputation : body
AttestedComputation : citations
AttestedComputation --> "*" Citation : citations
click Citation href "../../classes/Citation/"
AttestedComputation : computation
AttestedComputation : created
AttestedComputation : definedBy
AttestedComputation --> "*" Concept : definedBy
click Concept href "../../classes/Concept/"
AttestedComputation : dependsOn
AttestedComputation --> "*" Concept : dependsOn
click Concept href "../../classes/Concept/"
AttestedComputation : derivedFrom
AttestedComputation --> "*" Concept : derivedFrom
click Concept href "../../classes/Concept/"
AttestedComputation : description
AttestedComputation : educationalLevel
AttestedComputation : exclusions
AttestedComputation --> "*" Exclusion : exclusions
click Exclusion href "../../classes/Exclusion/"
AttestedComputation : executor
AttestedComputation --> "0..1" Executor : executor
click Executor href "../../classes/Executor/"
AttestedComputation : generated
AttestedComputation --> "0..1" Generation : generated
click Generation href "../../classes/Generation/"
AttestedComputation : genre
AttestedComputation --> "0..1" DiataxisMode : genre
click DiataxisMode href "../../enums/DiataxisMode/"
AttestedComputation : hasPart
AttestedComputation --> "*" Concept : hasPart
click Concept href "../../classes/Concept/"
AttestedComputation : id
AttestedComputation : isPartOf
AttestedComputation --> "*" Concept : isPartOf
click Concept href "../../classes/Concept/"
AttestedComputation : isReplacedBy
AttestedComputation --> "*" Concept : isReplacedBy
click Concept href "../../classes/Concept/"
AttestedComputation : license
AttestedComputation : parameters
AttestedComputation --> "*" Parameter : parameters
click Parameter href "../../classes/Parameter/"
AttestedComputation : references
AttestedComputation --> "*" Concept : references
click Concept href "../../classes/Concept/"
AttestedComputation : refuted
AttestedComputation --> "*" Refutation : refuted
click Refutation href "../../classes/Refutation/"
AttestedComputation : relatedTo
AttestedComputation --> "*" Concept : relatedTo
click Concept href "../../classes/Concept/"
AttestedComputation : relations
AttestedComputation --> "*" Relation : relations
click Relation href "../../classes/Relation/"
AttestedComputation : resource
AttestedComputation : revised
AttestedComputation --> "0..1" Revision : revised
click Revision href "../../classes/Revision/"
AttestedComputation : runtime
AttestedComputation : sameAs
AttestedComputation --> "*" Concept : sameAs
click Concept href "../../classes/Concept/"
AttestedComputation : source
AttestedComputation --> "*" Concept : source
click Concept href "../../classes/Concept/"
AttestedComputation : sources
AttestedComputation --> "*" Source : sources
click Source href "../../classes/Source/"
AttestedComputation : stale_after
AttestedComputation : status
AttestedComputation --> "0..1" ConceptStatus : status
click ConceptStatus href "../../enums/ConceptStatus/"
AttestedComputation : tags
AttestedComputation : timestamp
AttestedComputation : title
AttestedComputation : type
AttestedComputation : typicalAgeRange
AttestedComputation : usage_window
AttestedComputation --> "0..1" UsageWindow : usage_window
click UsageWindow href "../../classes/UsageWindow/"
AttestedComputation : verified
AttestedComputation --> "*" Verification : verified
click Verification href "../../classes/Verification/"
AttestedComputation : version
Inheritance#
- Concept
- AttestedComputation
Class Properties#
| Property | Value |
|---|---|
| Class URI | lokf:AttestedComputation |
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| runtime | 1 String | REQUIRED on an Attested Computation | direct |
| parameters | * Parameter | The typed, named holes the agent may fill — the ONLY surface the agent may bi… | direct |
| computation | 0..1 Uriorcurie | Optional path to a file holding the computation; absent means the body’s `# C… | direct |
| executor | 0..1 Executor | How the computation is run and what evidence a run must return | direct |
| attester | 0..1 Attester | The deterministic, non-LLM verdict check over a receipt | direct |
| id | 1 Uriorcurie | The concept’s stable IRI | Concept |
| type | 1 String | The concept’s type - OKF’s single required field | Concept |
| title | 0..1 String | Human-readable display name | Concept |
| description | 0..1 String | A single-sentence summary of the concept | Concept |
| resource | 0..1 Uriorcurie | A URI that uniquely identifies the underlying real-world asset the concept de… | Concept |
| tags | * String | Short cross-cutting keywords for categorization | Concept |
| timestamp | 0..1 Datetime | ISO 8601 datetime of the last meaningful change | Concept |
| created | 0..1 Datetime | ISO 8601 datetime the concept was created | Concept |
| version | 0..1 String | A version string for the concept’s content | Concept |
| license | 0..1 Uriorcurie | The license under which the concept or bundle is offered | Concept |
| author | * Agent | The agent(s) responsible for authoring the concept | Concept |
| body | 0..1 String | The markdown body of the concept document (everything after the frontmatter) | Concept |
| citations | * Citation | External sources supporting claims in the body | Concept |
| relations | * Relation | Typed relationships whose predicate is not covered by a named relation slot | Concept |
| isPartOf | * Concept | The target concept that this concept is a part of | Concept |
| hasPart | * Concept | A concept that is a part of this concept | Concept |
| references | * Concept | A concept or resource this concept refers to | Concept |
| dependsOn | * Concept | A concept this concept depends on | Concept |
| derivedFrom | * Concept | An entity this concept was derived from (provenance) | Concept |
| isReplacedBy | * Concept | A concept that supersedes this one, without asserting equivalence | Concept |
| about | * Concept | The subject matter this concept is about | Concept |
| sameAs | * Concept | An IRI asserting this concept is the same entity as another | Concept |
| relatedTo | * Concept | A generic association to another concept | Concept |
| definedBy | * Concept | A resource that formally defines this concept | Concept |
| source | * Concept | A resource from which this concept is derived or sourced | Concept |
| genre | 0..1 DiataxisMode | The Diátaxis documentation mode of the concept’s markdown body (tutorial, how… | Concept |
| sources | * Source | The materials this concept derives from, each carrying objective credibility … | Concept |
| exclusions | * Exclusion | The materials this concept’s author considered and left out on purpose, each … | Concept |
| usage_window | 0..1 UsageWindow | The { from, to } date range framing every usage_count | Concept |
| generated | 0..1 Generation | How and when the current content was produced: by (REQUIRED actor) and at… | Concept |
| revised | 0..1 Revision | The latest in-place edit of the content, as {by, at}, kept apart from `gene… | Concept |
| verified | * Verification | Verification events confirming the content against its sources or resource | Concept |
| refuted | * Refutation | Refutation events: an actor found the content wrong against its sources or re… | Concept |
| status | 0..1 ConceptStatus | Lifecycle status of the concept: draft | stable |
| stale_after | 0..1 Datetime | The absolute instant on or after which the concept is stale (OKF §5 | Concept |
| additionalType | 0..1 String | The producer’s own type string when it names no LOKF class | Concept |
| audience | 0..1 Audience | The readers this concept is written for, such as readers aged 13 to 18, as an… | Concept |
| typicalAgeRange | 0..1 String | The typical age range of the concept’s readers, as schema | Concept |
| educationalLevel | 0..1 String | The level of education the concept is written for, in words or as the IRI of … | Concept |
Aliases#
- Attested Computation
Comments#
- Plain OKF writes
type: Attested Computation(with a space). LOKF loaders MUST normalize the spaced form to this class name when resolving the type designator (the alias records the written form); LOKF-authored bundles SHOULD writetype: AttestedComputation.
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lokf/schema
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | lokf:AttestedComputation |
| native | lokf:AttestedComputation |
| broad | prov:Plan |
| close | schema:HowTo |
LinkML Source#
Direct#
YAML
name: AttestedComputation
description: '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 declared `parameters`, the `executor` runs the bound computation and
returns a receipt, and the `attester` deterministically compares what actually ran
against this recipe. The computation text lives in the body''s `# Computation` fenced
block or in the file named by `computation`. Semantically a prov:Plan with an attestation
contract layered on.'
comments:
- 'Plain OKF writes `type: Attested Computation` (with a space). LOKF loaders MUST
normalize the spaced form to this class name when resolving the type designator
(the alias records the written form); LOKF-authored bundles SHOULD write `type:
AttestedComputation`.'
from_schema: https://w3id.org/lokf/schema
aliases:
- Attested Computation
close_mappings:
- schema:HowTo
broad_mappings:
- prov:Plan
is_a: Concept
slots:
- runtime
- parameters
- computation
- executor
- attester
class_uri: lokf:AttestedComputation
Induced#
YAML
name: AttestedComputation
description: '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 declared `parameters`, the `executor` runs the bound computation and
returns a receipt, and the `attester` deterministically compares what actually ran
against this recipe. The computation text lives in the body''s `# Computation` fenced
block or in the file named by `computation`. Semantically a prov:Plan with an attestation
contract layered on.'
comments:
- 'Plain OKF writes `type: Attested Computation` (with a space). LOKF loaders MUST
normalize the spaced form to this class name when resolving the type designator
(the alias records the written form); LOKF-authored bundles SHOULD write `type:
AttestedComputation`.'
from_schema: https://w3id.org/lokf/schema
aliases:
- Attested Computation
close_mappings:
- schema:HowTo
broad_mappings:
- prov:Plan
is_a: Concept
attributes:
runtime:
name: runtime
description: REQUIRED on an Attested Computation. How to run the computation (bigquery
| postgres | dbt | python | Looker | ...); defines what `parameters` mean and
how the executor and attester interpret the contract.
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: schema:runtimePlatform
owner: AttestedComputation
domain_of:
- AttestedComputation
range: string
required: true
parameters:
name: parameters
description: The typed, named holes the agent may fill — the ONLY surface the
agent may bind. Binding semantics follow `runtime`.
comments:
- 'Minted in lokf, mirroring the existing `fields` -> lokf:field idiom: schema.org
attaches PropertyValueSpecifications only through the Actions -input/-output
annotation syntax, which is not a reusable property.'
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: lokf:parameter
owner: AttestedComputation
domain_of:
- AttestedComputation
range: Parameter
multivalued: true
inlined: true
inlined_as_list: true
computation:
name: computation
description: 'Optional path to a file holding the computation; absent means the
body''s `# Computation` fenced block IS the computation. Minted in lokf: schema:contentUrl
is the nearest real property but is scoped to MediaObject bytes.'
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
close_mappings:
- schema:contentUrl
rank: 1000
slot_uri: lokf:computation
owner: AttestedComputation
domain_of:
- AttestedComputation
range: uriorcurie
executor:
name: executor
description: How the computation is run and what evidence a run must return.
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: lokf:executor
owner: AttestedComputation
domain_of:
- AttestedComputation
range: Executor
inlined: true
attester:
name: attester
description: The deterministic, non-LLM verdict check over a receipt.
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: lokf:attester
owner: AttestedComputation
domain_of:
- AttestedComputation
range: Attester
inlined: true
id:
name: id
description: The concept's stable IRI. By convention it is the bundle base IRI
joined with the Concept ID (the file path within the bundle, minus the `.md`
suffix). Becomes the JSON-LD @id / RDF subject.
notes:
- The schema requires an id, unlike OKF. A concept file may leave it out, since
the toolkit fills it from the base IRI and the Concept ID.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: AttestedComputation
domain_of:
- Concept
- Agent
- Source
range: uriorcurie
required: true
type:
name: type
description: The concept's type - OKF's single required field. SHOULD name a LOKF
class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm).
comments:
- Designates the JSON-LD @type / rdf:type. Consumers MUST tolerate unknown values
by treating the concept as a generic lokf:Concept.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
rank: 1000
designates_type: true
owner: AttestedComputation
domain_of:
- Concept
- Agent
- Parameter
range: string
required: true
title:
name: title
description: Human-readable display name.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:title
- rdfs:label
rank: 1000
slot_uri: schema:name
owner: AttestedComputation
domain_of:
- KnowledgeBundle
- Concept
- Citation
- Source
range: string
description:
name: description
description: A single-sentence summary of the concept.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:description
rank: 1000
slot_uri: schema:description
owner: AttestedComputation
domain_of:
- KnowledgeBundle
- Concept
- Field
- Distribution
- Citation
range: string
resource:
name: resource
description: A URI that uniquely identifies the underlying real-world asset the
concept describes (a table console URL, an API base URL, etc.). Absent for purely
abstract concepts.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcat:landingPage
- prov:specializationOf
rank: 1000
slot_uri: schema:url
owner: AttestedComputation
domain_of:
- Concept
- Source
- Exclusion
- Executor
- Attester
range: uriorcurie
tags:
name: tags
description: Short cross-cutting keywords for categorization.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcat:keyword
rank: 1000
slot_uri: schema:keywords
owner: AttestedComputation
domain_of:
- Concept
range: string
multivalued: true
timestamp:
name: timestamp
description: ISO 8601 datetime of the last meaningful change.
deprecated: Superseded in OKF v0.2 by `generated.at` (the `at` of the Generation
event attached via `generated`). Remains functional; consumers MAY fall back
to `timestamp` when `generated` is absent.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
exact_mappings:
- dcterms:modified
rank: 1000
slot_uri: schema:dateModified
owner: AttestedComputation
domain_of:
- Concept
range: datetime
created:
name: created
description: ISO 8601 datetime the concept was created.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
exact_mappings:
- dcterms:created
rank: 1000
slot_uri: schema:dateCreated
owner: AttestedComputation
domain_of:
- Concept
range: datetime
version:
name: version
description: A version string for the concept's content.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- pav:version
rank: 1000
slot_uri: schema:version
owner: AttestedComputation
domain_of:
- Concept
range: string
license:
name: license
description: The license under which the concept or bundle is offered.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: schema:license
owner: AttestedComputation
domain_of:
- KnowledgeBundle
- Concept
range: uriorcurie
author:
name: author
description: The agent(s) responsible for authoring the concept.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:creator
- prov:wasAttributedTo
rank: 1000
slot_uri: schema:author
owner: AttestedComputation
domain_of:
- Concept
- Source
range: Agent
multivalued: true
inlined: true
inlined_as_list: true
body:
name: body
description: The markdown body of the concept document (everything after the frontmatter).
Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization,
not duplicated in the frontmatter.
in_subset:
- okf_core
from_schema: https://w3id.org/lokf/schema
close_mappings:
- lokf:body
rank: 1000
slot_uri: schema:text
owner: AttestedComputation
domain_of:
- Concept
range: string
citations:
name: citations
description: External sources supporting claims in the body.
deprecated: Superseded in OKF v0.2 by `sources`, which adds the stable `id` footnote-join
key and per-source credibility signals (author, usage_count, last_modified).
Remains functional; consumers SHOULD read `sources` and MAY still parse `citations`
for v0.1 documents.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: schema:citation
owner: AttestedComputation
domain_of:
- Concept
range: Citation
multivalued: true
inlined: true
inlined_as_list: true
relations:
name: relations
description: Typed relationships whose predicate is not covered by a named relation
slot. Each entry is a reified Relation (predicate + target).
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
owner: AttestedComputation
domain_of:
- Concept
range: Relation
multivalued: true
inlined: true
inlined_as_list: true
isPartOf:
name: isPartOf
description: The target concept that this concept is a part of.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- schema:isPartOf
rank: 1000
slot_uri: dcterms:isPartOf
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
hasPart:
name: hasPart
description: A concept that is a part of this concept.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:hasPart
rank: 1000
slot_uri: schema:hasPart
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
references:
name: references
description: A concept or resource this concept refers to.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: dcterms:references
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
dependsOn:
name: dependsOn
description: A concept this concept depends on.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- lokf:dependsOn
rank: 1000
slot_uri: dcterms:requires
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
derivedFrom:
name: derivedFrom
description: An entity this concept was derived from (provenance).
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: prov:wasDerivedFrom
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
isReplacedBy:
name: isReplacedBy
description: A concept that supersedes this one, without asserting equivalence.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: dcterms:isReplacedBy
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
about:
name: about
description: The subject matter this concept is about.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- foaf:primaryTopic
rank: 1000
slot_uri: schema:about
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
sameAs:
name: sameAs
description: An IRI asserting this concept is the same entity as another.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- owl:sameAs
rank: 1000
slot_uri: schema:sameAs
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
relatedTo:
name: relatedTo
description: A generic association to another concept.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- skos:related
rank: 1000
slot_uri: dcterms:relation
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
definedBy:
name: definedBy
description: A resource that formally defines this concept.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: rdfs:isDefinedBy
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
source:
name: source
description: A resource from which this concept is derived or sourced.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: dcterms:source
owner: AttestedComputation
domain_of:
- Concept
range: Concept
multivalued: true
genre:
name: genre
description: 'The Diátaxis documentation mode of the concept''s markdown body
(tutorial, how-to, reference, or explanation). An optional facet orthogonal
to `type`: `type` says what the concept is *about*, `genre` says how its prose
*serves the reader*.'
comments:
- Consumers MUST tolerate absent or unknown values.
- 'Orthogonal to `type`, so the same subject can appear in several modes: a `Dataset`
whose body lists its columns is `genre: reference`, while an `Explanation` *about*
that dataset is `genre: explanation`. Keep one mode per concept - if a body
drifts between teaching, task steps, and background, split it and link the parts
with `references`/`about`.'
examples:
- value: tutorial
description: A Tutorial whose body walks a newcomer end-to-end through authoring
their first concept.
- value: how-to
description: A Playbook whose body walks through resolving a data-freshness
incident.
- value: reference
description: A Table whose body austerely describes each column.
- value: explanation
description: An Explanation discussing why a metric is defined the way it is.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
see_also:
- https://diataxis.fr/
aliases:
- diataxis_mode
- documentation_mode
rank: 1000
slot_uri: schema:genre
owner: AttestedComputation
domain_of:
- Concept
range: DiataxisMode
sources:
name: sources
description: The materials this concept derives from, each carrying objective
credibility signals. Markdown footnotes join to entries via `sources[].id`.
Supersedes `citations` and the body `# Citations` convention.
comments:
- schema:isBasedOn is primary rather than prov:wasDerivedFrom because the existing
`derivedFrom` slot already owns that predicate; two frontmatter keys sharing
one IRI would make JSON-LD compaction and round-tripping ambiguous. prov:wasDerivedFrom
is recorded as a close mapping, and the derivation reading stays queryable via
it.
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:source
- prov:wasDerivedFrom
rank: 1000
slot_uri: schema:isBasedOn
owner: AttestedComputation
domain_of:
- Concept
range: Source
multivalued: true
inlined: true
inlined_as_list: true
exclusions:
name: exclusions
description: 'The materials this concept''s author considered and left out on
purpose, each with its reason. A sibling of `sources`: a material listed here
was not derived from, and a material used by one concept may be left out by
another.'
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: lokf:excludes
owner: AttestedComputation
domain_of:
- Concept
range: Exclusion
multivalued: true
inlined: true
inlined_as_list: true
usage_window:
name: usage_window
description: The `{ from, to }` date range framing every `usage_count`. Attached
both to Concept (the shared window, sibling of `sources`) and to Source (a per-entry
override).
comments:
- 'Minted in lokf: dcterms:temporal (and schema:temporalCoverage) assert the resource''s
own temporal coverage, not the measurement window of its usage signals — borrowing
either would be a category error. dcterms:temporal is the nearest real term,
kept as a close mapping.'
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:temporal
rank: 1000
slot_uri: lokf:usageWindow
owner: AttestedComputation
domain_of:
- Concept
- Source
range: UsageWindow
inlined: true
generated:
name: generated
description: 'How and when the current content was produced: `by` (REQUIRED actor)
and `at` (ISO 8601 datetime). Supersedes the v0.1 `timestamp` field; consumers
MAY fall back to `timestamp` when `generated` is absent.'
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: prov:wasGeneratedBy
owner: AttestedComputation
domain_of:
- Concept
range: Generation
inlined: true
revised:
name: revised
description: The latest in-place edit of the content, as `{by, at}`, kept apart
from `generated`, which then stays the production event and is never rewritten.
A single mapping; a later edit overwrites it. The last meaningful change a consumer
reads is the later of `revised.at` and `generated.at`, so a bundle that restamps
`generated.at` on each edit instead, as 0.8.0 bundles do, reads as before.
notes:
- Proposed for OKF §5.2 as GoogleCloudPlatform/open-knowledge-format#28, which
settles `generated` as the immutable production event, under this name. Kept
in lokf_semantic until OKF adopts it, then moved to okf_v02.
comments:
- 'Minted in lokf: PROV relates a revised entity to the one it revises (prov:wasRevisionOf),
not an entity to the activity that revised it in place.'
- '`lokf validate` rejects a `revised.at` earlier than `generated.at`: an edit
cannot come before production.'
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
see_also:
- https://github.com/GoogleCloudPlatform/open-knowledge-format/issues/28
close_mappings:
- prov:wasInfluencedBy
rank: 1000
slot_uri: lokf:revised
owner: AttestedComputation
domain_of:
- Concept
range: Revision
inlined: true
verified:
name: verified
description: 'Verification events confirming the content against its sources or
resource. Independent of `generated`: who wrote a concept need not be who confirmed
it. Trust tiers derive from the actors: absent = unverified; only non-human
actors = machine-confirmed; any `human:<id>` actor = human-reviewed.'
comments:
- A bare `{ by, at }` mapping MUST be read as a one-element list; the LOKF loader
normalizes the bare form before LinkML validation.
- 'Minted in lokf: no established vocabulary has an entity-to-verification-event
property.'
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
close_mappings:
- prov:wasInfluencedBy
rank: 1000
slot_uri: lokf:verified
owner: AttestedComputation
domain_of:
- Concept
range: Verification
multivalued: true
inlined: true
inlined_as_list: true
refuted:
name: refuted
description: 'Refutation events: an actor found the content wrong against its
sources or resource, with the reason. The negative counterpart of `verified`,
accumulated the same way. A refutation is active while it is not older than
the last meaningful change (`generated.at` or `revised.at`); it never changes
the trust tier, which OKF derives from `verified` alone, and a consumer surfaces
it beside the tier.'
notes:
- Proposed for OKF §5.2 as GoogleCloudPlatform/open-knowledge-format#13, under
this name. Kept in lokf_semantic until OKF adopts it, then moved to okf_v02.
comments:
- A bare `{ by, at, reason }` mapping is read as a one-element list, as `verified`
is; the LOKF loader normalizes it before validation.
- Minted in lokf, as `verified` is.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
see_also:
- https://github.com/GoogleCloudPlatform/open-knowledge-format/issues/13
close_mappings:
- prov:wasInfluencedBy
rank: 1000
slot_uri: lokf:refuted
owner: AttestedComputation
domain_of:
- Concept
range: Refutation
multivalued: true
inlined: true
inlined_as_list: true
status:
name: status
description: 'Lifecycle status of the concept: draft | stable | deprecated. Absent
means stable. Advisory, never access control.'
comments:
- 'Absence is deliberately distinguishable from an explicit `status: stable` (a
consumer-side default), so no `ifabsent` is set.'
- schema:creativeWorkStatus is text-valued by design, so the flat JSON-LD context
path emitting the literal is exactly conformant schema.org usage; the enum's
ADMS meaning IRIs surface on the LinkML RDF/OWL/SHACL path.
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
close_mappings:
- adms:status
rank: 1000
slot_uri: schema:creativeWorkStatus
owner: AttestedComputation
domain_of:
- Concept
range: ConceptStatus
stale_after:
name: stale_after
description: 'The absolute instant on or after which the concept is stale (OKF
§5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD
is read as that day at 00:00:00Z.'
comments:
- schema:expires is the exact concept — a planned future expiry; prov:invalidatedAtTime
would falsely assert the entity WAS invalidated, and dcterms:valid names a validity
period only ambiguously.
in_subset:
- okf_v02
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:valid
rank: 1000
slot_uri: schema:expires
owner: AttestedComputation
domain_of:
- Concept
range: datetime
additionalType:
name: additionalType
description: The producer's own `type` string when it names no LOKF class.
comments:
- The concept is then typed `lokf:Concept` (SPEC §8) and the original spelling
is kept here, so an OKF type such as `BigQuery Table` survives the RDF projection.
- Set by the RDF projection, not normally authored. `lokf validate` still rejects
an undeclared `type`; this slot is how the permissive consumers (`convert`,
`query`, `serve`) honour OKF §11.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
rank: 1000
slot_uri: schema:additionalType
owner: AttestedComputation
domain_of:
- Concept
range: string
audience:
name: audience
description: The readers this concept is written for, such as readers aged 13
to 18, as an inlined Audience. Absent means the bundle's own readers.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
exact_mappings:
- dcterms:audience
rank: 1000
slot_uri: schema:audience
owner: AttestedComputation
domain_of:
- Concept
range: Audience
inlined: true
typicalAgeRange:
name: typicalAgeRange
description: 'The typical age range of the concept''s readers, as schema.org writes
it: `8-12`, or `13-` for 13 and over.'
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
exact_mappings:
- lrmi:typicalAgeRange
rank: 1000
slot_uri: schema:typicalAgeRange
owner: AttestedComputation
domain_of:
- Concept
range: string
pattern: ^[0-9]{1,3}-([0-9]{1,3})?$
educationalLevel:
name: educationalLevel
description: The level of education the concept is written for, in words or as
the IRI of a level in a published framework, such as a level of ISCED 2011.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
close_mappings:
- dcterms:educationLevel
- lrmi:educationalLevel
rank: 1000
slot_uri: schema:educationalLevel
owner: AttestedComputation
domain_of:
- Concept
range: string
class_uri: lokf:AttestedComputation