"ComputedCity" (Interpreter Type)
-
See Also
- Interpreter
- SemanticImport
- Restricted
- Failure
- Entity
- EntityValue
- CityData
- GeoWithinQ
-
- Entity Types
- City
- Country
- AdministrativeDivision
- Neighborhood
- MetropolitanArea
- ZIPCode
-
- Interpreter Types
- City
- Location
- StreetAddress
- Country
- CountryClass
- AdministrativeDivision
- AdministrativeDivisionClass
- Neighborhood
- MetropolitanArea
- USState
- USStateClass
- USCounty
- USCountyClass
- ZIPCode
- Entity
- ComputedLocation
- ComputedCountry
- ComputedAdministrativeDivision
- ComputedNeighborhood
- ComputedMetropolitanArea
- ComputedUSState
- ComputedUSCounty
- ComputedZIPCode
- Related Guides
-
-
See Also
- Interpreter
- SemanticImport
- Restricted
- Failure
- Entity
- EntityValue
- CityData
- GeoWithinQ
-
- Entity Types
- City
- Country
- AdministrativeDivision
- Neighborhood
- MetropolitanArea
- ZIPCode
-
- Interpreter Types
- City
- Location
- StreetAddress
- Country
- CountryClass
- AdministrativeDivision
- AdministrativeDivisionClass
- Neighborhood
- MetropolitanArea
- USState
- USStateClass
- USCounty
- USCountyClass
- ZIPCode
- Entity
- ComputedLocation
- ComputedCountry
- ComputedAdministrativeDivision
- ComputedNeighborhood
- ComputedMetropolitanArea
- ComputedUSState
- ComputedUSCounty
- ComputedZIPCode
- Related Guides
-
See Also
"ComputedCity" (Interpreter Type)
A city derived by computation.
Details
- "ComputedCity" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "ComputedCity" requires connectivity to the Wolfram Cloud.
Restriction Specifications
-
Restricted["ComputedCity",{{choice1,…}}] one among choices Restricted["ComputedCity",entityclass] one among the cities of entityclass Restricted["ComputedCity",reg] a city in the region reg, given as an Entity Restricted["ComputedCity",{property1value1,…}] a city with values valuei for properties propertyi
Interpretation
- "ComputedCity" yields an Entity of type "City".
Examples
Basic Examples (4)
Interpreter["ComputedCity"]["Rome, NY"]Interpreter["ComputedCity"]["Tokyo"]Interpret cities derived by computation:
Interpreter["ComputedCity"]["capital of brazil"]Interpreter["ComputedCity"]["largest city in india"]Interpreter[Restricted["ComputedCity", Entity["Country", "UnitedStates"]]]["birth place of mozart"]Interpreter[Restricted["ComputedCity", EntityProperty["City", "Population"] -> TakeLargest[10]]]["Largest city in the USA"]Interpreter[Restricted["ComputedCity", EntityProperty["City", "Population"] -> TakeLargest[10]]]["capital of China"]See Also
Interpreter SemanticImport Restricted Failure Entity EntityValue CityData GeoWithinQ
Entity Types: City Country AdministrativeDivision Neighborhood MetropolitanArea ZIPCode
Interpreter Types: City Location StreetAddress Country CountryClass AdministrativeDivision AdministrativeDivisionClass Neighborhood MetropolitanArea USState USStateClass USCounty USCountyClass ZIPCode Entity ComputedLocation ComputedCountry ComputedAdministrativeDivision ComputedNeighborhood ComputedMetropolitanArea ComputedUSState ComputedUSCounty ComputedZIPCode
Related Guides
History
Introduced in 2014 (10.0)