"Country" (Interpreter Type)

Related Entity »
Natural-language name of a country.


  • "Country" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "Country" requires connectivity to the Wolfram Cloud.

Allowed Forms

  • Any natural-language name of a country.
  • Canadacountry names
    DJIcountry codes
    .deinternet country codes

Restriction Specifications

  • Restricted["Country",{{choice1,}}]one among choices
    Restricted["Country",entityclass]one among the countries in entityclass
    Restricted["Country",reg]a country in the region reg, given as an Entity
    Restricted["Country",{property1value1,}]a country with values valuei for properties propertyi



Basic Examples  (3)

Interpret countries:

Restrict to countries in a class:

Apply a property restriction:

What country codes are hidden in the last 300 characters of Shakespeare's Hamlet?

Introduced in 2014