schema-sidecar
Theme
Text size
GitHub Menu

Slot in Linked Open Knowledge Format (LOKF)

revision

The state of the resource this event refers to: a commit id, an ETag or version label, or a content digest of the resource as retrieved (<algorithm>:<hex>). Absent means unrecorded, never unchanged.

URI: lokf:revision

Applicable Classes#

NameDescriptionModifies Slot
GenerationHow and when the current content was produced (OKF v0no
RevisionThe latest in-place edit of the content, for a producer that keeps `generated…no
VerificationOne verification event (OKF v0no
RefutationOne refutation event: an actor found the content wrong against its sources or…no

Properties#

Type and Range#

PropertyValue
RangeString
Domain OfGeneration, Revision, Verification, Refutation
Slot URIlokf:revision

In Subsets#

Comments#

  • A literal on the event, not prov:used: the value is an opaque version token, not the IRI of an entity. pav:version describes the resource itself; here the subject is the act of checking it.
  • Quote it in YAML. An all-digit commit id (1234567) is otherwise read as a number and fails the string range, and an ETag carries its own double quotes.

See Also#

Notes#

  • Proposed for OKF §5.2 as GoogleCloudPlatform/knowledge-catalog#437, under this name. Kept in lokf_semantic until OKF adopts it, then moved to okf_v02. A per-source checked: [{ resource, revision }] list, for a concept with several sources, waits on that design.

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selflokf:revision
nativelokf:revision

LinkML Source#

YAML
name: revision
description: 'The state of the resource this event refers to: a commit id, an ETag
  or version label, or a content digest of the resource as retrieved (`<algorithm>:<hex>`).
  Absent means unrecorded, never unchanged.'
notes:
- 'Proposed for OKF §5.2 as GoogleCloudPlatform/knowledge-catalog#437, under this
  name. Kept in lokf_semantic until OKF adopts it, then moved to okf_v02. A per-source
  `checked: [{ resource, revision }]` list, for a concept with several sources, waits
  on that design.'
comments:
- 'A literal on the event, not prov:used: the value is an opaque version token, not
  the IRI of an entity. pav:version describes the resource itself; here the subject
  is the act of checking it.'
- Quote it in YAML. An all-digit commit id (`1234567`) is otherwise read as a number
  and fails the string range, and an ETag carries its own double quotes.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
see_also:
- https://github.com/GoogleCloudPlatform/knowledge-catalog/issues/437
rank: 1000
slot_uri: lokf:revision
domain_of:
- Generation
- Revision
- Verification
- Refutation
range: string