GTS head id
- CURIE:
gmeow:gtsHeadId - IRI: https://blackcatinformatics.ca/gmeow/gtsHeadId
- Category: property
- Defined by:
gmeow:slices/gts - Box roles: ConfigBox role, RBox role (What is this?)
The chain head of a segment — the content-id of its last frame, written 'blake3:gmeow:versionFingerprint, distinct from gmeow:contentDigest (which is byte-exact identity and applies to the file or a blob as a whole). Functional: a segment has exactly one head.
Structure
Property shape: datatype property; gmeow:GTSSegment -> xsd:string; functional
Sub-property of: gmeow:versionFingerprint
Practical Pattern
Use gmeow:gtsHeadId from gmeow:GTSSegment to xsd:string when the relationship itself belongs in the native GMEOW graph.
Example Snippets
These snippets are generated from canonical slice examples and trimmed to the Turtle blocks where this term appears.
Dist Package
- Source:
slices/core/gts/examples/dist-package.ttl - Examples catalog: open in catalog#example-slices-core-gts-examples-dist-package
@prefix gmeow: <https://blackcatinformatics.ca/gmeow/> .
@prefix ex: <https://blackcatinformatics.ca/gmeow/examples/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:gts-dist-segment-core
a gmeow:GTSSegment ;
rdfs:label "core dist segment"@en ;
gmeow:gtsSegmentOf ex:gts-dist-package-001 ;
gmeow:embodies ex:gmeow-ontology-expression-001 ;
gmeow:gtsSegmentIndex "0"^^xsd:nonNegativeInteger ;
gmeow:gtsHeadId "blake3:929d046b2300eb09424f2d46b07fb793ad97ddde5e9fdb25ebefe245e8da8be8" ;
gmeow:gtsProfile gmeow:gtsProfileDist ;
gmeow:usesTransformCodec gmeow:codecZstd .
ex:gts-dist-segment-music
a gmeow:GTSSegment ;
rdfs:label "appended music-extension segment"@en ;
gmeow:gtsSegmentOf ex:gts-dist-package-001 ;
gmeow:embodies ex:gmeow-ontology-expression-001 ;
gmeow:gtsSegmentIndex "1"^^xsd:nonNegativeInteger ;
gmeow:gtsHeadId "blake3:167704cc2c533090b63ff3bf38b4fcff2bb70b33f996aa22f53025044e310ee8" ;
gmeow:gtsProfile gmeow:gtsProfileGeneric ;
gmeow:usesTransformCodec gmeow:codecZstd .
Ai Offline Replay
- Source:
slices/extensions/dreaming/examples/ai-offline-replay.ttl - Examples catalog: open in catalog#example-slices-extensions-dreaming-examples-ai-offline-replay
@prefix gmeow: <https://blackcatinformatics.ca/gmeow/> .
@prefix ex: <https://blackcatinformatics.ca/gmeow/examples/dreaming/ai-offline-replay/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:lillithMemoryPackage a gmeow:GTSSegment ;
rdfs:label "Lillith's agent-memory package"@en ;
rdfs:comment "A GTS segment carrying grounded knowledge plus provenance and standpoints for AI consumption."@en ;
gmeow:embodies ex:lillithMemoryExpression ;
gmeow:gtsSegmentIndex "0"^^xsd:nonNegativeInteger ;
gmeow:gtsHeadId "blake3:7a3b9c2d4e5f60718293a4b5c6d7e8f9012345678901234567890abcdef12345" ;
gmeow:gtsProfile gmeow:gtsProfileAiPackage .
Common Companion Terms
gmeow:versionFingerprint, gmeow:GTSSegment
Usage Advice
Use when
- Use to commit to a segment's entire history with a single chain head — the version-fingerprint identity used to cite a segment, build a document's composite identity, or keep a compaction source citable.
Avoid when
- Avoid for byte-exact identity of the file or a blob (use
gmeow:contentDigest) and avoid asserting more than one head per segment; the head is functional and commits transitively to the chain.
How to use
- Record the last frame's content-id as 'blake3:
'; order heads by gmeow:gtsSegmentIndexto form the document's identity, and keep the head on a derived-from source so old transport claims stay citable after compaction.
Examples
- ex:seg0
gmeow:gtsHeadId"blake3:9f2c4e…".