Skip to content

Commit

Permalink
add unDataCode as resolvable property (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-h-diaz authored Mar 5, 2024
1 parent 0a00158 commit e8b0ada
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/src/main/java/org/datacommons/util/Vocabulary.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public final class Vocabulary {
public static final String GEO_DCID_PREFIX = "latLong";
public static final String CONTAINED_IN_PLACE = "containedInPlace";
public static final String CONTAINED_IN = "containedIn"; // Superseded by "containedInPlace".
public static final String UN_DATA_CODE = "unDataCode";
public static final String GEO_ID = "geoId";
public static final String WIKIDATA_ID = "wikidataId";
public static final String GEO_NAMES_ID = "geoNamesId";
Expand Down Expand Up @@ -270,6 +271,7 @@ public final class Vocabulary {
// (https://github.com/datacommonsorg/mixer/blob/master/internal/server/recon/resolve.go)
public static final List<String> PLACE_RESOLVABLE_AND_ASSIGNABLE_IDS =
List.of(
Vocabulary.UN_DATA_CODE,
Vocabulary.GEO_ID,
Vocabulary.ISO_CODE,
Vocabulary.NUTS_CODE,
Expand Down

0 comments on commit e8b0ada

Please sign in to comment.