system_id stringclasses 58
values | code stringlengths 1 84 | label stringlengths 0 1.79k | description stringlengths 3 4.22k ⌀ | parent_code stringlengths 1 30 ⌀ | status stringclasses 8
values | aliases listlengths 0 51 | extra stringlengths 2 2.32k ⌀ |
|---|---|---|---|---|---|---|---|
bio/aa1 | A | Alanine | 2-Aminopropanoic acid | null | null | [
"Ala"
] | {"formula": "CH3-CH(NH2)-COOH", "one_letter": "A", "systematic_name": "2-Aminopropanoic acid", "three_letter": "Ala"} |
bio/aa1 | R | Arginine | 2-Amino-5-guanidinopentanoic acid | null | null | [
"Arg"
] | {"formula": "H2N-C(=NH)-NH-[CH2]3-CH(NH2)-COOH", "one_letter": "R", "systematic_name": "2-Amino-5-guanidinopentanoic acid", "three_letter": "Arg"} |
bio/aa1 | N | Asparagine | 2-Amino-3-carbamoylpropanoic acid | null | null | [
"Asn"
] | {"formula": "H2N-CO-CH2-CH(NH2)-COOH", "one_letter": "N", "systematic_name": "2-Amino-3-carbamoylpropanoic acid", "three_letter": "Asn"} |
bio/aa1 | D | Aspartic acid | 2-Aminobutanedioic acid | null | null | [
"Asp"
] | {"formula": "HOOC-CH2-CH(NH2)-COOH", "one_letter": "D", "systematic_name": "2-Aminobutanedioic acid", "three_letter": "Asp"} |
bio/aa1 | C | Cysteine | 2-Amino-3-mercaptopropanoic acid | null | null | [
"Cys"
] | {"formula": "HS-CH2-CH(NH2)-COOH", "one_letter": "C", "systematic_name": "2-Amino-3-mercaptopropanoic acid", "three_letter": "Cys"} |
bio/aa1 | Q | Glutamine | 2-Amino-4-carbamoylbutanoic acid | null | null | [
"Gln"
] | {"formula": "H2N-CO-[CH2]2-CH(NH2)-COOH", "one_letter": "Q", "systematic_name": "2-Amino-4-carbamoylbutanoic acid", "three_letter": "Gln"} |
bio/aa1 | E | Glutamic acid | 2-Aminopentanedioic acid | null | null | [
"Glu"
] | {"formula": "HOOC-[CH2]2-CH(NH2)-COOH", "one_letter": "E", "systematic_name": "2-Aminopentanedioic acid", "three_letter": "Glu"} |
bio/aa1 | G | Glycine | Aminoethanoic acid | null | null | [
"Gly"
] | {"formula": "CH2(NH2)-COOH", "one_letter": "G", "systematic_name": "Aminoethanoic acid", "three_letter": "Gly"} |
bio/aa1 | H | Histidine | 2-Amino-3-(1H-imidazol-4-yl)- propanoic acid | null | null | [
"His"
] | {"one_letter": "H", "systematic_name": "2-Amino-3-(1H-imidazol-4-yl)- propanoic acid", "three_letter": "His"} |
bio/aa1 | I | Isoleucine | 2-Amino-3-methylpentanoic acide | null | null | [
"Ile"
] | {"formula": "C2H5-CH(CH3)-CH(NH2)-COOH", "one_letter": "I", "systematic_name": "2-Amino-3-methylpentanoic acide", "three_letter": "Ile"} |
bio/aa1 | L | Leucine | 2-Amino-4-methylpentanoic acid | null | null | [
"Leu"
] | {"formula": "(CH3)2CH-CH2-CH(NH2)-COOH", "one_letter": "L", "systematic_name": "2-Amino-4-methylpentanoic acid", "three_letter": "Leu"} |
bio/aa1 | K | Lysine | 2,6-Diaminohexanoic acid | null | null | [
"Lys"
] | {"formula": "H2N-[CH2]4-CH(NH2)-COOH", "one_letter": "K", "systematic_name": "2,6-Diaminohexanoic acid", "three_letter": "Lys"} |
bio/aa1 | M | Methionine | 2-Amino-4-(methylthio)butanoic acid | null | null | [
"Met"
] | {"formula": "CH3-S-[CH2]2-CH(NH2)-COOH", "one_letter": "M", "systematic_name": "2-Amino-4-(methylthio)butanoic acid", "three_letter": "Met"} |
bio/aa1 | F | Phenylalanine | 2-Amino-3-phenylpropanoic acid | null | null | [
"Phe"
] | {"formula": "C6H5-CH2-CH(NH2)-COOH", "one_letter": "F", "systematic_name": "2-Amino-3-phenylpropanoic acid", "three_letter": "Phe"} |
bio/aa1 | P | Proline | Pyrrolidine-2-carboxylic acid | null | null | [
"Pro"
] | {"one_letter": "P", "systematic_name": "Pyrrolidine-2-carboxylic acid", "three_letter": "Pro"} |
bio/aa1 | S | Serine | 2-Amino-3-hydroxypropanoic acid | null | null | [
"Ser"
] | {"formula": "HO-CH2-CH(NH2)-COOH", "one_letter": "S", "systematic_name": "2-Amino-3-hydroxypropanoic acid", "three_letter": "Ser"} |
bio/aa1 | T | Threonine | 2-Amino-3-hydroxybutanoic acid e | null | null | [
"Thr"
] | {"formula": "CH3-CH(OH)-CH(NH2)-COOH", "one_letter": "T", "systematic_name": "2-Amino-3-hydroxybutanoic acid e", "three_letter": "Thr"} |
bio/aa1 | W | Tryptophan | 2-Amino-3-(lH-indol-3-yl)- propanoic acid | null | null | [
"Trp"
] | {"one_letter": "W", "systematic_name": "2-Amino-3-(lH-indol-3-yl)- propanoic acid", "three_letter": "Trp"} |
bio/aa1 | Y | Tyrosine | 2-Amino-3-(4-hydroxyphenyl)- propanoic acid | null | null | [
"Tyr"
] | {"one_letter": "Y", "systematic_name": "2-Amino-3-(4-hydroxyphenyl)- propanoic acid", "three_letter": "Tyr"} |
bio/aa1 | V | Valine | 2-Amino-3-methylbutanoic acid | null | null | [
"Val"
] | {"formula": "(CH3)2CH-CH(NH2)-COOH", "one_letter": "V", "systematic_name": "2-Amino-3-methylbutanoic acid", "three_letter": "Val"} |
bio/aa3 | Ala | Alanine | 2-Aminopropanoic acid | null | null | [
"A"
] | {"formula": "CH3-CH(NH2)-COOH", "one_letter": "A", "systematic_name": "2-Aminopropanoic acid", "three_letter": "Ala"} |
bio/aa3 | Arg | Arginine | 2-Amino-5-guanidinopentanoic acid | null | null | [
"R"
] | {"formula": "H2N-C(=NH)-NH-[CH2]3-CH(NH2)-COOH", "one_letter": "R", "systematic_name": "2-Amino-5-guanidinopentanoic acid", "three_letter": "Arg"} |
bio/aa3 | Asn | Asparagine | 2-Amino-3-carbamoylpropanoic acid | null | null | [
"N"
] | {"formula": "H2N-CO-CH2-CH(NH2)-COOH", "one_letter": "N", "systematic_name": "2-Amino-3-carbamoylpropanoic acid", "three_letter": "Asn"} |
bio/aa3 | Asp | Aspartic acid | 2-Aminobutanedioic acid | null | null | [
"D"
] | {"formula": "HOOC-CH2-CH(NH2)-COOH", "one_letter": "D", "systematic_name": "2-Aminobutanedioic acid", "three_letter": "Asp"} |
bio/aa3 | Cys | Cysteine | 2-Amino-3-mercaptopropanoic acid | null | null | [
"C"
] | {"formula": "HS-CH2-CH(NH2)-COOH", "one_letter": "C", "systematic_name": "2-Amino-3-mercaptopropanoic acid", "three_letter": "Cys"} |
bio/aa3 | Gln | Glutamine | 2-Amino-4-carbamoylbutanoic acid | null | null | [
"Q"
] | {"formula": "H2N-CO-[CH2]2-CH(NH2)-COOH", "one_letter": "Q", "systematic_name": "2-Amino-4-carbamoylbutanoic acid", "three_letter": "Gln"} |
bio/aa3 | Glu | Glutamic acid | 2-Aminopentanedioic acid | null | null | [
"E"
] | {"formula": "HOOC-[CH2]2-CH(NH2)-COOH", "one_letter": "E", "systematic_name": "2-Aminopentanedioic acid", "three_letter": "Glu"} |
bio/aa3 | Gly | Glycine | Aminoethanoic acid | null | null | [
"G"
] | {"formula": "CH2(NH2)-COOH", "one_letter": "G", "systematic_name": "Aminoethanoic acid", "three_letter": "Gly"} |
bio/aa3 | His | Histidine | 2-Amino-3-(1H-imidazol-4-yl)- propanoic acid | null | null | [
"H"
] | {"one_letter": "H", "systematic_name": "2-Amino-3-(1H-imidazol-4-yl)- propanoic acid", "three_letter": "His"} |
bio/aa3 | Ile | Isoleucine | 2-Amino-3-methylpentanoic acide | null | null | [
"I"
] | {"formula": "C2H5-CH(CH3)-CH(NH2)-COOH", "one_letter": "I", "systematic_name": "2-Amino-3-methylpentanoic acide", "three_letter": "Ile"} |
bio/aa3 | Leu | Leucine | 2-Amino-4-methylpentanoic acid | null | null | [
"L"
] | {"formula": "(CH3)2CH-CH2-CH(NH2)-COOH", "one_letter": "L", "systematic_name": "2-Amino-4-methylpentanoic acid", "three_letter": "Leu"} |
bio/aa3 | Lys | Lysine | 2,6-Diaminohexanoic acid | null | null | [
"K"
] | {"formula": "H2N-[CH2]4-CH(NH2)-COOH", "one_letter": "K", "systematic_name": "2,6-Diaminohexanoic acid", "three_letter": "Lys"} |
bio/aa3 | Met | Methionine | 2-Amino-4-(methylthio)butanoic acid | null | null | [
"M"
] | {"formula": "CH3-S-[CH2]2-CH(NH2)-COOH", "one_letter": "M", "systematic_name": "2-Amino-4-(methylthio)butanoic acid", "three_letter": "Met"} |
bio/aa3 | Phe | Phenylalanine | 2-Amino-3-phenylpropanoic acid | null | null | [
"F"
] | {"formula": "C6H5-CH2-CH(NH2)-COOH", "one_letter": "F", "systematic_name": "2-Amino-3-phenylpropanoic acid", "three_letter": "Phe"} |
bio/aa3 | Pro | Proline | Pyrrolidine-2-carboxylic acid | null | null | [
"P"
] | {"one_letter": "P", "systematic_name": "Pyrrolidine-2-carboxylic acid", "three_letter": "Pro"} |
bio/aa3 | Ser | Serine | 2-Amino-3-hydroxypropanoic acid | null | null | [
"S"
] | {"formula": "HO-CH2-CH(NH2)-COOH", "one_letter": "S", "systematic_name": "2-Amino-3-hydroxypropanoic acid", "three_letter": "Ser"} |
bio/aa3 | Thr | Threonine | 2-Amino-3-hydroxybutanoic acid e | null | null | [
"T"
] | {"formula": "CH3-CH(OH)-CH(NH2)-COOH", "one_letter": "T", "systematic_name": "2-Amino-3-hydroxybutanoic acid e", "three_letter": "Thr"} |
bio/aa3 | Trp | Tryptophan | 2-Amino-3-(lH-indol-3-yl)- propanoic acid | null | null | [
"W"
] | {"one_letter": "W", "systematic_name": "2-Amino-3-(lH-indol-3-yl)- propanoic acid", "three_letter": "Trp"} |
bio/aa3 | Tyr | Tyrosine | 2-Amino-3-(4-hydroxyphenyl)- propanoic acid | null | null | [
"Y"
] | {"one_letter": "Y", "systematic_name": "2-Amino-3-(4-hydroxyphenyl)- propanoic acid", "three_letter": "Tyr"} |
bio/aa3 | Val | Valine | 2-Amino-3-methylbutanoic acid | null | null | [
"V"
] | {"formula": "(CH3)2CH-CH(NH2)-COOH", "one_letter": "V", "systematic_name": "2-Amino-3-methylbutanoic acid", "three_letter": "Val"} |
bio/cdn | TTT | F | standard genetic code translation of TTT | null | null | [] | {"standard_aa": "F", "table_count": 27} |
bio/cdn | TTC | F | standard genetic code translation of TTC | null | null | [] | {"standard_aa": "F", "table_count": 27} |
bio/cdn | TTA | L | standard genetic code translation of TTA | null | null | [] | {"differs_in_tables": {"23": "*"}, "standard_aa": "L", "start_codon_in_tables": ["4"], "table_count": 27} |
bio/cdn | TTG | L | standard genetic code translation of TTG | null | null | [] | {"standard_aa": "L", "start_codon_in_tables": ["1", "11", "13", "24", "25", "32", "33", "4", "5"], "table_count": 27} |
bio/cdn | TCT | S | standard genetic code translation of TCT | null | null | [] | {"standard_aa": "S", "table_count": 27} |
bio/cdn | TCC | S | standard genetic code translation of TCC | null | null | [] | {"standard_aa": "S", "table_count": 27} |
bio/cdn | TCA | S | standard genetic code translation of TCA | null | null | [] | {"differs_in_tables": {"22": "*"}, "standard_aa": "S", "table_count": 27} |
bio/cdn | TCG | S | standard genetic code translation of TCG | null | null | [] | {"standard_aa": "S", "table_count": 27} |
bio/cdn | TAT | Y | standard genetic code translation of TAT | null | null | [] | {"standard_aa": "Y", "table_count": 27} |
bio/cdn | TAC | Y | standard genetic code translation of TAC | null | null | [] | {"standard_aa": "Y", "table_count": 27} |
bio/cdn | TAA | stop | standard genetic code translation of TAA | null | null | [] | {"differs_in_tables": {"14": "Y", "27": "Q", "28": "Q", "29": "Y", "30": "E", "31": "E", "33": "Y", "6": "Q"}, "standard_aa": "*", "table_count": 27} |
bio/cdn | TAG | stop | standard genetic code translation of TAG | null | null | [] | {"differs_in_tables": {"15": "Q", "16": "L", "22": "L", "27": "Q", "28": "Q", "29": "Y", "30": "E", "31": "E", "32": "W", "6": "Q"}, "standard_aa": "*", "table_count": 27} |
bio/cdn | TGT | C | standard genetic code translation of TGT | null | null | [] | {"standard_aa": "C", "table_count": 27} |
bio/cdn | TGC | C | standard genetic code translation of TGC | null | null | [] | {"standard_aa": "C", "table_count": 27} |
bio/cdn | TGA | stop | standard genetic code translation of TGA | null | null | [] | {"differs_in_tables": {"10": "C", "13": "W", "14": "W", "2": "W", "21": "W", "24": "W", "25": "G", "27": "W", "28": "W", "3": "W", "31": "W", "33": "W", "4": "W", "5": "W", "9": "W"}, "standard_aa": "*", "table_count": 27} |
bio/cdn | TGG | W | standard genetic code translation of TGG | null | null | [] | {"standard_aa": "W", "table_count": 27} |
bio/cdn | CTT | L | standard genetic code translation of CTT | null | null | [] | {"differs_in_tables": {"3": "T"}, "standard_aa": "L", "table_count": 27} |
bio/cdn | CTC | L | standard genetic code translation of CTC | null | null | [] | {"differs_in_tables": {"3": "T"}, "standard_aa": "L", "table_count": 27} |
bio/cdn | CTA | L | standard genetic code translation of CTA | null | null | [] | {"differs_in_tables": {"3": "T"}, "standard_aa": "L", "table_count": 27} |
bio/cdn | CTG | L | standard genetic code translation of CTG | null | null | [] | {"differs_in_tables": {"12": "S", "26": "A", "3": "T"}, "standard_aa": "L", "start_codon_in_tables": ["1", "11", "12", "24", "26", "32", "33", "4"], "table_count": 27} |
bio/cdn | CCT | P | standard genetic code translation of CCT | null | null | [] | {"standard_aa": "P", "table_count": 27} |
bio/cdn | CCC | P | standard genetic code translation of CCC | null | null | [] | {"standard_aa": "P", "table_count": 27} |
bio/cdn | CCA | P | standard genetic code translation of CCA | null | null | [] | {"standard_aa": "P", "table_count": 27} |
bio/cdn | CCG | P | standard genetic code translation of CCG | null | null | [] | {"standard_aa": "P", "table_count": 27} |
bio/cdn | CAT | H | standard genetic code translation of CAT | null | null | [] | {"standard_aa": "H", "table_count": 27} |
bio/cdn | CAC | H | standard genetic code translation of CAC | null | null | [] | {"standard_aa": "H", "table_count": 27} |
bio/cdn | CAA | Q | standard genetic code translation of CAA | null | null | [] | {"standard_aa": "Q", "table_count": 27} |
bio/cdn | CAG | Q | standard genetic code translation of CAG | null | null | [] | {"standard_aa": "Q", "table_count": 27} |
bio/cdn | CGT | R | standard genetic code translation of CGT | null | null | [] | {"standard_aa": "R", "table_count": 27} |
bio/cdn | CGC | R | standard genetic code translation of CGC | null | null | [] | {"standard_aa": "R", "table_count": 27} |
bio/cdn | CGA | R | standard genetic code translation of CGA | null | null | [] | {"standard_aa": "R", "table_count": 27} |
bio/cdn | CGG | R | standard genetic code translation of CGG | null | null | [] | {"standard_aa": "R", "table_count": 27} |
bio/cdn | ATT | I | standard genetic code translation of ATT | null | null | [] | {"standard_aa": "I", "start_codon_in_tables": ["11", "2", "23", "32", "4", "5"], "table_count": 27} |
bio/cdn | ATC | I | standard genetic code translation of ATC | null | null | [] | {"standard_aa": "I", "start_codon_in_tables": ["11", "2", "32", "4", "5"], "table_count": 27} |
bio/cdn | ATA | I | standard genetic code translation of ATA | null | null | [] | {"differs_in_tables": {"13": "M", "2": "M", "21": "M", "3": "M", "5": "M"}, "standard_aa": "I", "start_codon_in_tables": ["11", "13", "2", "3", "32", "4", "5"], "table_count": 27} |
bio/cdn | ATG | M | standard genetic code translation of ATG | null | null | [] | {"standard_aa": "M", "start_codon_in_tables": ["1", "10", "11", "12", "13", "14", "15", "16", "2", "21", "22", "23", "24", "25", "26", "27", "28", "29", "3", "30", "31", "32", "33", "4", "5", "6", "9"], "table_count": 27} |
bio/cdn | ACT | T | standard genetic code translation of ACT | null | null | [] | {"standard_aa": "T", "table_count": 27} |
bio/cdn | ACC | T | standard genetic code translation of ACC | null | null | [] | {"standard_aa": "T", "table_count": 27} |
bio/cdn | ACA | T | standard genetic code translation of ACA | null | null | [] | {"standard_aa": "T", "table_count": 27} |
bio/cdn | ACG | T | standard genetic code translation of ACG | null | null | [] | {"standard_aa": "T", "table_count": 27} |
bio/cdn | AAT | N | standard genetic code translation of AAT | null | null | [] | {"standard_aa": "N", "table_count": 27} |
bio/cdn | AAC | N | standard genetic code translation of AAC | null | null | [] | {"standard_aa": "N", "table_count": 27} |
bio/cdn | AAA | K | standard genetic code translation of AAA | null | null | [] | {"differs_in_tables": {"14": "N", "21": "N", "9": "N"}, "standard_aa": "K", "table_count": 27} |
bio/cdn | AAG | K | standard genetic code translation of AAG | null | null | [] | {"standard_aa": "K", "table_count": 27} |
bio/cdn | AGT | S | standard genetic code translation of AGT | null | null | [] | {"standard_aa": "S", "table_count": 27} |
bio/cdn | AGC | S | standard genetic code translation of AGC | null | null | [] | {"standard_aa": "S", "table_count": 27} |
bio/cdn | AGA | R | standard genetic code translation of AGA | null | null | [] | {"differs_in_tables": {"13": "G", "14": "S", "2": "*", "21": "S", "24": "S", "33": "S", "5": "S", "9": "S"}, "standard_aa": "R", "table_count": 27} |
bio/cdn | AGG | R | standard genetic code translation of AGG | null | null | [] | {"differs_in_tables": {"13": "G", "14": "S", "2": "*", "21": "S", "24": "K", "33": "K", "5": "S", "9": "S"}, "standard_aa": "R", "table_count": 27} |
bio/cdn | GTT | V | standard genetic code translation of GTT | null | null | [] | {"standard_aa": "V", "table_count": 27} |
bio/cdn | GTC | V | standard genetic code translation of GTC | null | null | [] | {"standard_aa": "V", "table_count": 27} |
bio/cdn | GTA | V | standard genetic code translation of GTA | null | null | [] | {"standard_aa": "V", "table_count": 27} |
bio/cdn | GTG | V | standard genetic code translation of GTG | null | null | [] | {"standard_aa": "V", "start_codon_in_tables": ["11", "13", "2", "21", "23", "24", "25", "3", "32", "33", "4", "5", "9"], "table_count": 27} |
bio/cdn | GCT | A | standard genetic code translation of GCT | null | null | [] | {"standard_aa": "A", "table_count": 27} |
bio/cdn | GCC | A | standard genetic code translation of GCC | null | null | [] | {"standard_aa": "A", "table_count": 27} |
bio/cdn | GCA | A | standard genetic code translation of GCA | null | null | [] | {"standard_aa": "A", "table_count": 27} |
bio/cdn | GCG | A | standard genetic code translation of GCG | null | null | [] | {"standard_aa": "A", "table_count": 27} |
bio/cdn | GAT | D | standard genetic code translation of GAT | null | null | [] | {"standard_aa": "D", "table_count": 27} |
bio/cdn | GAC | D | standard genetic code translation of GAC | null | null | [] | {"standard_aa": "D", "table_count": 27} |
bio/cdn | GAA | E | standard genetic code translation of GAA | null | null | [] | {"standard_aa": "E", "table_count": 27} |
bio/cdn | GAG | E | standard genetic code translation of GAG | null | null | [] | {"standard_aa": "E", "table_count": 27} |
3char
58 code systems in one schema, 751,870 codes. airport and currency codes, amino acid symbols, assembly mnemonics, media types, constellation abbreviations, HTTP status codes, and the other short identifiers that standards bodies assign. three characters is the organizing thesis, not a filter. systems with two, four or seven character codes are included, each with the regex that describes its actual form.
the collection documents how many independent authorities converged on short fixed width identifiers, and gathers them under one schema so they can be joined, validated and retrieved together.
loading
from datasets import load_dataset
# every system, one table
ds = load_dataset("brennercruvinel/3char", "all")
# one system
iata = load_dataset("brennercruvinel/3char", "trp-iata")
# the registry of systems: authority, license, regex, provenance
sysinfo = load_dataset("brennercruvinel/3char", "systems")
schema
one row per code. the arrow schema is identical across every config, which is what allows the all config to concatenate them.
| column | type | description |
|---|---|---|
system_id |
string | <domain>/<id>, joins to the systems config |
code |
string | the code as the authority writes it, verbatim, no case folding |
label |
string | short human readable name |
description |
string | longer gloss when the source provides one |
parent_code |
string | parent code in the same system, for hierarchical systems |
status |
string | current, deprecated, reserved, unassigned, or null |
aliases |
list | other strings that resolve to the same referent |
extra |
string | JSON object with source specific fields not covered above |
extra is stored as a JSON string rather than a struct. the sources share few fields beyond code and label, and a struct would require a union of roughly 200 nullable columns on every row.
systems
bio, biology
| id | system | authority | codes | pattern |
|---|---|---|---|---|
bio/aa1 |
amino acid 1-letter codes | IUPAC-IUB JCBN | 20 | ^[A-Z]$ |
bio/aa3 |
amino acid 3-letter codes | IUPAC-IUB JCBN | 20 | ^[A-Z][a-z]{2}$ |
bio/cdn |
NCBI genetic codes (codons) | NCBI | 64 | ^[ACGTU]{3}$ |
bio/ec |
enzyme commission numbers | IUBMB / ExPASy | 8,441 | ^\d+\.\d+\.\d+\.(n?\d+|-)$ |
bio/gen |
HGNC gene symbols | HUGO Gene Nomenclature Committee | 44,997 | ^[A-Za-z0-9@#\-\._]+$ |
bio/pdb |
PDB entry IDs | wwPDB / RCSB | 254,978 | ^[1-9][A-Z0-9]{3}$ |
cls, classification
| id | system | authority | codes | pattern |
|---|---|---|---|---|
cls/elm |
chemical element symbols | IUPAC | 118 | ^[A-Z][a-z]{0,2}$ |
cls/icd |
ICD-10-CM | US CDC / NCHS | 98,403 | ^[A-Z][A-Z0-9]{2,6}$ |
cls/loc |
Library of Congress classification outline | Library of Congress | 234 | ^[A-Z]{1,3}$ |
cmp, computing
| id | system | authority | codes | pattern |
|---|---|---|---|---|
cmp/asm |
x86 instruction mnemonics | Intel / AMD | 1,309 | ^[A-Z][A-Za-z0-9]{1,15}$ |
cmp/css |
CSS functions | W3C CSSWG / MDN | 105 | ^[a-zA-Z][a-zA-Z0-9\-]*$ |
cmp/dns |
DNS resource record types | IANA | 97 | ^([A-Z][A-Z0-9\-]*|\*)$ |
cmp/ern |
POSIX errno names | IEEE / The Open Group | 77 | ^E[A-Z0-9]+$ |
cmp/ext |
file extensions | community | 286 | ^[a-z0-9][a-z0-9.+\-]*$ |
cmp/frc |
FourCC codec identifiers | community / VLC | 672 | ^[A-Za-z0-9\-.:_]{2,4}$ |
cmp/git |
git subcommands | git project | 158 | ^[a-z][a-z0-9\-]{1,17}$ |
cmp/hex |
CSS named colors | W3C CSSWG | 148 | ^[a-z]{3,20}$ |
cmp/htt |
HTTP methods | IANA | 41 | ^([A-Z][A-Z\-]*|\*)$ |
cmp/mim |
media types | IANA | 2,300 | ^[a-z]+/[a-zA-Z0-9!#$&\-\^_\.\+]+$ |
cmp/reg |
x86-64 register names | LLVM Project | 257 | ^[a-z][a-z0-9.()]*$ |
cmp/sts |
HTTP status codes | IANA | 500 | ^\d{3}$ |
cmp/vim |
vim motion commands | vim project | 289 | ^\S{1,40}$ |
com, communication
| id | system | authority | codes | pattern |
|---|---|---|---|---|
com/bau |
Baudot / ITA2 teleprinter codes | ITU-T | 30 | ^[A-Z0-9\-]+$ |
com/mor |
morse code | ITU-R | 48 | ^([A-Z0-9\u00c9]|[^\w\s]{1,2})$ |
com/tlg |
ABC universal commercial telegraphic code | William Clauson-Thue (1901) | 7,359 | ^[A-Za-z]{4,22}$ |
fin, finance
| id | system | authority | codes | pattern |
|---|---|---|---|---|
fin/cfi |
ISO 10962 CFI codes | SIX Group / ISO | 1,216 | ^[A-Z]{6}$ |
fin/i42 |
ISO 4217 currency codes | SIX Group / ISO | 178 | ^[A-Z]{3}$ |
fin/tck |
SEC company tickers | US SEC | 10,405 | ^[A-Z][A-Z\-]{0,6}$ |
grf, graph and vocabulary
| id | system | authority | codes | pattern |
|---|---|---|---|---|
grf/act |
ActivityStreams 2.0 terms | W3C | 141 | ^[A-Za-z][A-Za-z0-9]*$ |
grf/foa |
FOAF vocabulary terms | FOAF project | 75 | ^[A-Za-z][A-Za-z0-9_]*$ |
grf/gql |
openCypher keywords | openCypher / Neo4j | 63 | ^[A-Z][A-Z_]*$ |
grf/lpg |
property graph schema terms | arXiv 2211.10962 | 34 | ^[A-Z]{3,9}$ |
grf/oid |
OpenID Connect discovery fields | OpenID Foundation | 17 | ^[a-z][a-z0-9_]*$ |
grf/org |
W3C Organization ontology terms | W3C | 45 | ^[a-zA-Z][A-Za-z0-9]*$ |
grf/rdf |
RDF Schema terms | W3C | 15 | ^[a-zA-Z][A-Za-z0-9]*$ |
grf/sch |
schema.org types and properties | schema.org / W3C CG | 2,987 | ^[A-Za-z0-9][A-Za-z0-9]*$ |
grf/shc |
SHACL vocabulary terms | W3C | 221 | ^[A-Za-z][A-Za-z0-9\-]*$ |
grf/sio |
SIOC vocabulary terms | SIOC Project / DERI | 99 | ^[A-Za-z][A-Za-z0-9_]*$ |
grf/vcd |
vCard ontology terms | W3C | 146 | ^[a-zA-Z][A-Za-z0-9\-]*$ |
lng, language
| id | system | authority | codes | pattern |
|---|---|---|---|---|
lng/b47 |
BCP 47 language subtags | IANA | 9,295 | ^[A-Za-z0-9\-]+(\.\.[A-Za-z0-9\-]+)?$ |
lng/glt |
Glottolog languoid codes | MPI-EVA Leipzig | 27,177 | ^[a-z0-9]{4}\d{4}$ |
lng/i15 |
ISO 15924 script codes | Unicode Consortium (RA) | 226 | ^[A-Z][a-z]{3}$ |
lng/i31 |
ISO 3166-1 country codes | ISO 3166/MA | 249 | ^[A-Z]{2,3}$ |
lng/i39 |
ISO 639-1 language codes | ISO 639/RA | 183 | ^[a-z]{2}$ |
lng/i63 |
BCP 47 three-letter language subtags | IANA | 8,084 | ^[a-z]{3}$ |
lng/ioc |
country codes composite | community / datasets.io | 226 | ^[A-Z]{2,3}$ |
lng/mdy |
month names | Unicode CLDR | 12 | ^[A-Z][a-z]{2}$ |
nte, lexical
| id | system | authority | codes | pattern |
|---|---|---|---|---|
nte/wnt |
English WordNet 2024 synset IDs | Global WordNet Association | 120,630 | ^oewn-\d{8}-[nvasr]$ |
trp, transport and place
| id | system | authority | codes | pattern |
|---|---|---|---|---|
trp/iata |
IATA airport codes | IATA | 9,056 | ^[A-Z]{3}$ |
trp/ica2 |
IATA and ICAO airline codes | IATA / ICAO | 5,841 | ^[A-Z0-9]{2,3}$ |
trp/icao |
ICAO airport codes | ICAO | 10,153 | ^[A-Z]{4}$ |
trp/olc |
Open Location Code (plus codes) | 292 | ^[023456789CFGHJMPQRVWX]{4,}\+[23456789CFGHJMPQRVWX]*$ |
|
trp/tld |
top level domains | IANA | 1,437 | ^[A-Z0-9\-]+$ |
trp/unl |
UN/LOCODE location codes | UNECE | 116,213 | ^[A-Z0-9]{3}$ |
wrt, writing and time
| id | system | authority | codes | pattern |
|---|---|---|---|---|
wrt/abj |
Hebrew script characters | Unicode / community | 84 | ^\S$ |
wrt/iau |
IAU constellation abbreviations | International Astronomical Union | 88 | ^[A-Z][A-Za-z]{2}$ |
wrt/tz |
tz database zone names and abbreviations | IANA / tzdb | 806 | ^[A-Za-z0-9+\-_/]{1,32}$ |
wrt/uni |
Unicode emoji sequences | Unicode Consortium | 5,225 | ^[0-9A-F]{4,6}( [0-9A-F]{4,6})*$ |
provenance and licensing
there is no single license. every row of the systems config carries its own license and a license_status of ok or check. authority is kept separate from url because the body that assigns a code and the site that serves the file frequently differ, and that distinction is part of the provenance.
sources whose terms prohibit redistribution are parsed by the pipeline and not uploaded: the WHO ATC index, the BISAC subject headings, the Dewey summaries, the CUSIP mapping, the ISO 10383 MIC list and the what3words API surface. the SIL ISO 639-3 table was removed on the same basis, since its terms name the SIL site as the only authorized distribution point.
two systems are published with license_status = check: fin/cfi and fin/i42, both from SIX Group, which publishes the lists free of charge without stating redistribution terms.
only parquet is published. raw files are retrieved from url by the build repo and are not stored in either repository. this matters for the ITU recommendations and the IUPAC table, where the facts are freely usable and the documents are not freely mirrorable.
known limitations
trp/unl has 116,213 rows and about 90,000 repeated codes. a UN/LOCODE location code is unique only within its country, so ADALV and USALV both carry ALV. the country and the full locode are in extra. code is not a unique key in that system.
lng/i63 is not ISO 639-3 and is not labelled as such. it holds the three letter language subtags as published by IANA. RFC 5646 omits the three letter form whenever a two letter subtag exists, so eng, deu and por are absent and the registry carries en, de and pt instead. it also includes 115 ISO 639-5 collections and 224 deprecated subtags that ISO 639-3 does not.
com/tlg is parsed from a 1901 book scan. the plain OCR text emits the three columns (code number, code word, phrase) as separate runs of lines, which loses the pairing between them. the parser reads the djvu xml instead, where every word keeps a bounding box, and rebuilds the columns from the x coordinate. 92 percent of code words are recovered with their phrase. the remainder, and the code numbers in the left column, are limited by the quality of the scan.
cmp/sts carries 500 rows for a registry that assigns about 64 status codes. IANA publishes the gaps as ranges such as 105-199, and these are expanded to one row each. an assigned code has a description and a null status. an unassigned one has status = unassigned and an empty label. filter on status to obtain the assigned codes only.
trp/olc contains the reference encoder test vectors, not a registry. plus codes are generated from coordinates and no complete enumeration exists.
trp/iata and trp/icao are both derived from the OurAirports public domain file, read on different columns. neither is an official IATA or ICAO publication.
lng/ioc carries the ISO 3166 alpha-3 code in extra.iso3 and the FIFA code in extra.fifa. aliases holds only the codes that differ from the IOC code. release 0.1.0 placed both in aliases without labels, including a footnote marker from the source for the United Kingdom. corrected in 0.1.1.
code_pattern is enforced at build time: the build fails if any code in a system does not match its pattern. pattern_status records how the pattern was obtained. derived means the regex was written against the actual file. provisional means it is still loose and may tighten in a later release. writing these patterns identified 25 incorrect assumptions in the parsers and one malformed row upstream.
retrieval
the tables were evaluated as retrieval corpora on this parquet, using a 51 question answer key verified against the data and a grid that varies one factor at a time: chunk granularity (record, block of 20, whole system), chunk form (key=value or one sentence of prose), key form (GRU or iata:GRU) and embedder (all-MiniLM-L6-v2, multilingual-e5-small). the rig and its raw output are at github.com/brennercruvinel/3char-bench.
| configuration | result |
|---|---|
| one record per chunk, prose, e5 | 92.2% recall@1, 100% recall@5, 22.6 tokens per answer |
same, with system:code as key |
88.2% recall@1, 27.0 tokens |
| block of 20 records | 47.1% recall@1, 460 tokens |
| whole system as one chunk | 90.2% recall@1, 7,467 tokens |
| prose vs the same fields as key=value | +37 points of recall@1 for 1.3x the tokens |
| faiss scalar quantizer, 8 bit | 4x smaller index, identical recall |
the main result is that code should not be indexed on its own. a literal without its system is ambiguous by construction. across the 58 published systems, case folded, 14,911 of the 623,141 distinct codes are claimed by two or more systems, and AND and CAR by eleven. given a bare literal, the retriever selects the correct system 33% of the time, which equals the combinatorial floor. with the system name in the query or in the key, routing accuracy is 99 to 100%. system_id should be carried in the chunk, in the key, or in both.
excluded systems
all 64 systems parse and validate. 6 are held back from upload because their authority prohibits redistribution: the WHO ATC index, the BISAC subject headings, the Dewey summaries, the CUSIP mapping, the ISO 10383 MIC list and the what3words API surface. their parsers are in the build repo and run locally against sources fetched by the user.
build
the parsers, the schema, the checksum manifest and the license triage with its verbatim quotes are at github.com/brennercruvinel/3char-pipeline. download.py refetches every source and fails on checksum drift. validate.py tests every code against its system's regex. raw files are not stored in that repository either, for the same licensing reasons.
changes are recorded in CHANGELOG.md, including the two sources that were replaced because the original file was wrong and the eight that were re-derived from the assigning authority.
citation
@misc{cruvinel_3char,
title = {3char: three character code systems in one schema},
author = {Cruvinel, Brenner},
year = {2026},
url = {https://huggingface.co/datasets/brennercruvinel/3char}
}
- Downloads last month
- 449