シカゴと東京の間の距離をマイルで計算するクエリは次のとおりです
Geodistance [entity ["City"、{"Chicago"、 "Illinois"、 "Unitedstates"}]、Entity ["City"、{"Tokyo"、 "Tokyo"、 "Japan"}]]]]]]
メートルで距離を与えるクエリは次のとおりです
UnitConvert [entity ["City"、{"Chicago"、 "Illinois"、 "Unitedstates"}]、Entity ["City"、{"Tokyo"、 "Tokyo"、 "Japan"}]]]]]]]
、「メートル」]
Here is query which calculate the distance between Chicago and Tokyo in miles
GeoDistance[Entity["City", {"Chicago", "Illinois", "UnitedStates"}], Entity["City", {"Tokyo", "Tokyo", "Japan"}]]
Here is query that give the distance in meters
UnitConvert[GeoDistance[Entity["City", {"Chicago", "Illinois", "UnitedStates"}], Entity["City", {"Tokyo", "Tokyo", "Japan"}]]
, "Meters"]