Run the code to show a 100-meter disk around the Eiffel Tower. Try sizes other than 100 meters:
The Eiffel Tower has an exact representation in the Wolfram Language that you can get using plain English. Type += to get an input box, type “eiffel tower”, and run the code:
\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{WolframAlphaClient`Private`query$$ = "eiffel tower",
WolframAlphaClient`Private`boxes$$ =
TemplateBox[{"\"Eiffel Tower\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"TourEiffel\""}], "]"}],
"\"Entity[\\\"Building\\\", \\\"TourEiffel\\\"]\"",
"\"building\""}, "Entity"],
WolframAlphaClient`Private`allassumptions$$ = {{
"type" -> "Clash", "word" -> "eiffel tower",
"template" -> "Assuming \"${word}\" is ${desc1}. Use as \
${desc2} instead", "count" -> "2",
"Values" -> {{
"name" -> "Building", "desc" -> "a structure",
"input" -> "*C.eiffel+tower-_*Building-"}, {
"name" -> "Word", "desc" -> "a word",
"input" -> "*C.eiffel+tower-_*Word-"}}}},
WolframAlphaClient`Private`assumptions$$ = {},
WolframAlphaClient`Private`open$$ = {1}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 1,
Dynamic[WolframAlphaClient`Private`query$$],
Dynamic[WolframAlphaClient`Private`boxes$$],
Dynamic[WolframAlphaClient`Private`allassumptions$$],
Dynamic[WolframAlphaClient`Private`assumptions$$],
Dynamic[WolframAlphaClient`Private`open$$]], StandardForm],
ImageSizeCache->{78., {7., 16.}},
TrackedSymbols:>{
WolframAlphaClient`Private`query$$,
WolframAlphaClient`Private`boxes$$,
WolframAlphaClient`Private`allassumptions$$,
WolframAlphaClient`Private`assumptions$$,
WolframAlphaClient`Private`open$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{WolframAlphaClient`Private`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)
You can use += inside of other code. And you can use it to get values with units, like “100 meters”.
This makes a map showing a 100-meter disk around the location of the Eiffel Tower:
GeoGraphics[GeoDisk[\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{WolframAlphaClient`Private`query$$ = "eiffel tower",
WolframAlphaClient`Private`boxes$$ =
TemplateBox[{"\"Eiffel Tower\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"TourEiffel\""}], "]"}],
"\"Entity[\\\"Building\\\", \\\"TourEiffel\\\"]\"",
"\"building\""}, "Entity"],
WolframAlphaClient`Private`allassumptions$$ = {{
"type" -> "Clash", "word" -> "eiffel tower",
"template" -> "Assuming \"${word}\" is ${desc1}. Use as \
${desc2} instead", "count" -> "2",
"Values" -> {{
"name" -> "Building", "desc" -> "a structure",
"input" -> "*C.eiffel+tower-_*Building-"}, {
"name" -> "Word", "desc" -> "a word",
"input" -> "*C.eiffel+tower-_*Word-"}}}},
WolframAlphaClient`Private`assumptions$$ = {},
WolframAlphaClient`Private`open$$ = {1}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 1,
Dynamic[WolframAlphaClient`Private`query$$],
Dynamic[WolframAlphaClient`Private`boxes$$],
Dynamic[WolframAlphaClient`Private`allassumptions$$],
Dynamic[WolframAlphaClient`Private`assumptions$$],
Dynamic[WolframAlphaClient`Private`open$$]], StandardForm],
ImageSizeCache->{78., {7., 16.}},
TrackedSymbols:>{
WolframAlphaClient`Private`query$$,
WolframAlphaClient`Private`boxes$$,
WolframAlphaClient`Private`allassumptions$$,
WolframAlphaClient`Private`assumptions$$,
WolframAlphaClient`Private`open$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{WolframAlphaClient`Private`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\), \!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{WolframAlphaClient`Private`query$$ = "100 meters",
WolframAlphaClient`Private`boxes$$ =
TemplateBox[{"100"}, "QuantityUnit",
DisplayFunction -> (TooltipBox[
StyleBox[
RowBox[{#, " ",
StyleBox[
RowBox[{" ", "\"m\""}], "QuantityUnitTraditionalInput"]}],
ShowStringCharacters -> False], "Unit: meters"]& ),
InterpretationFunction -> (RowBox[{"Quantity", "[",
RowBox[{#, ",", "\"Meters\""}], "]"}]& ), SyntaxForm -> Mod],
WolframAlphaClient`Private`allassumptions$$ = {},
WolframAlphaClient`Private`assumptions$$ = {},
WolframAlphaClient`Private`open$$ = {1}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 1,
Dynamic[WolframAlphaClient`Private`query$$],
Dynamic[WolframAlphaClient`Private`boxes$$],
Dynamic[WolframAlphaClient`Private`allassumptions$$],
Dynamic[WolframAlphaClient`Private`assumptions$$],
Dynamic[WolframAlphaClient`Private`open$$]], StandardForm],
ImageSizeCache->{81., {7., 16.}},
TrackedSymbols:>{
WolframAlphaClient`Private`query$$,
WolframAlphaClient`Private`boxes$$,
WolframAlphaClient`Private`allassumptions$$,
WolframAlphaClient`Private`assumptions$$,
WolframAlphaClient`Private`open$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{WolframAlphaClient`Private`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)]]
GeoGraphics[GeoDisk[\!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{WolframAlphaClient`Private`query$$ = "eiffel tower",
WolframAlphaClient`Private`boxes$$ =
TemplateBox[{"\"Eiffel Tower\"",
RowBox[{"Entity", "[",
RowBox[{"\"Building\"", ",", "\"TourEiffel\""}], "]"}],
"\"Entity[\\\"Building\\\", \\\"TourEiffel\\\"]\"",
"\"building\""}, "Entity"],
WolframAlphaClient`Private`allassumptions$$ = {{
"type" -> "Clash", "word" -> "eiffel tower",
"template" -> "Assuming \"${word}\" is ${desc1}. Use as \
${desc2} instead", "count" -> "2",
"Values" -> {{
"name" -> "Building", "desc" -> "a structure",
"input" -> "*C.eiffel+tower-_*Building-"}, {
"name" -> "Word", "desc" -> "a word",
"input" -> "*C.eiffel+tower-_*Word-"}}}},
WolframAlphaClient`Private`assumptions$$ = {},
WolframAlphaClient`Private`open$$ = {1}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 1,
Dynamic[WolframAlphaClient`Private`query$$],
Dynamic[WolframAlphaClient`Private`boxes$$],
Dynamic[WolframAlphaClient`Private`allassumptions$$],
Dynamic[WolframAlphaClient`Private`assumptions$$],
Dynamic[WolframAlphaClient`Private`open$$]], StandardForm],
ImageSizeCache->{84., {7., 16.}},
TrackedSymbols:>{
WolframAlphaClient`Private`query$$,
WolframAlphaClient`Private`boxes$$,
WolframAlphaClient`Private`allassumptions$$,
WolframAlphaClient`Private`assumptions$$,
WolframAlphaClient`Private`open$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{WolframAlphaClient`Private`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\), \!\(\*
NamespaceBox["LinguisticAssistant",
DynamicModuleBox[{WolframAlphaClient`Private`query$$ = "100 meters",
WolframAlphaClient`Private`boxes$$ =
TemplateBox[{"100"}, "QuantityUnit",
DisplayFunction -> (TooltipBox[
StyleBox[
RowBox[{#, " ",
StyleBox[
RowBox[{" ", "\"m\""}], "QuantityUnitTraditionalInput"]}],
ShowStringCharacters -> False], "Unit: meters"]& ),
InterpretationFunction -> (RowBox[{"Quantity", "[",
RowBox[{#, ",", "\"Meters\""}], "]"}]& ), SyntaxForm -> Mod],
WolframAlphaClient`Private`allassumptions$$ = {},
WolframAlphaClient`Private`assumptions$$ = {},
WolframAlphaClient`Private`open$$ = {1}},
DynamicBox[ToBoxes[
AlphaIntegration`LinguisticAssistantBoxes["", 1,
Dynamic[WolframAlphaClient`Private`query$$],
Dynamic[WolframAlphaClient`Private`boxes$$],
Dynamic[WolframAlphaClient`Private`allassumptions$$],
Dynamic[WolframAlphaClient`Private`assumptions$$],
Dynamic[WolframAlphaClient`Private`open$$]], StandardForm],
ImageSizeCache->{87., {7., 16.}},
TrackedSymbols:>{
WolframAlphaClient`Private`query$$,
WolframAlphaClient`Private`boxes$$,
WolframAlphaClient`Private`allassumptions$$,
WolframAlphaClient`Private`assumptions$$,
WolframAlphaClient`Private`open$$}],
DynamicModuleValues:>{},
UndoTrackedVariables:>{WolframAlphaClient`Private`open$$}],
BaseStyle->{"Deploy"},
DeleteWithContents->True,
Editable->False,
SelectWithContents->True]\)]]