콘텐츠로 이동

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

출처 확인은 실제 계정 설치·기기 동작·서비스 상태의 검증을 뜻하지 않습니다.

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.

Use a REL record when a relation itself needs identity, fields or provenance:

@gram 2
doc evidence-links
t Evidence links
E export-check
t Export round-trip
REL export-support export-check supports archive-policy
confidence high
SRC verification
t Verification report
K archive-policy
t Keep a readable archive

REL 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.

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: .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 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

안내와 다른 점이 있나요? 문서 오류 신고 · 문제 해결
이메일은 직접 검토해 전송하세요. API key나 비공개 문서 내용은 보내지 마세요.