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#
| Name | Description | Modifies Slot |
|---|---|---|
| Generation | How and when the current content was produced (OKF v0 | no |
| Revision | The latest in-place edit of the content, for a producer that keeps `generated… | no |
| Verification | One verification event (OKF v0 | no |
| Refutation | One refutation event: an actor found the content wrong against its sources or… | no |
Properties#
Type and Range#
| Property | Value |
|---|---|
| Range | String |
| Domain Of | Generation, Revision, Verification, Refutation |
| Slot URI | lokf: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#
- from schema: https://w3id.org/lokf/schema
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | lokf:revision |
| native | lokf: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