| Item | Value |
|---|---|
| Name | ALIAS (specification document BIND ALIAS) |
| TAG ID | 0x0A5L |
| Codec ID | 0x00000A50 |
| Specification document | 0x00000000/codecs/0x00000A50/ (DECLARE target 0A50) |
| Section | 5 0101 (Edge statement), offset within section C = 5 |
| Kind | Edge · family: statement, group: pointing and names |
| TAG WORD | 0000 1010 0101 LLLL (000K KKKC CCCC LLLL) |
| Index description | Connects another name (alias) of Subject. The layout is the same as LABEL |
| Hugo side | edge/alias.md |
Fields (specification document)
The order of FIELDs in the document is the order of the Payload fields (Codec specification document). The Edge Id of an Edge is not declared as a FIELD.
| Order | Field (BIND) | FIELD | Width | Accepted form (CODEC) | ENUM |
|---|---|---|---|---|---|
| 1 | subject | #2 | record | Any record (excluding slot markers) | |
| 2 | object | #3 | record | 0780 UTF8-LANGUAGE-TEXT, 0790 UTF8-LANGUAGE-TEXT, 0050 LOCAL |
ALIAS is a statement Edge that connects, as Object, one other name (alias) for the target of Subject. Codec 0x0A5L.
LABEL is the representative name in that language (at most one per language), and ALIAS is another name for the same target (several per language; Wikidata “also known as”). It is used mainly for search. The layout and validity are the same as LABEL.
Layout
TAG WORD 0000 1010 0101 LLLL
[Length extension TAG]
Edge Id LOCAL Reference record
Subject 1 Reference record
Object 1 UTF8-LANGUAGE-TEXT Value or LOCAL Reference record
Interpretation and validity
- The rules for Subject and Object are the same as LABEL (Object is UTF8-LANGUAGE-TEXT or a LOCAL that resolves to it).
- Several ALIASes may be placed on the same Subject and language. The order is their order in the document.
- The same text as the LABEL of the same Subject and language is not placed as an ALIAS (one LABEL suffices for the representative name). This rule is a recommendation.
- The geul.org specification document restricts Object with CODEC (
0780,0790,0050, same as LABEL).
Example (non-normative)
Edge Id 0003, Subject Q42 (0141 002A), Object DNA (en): language 0761 656E (BCP47 en) + 3 bytes of text (odd) → UTF8-LANGUAGE-TEXT-ODD (0x079L), 0794 0761 656E 444E 4100.
- TAG 1 + Edge Id 2 + Subject 2 + Object 5 = 10 WORDs,
LLLL=1001. The TAG is0A59.
0A59 0051 0003 0141 002A 0794 0761 656E 444E 4100
Related pages
Specification document source
This is the specification document 0x00000000/codecs/0x00000A50/latest.geul as read with geul show (hexadecimal in uppercase).
SPEC-VERSION 0x0001
DOC-ID 0x04260000000000000A5000000000
BODY
#1 DECLARE 0x0A50
#2 FIELD #1 record
#3 FIELD #1 record
#4 BIND #1 "ALIAS"
#5 BIND #2 "subject"
#6 BIND #3 "object"
#7 CODEC #3 0x0780
#8 CODEC #3 0x0790
#9 CODEC #3 0x0050