GKG field reference¶
The library supports all 27 Global Knowledge Graph (GKG) columns. Text-derived fields approximate GDELT processing. Metadata and media fields format caller-supplied values. Enhanced fields add zero-based character offsets into the exact analyzed English body.
Entity fields use named entity recognition (NER). Global Content Analysis Measures (GCAM) combines dictionary counts and scores from original and translated texts.
Columns below follow the wire order declared by GKG_COLUMNS. Each page describes encoding, examples and limitations. See Quickstart for standalone analyzers and Generate records to combine fields.
| Position | GKG column | How it is produced | Setup |
|---|---|---|---|
| 1 | GKGRECORDID | Batch timestamp and sequenceT marks translated records | Supplied RecordMetadata |
| 2 | V2.1DATE | Batch timestamp publication time is kept separately in extra XML | Supplied metadata |
| 3 | V2SOURCECOLLECTIONIDENTIFIER | Validated source collection identifier | Supplied metadata |
| 4 | V2SOURCECOMMONNAME | Supplied source name or hostname derived from the document URL | Supplied metadata |
| 5 | V2DOCUMENTIDENTIFIER | Supplied document URL or identifier | Supplied metadata |
| 6 | V1COUNTS | Authored English number/event rules with optional resolved geography | Rules included NER and geography for place enrichment |
| 7 | V2.1COUNTS | Count matches with character offsets | Same as counts |
| 8 | V1THEMES | Phrase matching against theme dictionaries | Build resources |
| 9 | V2ENHANCEDTHEMES | Theme matches with offsets | Same as themes |
| 10 | V1LOCATIONS | NER place mentions resolved against an offline gazetteer | spaCy model and local resources |
| 11 | V2ENHANCEDLOCATIONS | Resolved place occurrences with offsets and administrative details | Same as locations |
| 12 | V1PERSONS | NER person mentions with name normalization and filtering | NER extra and English model |
| 13 | V2ENHANCEDPERSONS | Person mentions with offsets | Same as persons |
| 14 | V1ORGANIZATIONS | NER organization mentions with authored name filtering | NER extra and English model |
| 15 | V2ENHANCEDORGANIZATIONS | Organization mentions with offsets | Same as organizations |
| 16 | V1.5TONE | Dictionary-based tone, polarity, activity, self-reference and word counts | Build resources |
| 17 | V2.1ENHANCEDDATES | English calendar/date patterns with offsets | Core only |
| 18 | V2GCAM | Matches across configured affect dictionaries | Build GCAM resources |
| 19 | V2.1SHARINGIMAGE | Formats the supplied sharing-image URL | Supplied metadata |
| 20 | V2.1RELATEDIMAGES | Formats supplied related-image URLs | Supplied metadata |
| 21 | V2.1SOCIALIMAGEEMBEDS | Formats supplied social-image embed URLs | Supplied metadata |
| 22 | V2.1SOCIALVIDEOEMBEDS | Formats supplied social-video embed URLs | Supplied metadata |
| 23 | V2.1QUOTATIONS | Quoted-span detection with offsets and lengths | Core only |
| 24 | V2.1ALLNAMES | Broader NER name labels with authored filtering and offsets | NER extra and English model |
| 25 | V2.1AMOUNTS | Number, currency and unit patterns with offsets | Core only |
| 26 | V2.1TRANSLATIONINFO | Formats the original language and translation engine from translation results or supplied metadata | Detection and translation setup to populate these values automatically |
| 27 | V2EXTRASXML | Escapes and serializes supplied extra metadata as XML | Supplied metadata |
Language detection is also available independently. See Translation. For measured reconstruction agreement and dictionary coverage, see Results.