Relations and references
이 상세 자료는 아직 한국어로 번역되지 않아 영문 원문을 표시합니다.
GA 공개 출처와 지원 범위
- Status
- GA
- Component
- .gram format / Gram Core
- Deployment
- n/a (format spec)
- Applies to version
- Latest
- 출처 확인일
- 2026-10-25
- Owner
- thegram-one/thegram-format
- Public evidence
- Basis
- The public format page describes typed record relationships and cross-document links as part of .gram.
All pages: version and status matrix
출처 확인은 실제 계정 설치·기기 동작·서비스 상태의 검증을 뜻하지 않습니다.
Direction and predicates
Section titled “Direction and predicates”A short relation is written inside its source record as predicate target; the current record is the source and the target is the destination. Basic predicates are related, supports, contradicts, depends, implements, replaces, derives, blocks, enables and part-of. Replacing means the newer/source entity points to the older/target entity.
Shorthands > target, ! target and < target mean related, contradicts and part-of. For example, supports export-check says this record supports export-check; it does not create a reverse edge.
REL records
Section titled “REL records”Use a REL record when a relation itself needs identity, fields or provenance:
@gram 2doc evidence-linkst Evidence linksE export-checkt Export round-tripREL export-support export-check supports archive-policyconfidence highSRC verificationt Verification reportK archive-policyt Keep a readable archiveREL shares the document's record-ID namespace. A short edge is identified by its source/predicate/target tuple; a REL record uses its own stable ID. Duplicate short edges are invalid.
Target resolution
Section titled “Target resolution”A bare target names a record in this document. Use document-id/entity-id for a cross-document target. Local targets must resolve; external document references are preserved even when unresolved and are not fetched automatically. A URI field is a reference, not a graph target. Relationships express knowledge; they do not grant access or trigger actions.
Source
Section titled “Source”Source: .gram language specification
Reference: https://github.com/clab-one/thegram-format/blob/main/spec/language.md
Source: Current rich document specification
Reference: https://github.com/clab-one/thegram-format/blob/main/spec/rich-document.md
Source: Current History/6 specification
Reference: https://github.com/clab-one/thegram-format/blob/main/spec/source-history-render.md
Source and renderer evidence
- Canonical source SHA-256
a2f3070f1ef0d2d0236ff76a6b158a7b5b73415906644f319ea54855967f3051- Selected revision
r4 · sha256:1dd79c3a40b0510e5645bf28ed220619c01b5744b7137d5d04a3d6e8298d362b- Local renderer
configured local Thegram renderer · API thegram-web-render/1- Core source
git+https://github.com/clab-one/thegram-format.git?rev=b16489e1d0d77d38f82d2f61776524737aa31557#b16489e1d0d77d38f82d2f61776524737aa31557
Canonical source: relations-guide.gram