"City" (interpreter type)

Natural-language name of a city.

DetailsDetails

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

Allowed FormsAllowed Forms

  • Any natural-language name of a city.
  • Romecity names
    Paris, TXcity name with region specification
    LAcity abbreviations
    the big applecity nicknames

Restriction SpecificationsRestriction Specifications

  • Restricted["City",{{choice1, }}]one among choices
    Restricted["City",entityclass]one among the cities in entityclass
    Restricted["City",reg]a city in the region reg, given as an Entity

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Interpret cities:

In[1]:=
Click for copyable input
Out[1]=

Restrict to cities in the US:

In[1]:=
Click for copyable input
Out[1]=

Restrict to cities along the Silk Road:

In[1]:=
Click for copyable input
Out[1]=