Wolfram Archive
Wolfram Programming Lab is a legacy product.
All the same functionality and features, including access to Programming Lab Explorations, are available with Wolfram|One.
Start programming now. »
Try it now »
(no sign-in required)

Get Pictures of Things

Use natural language to get pictures of people, animals, planets, etc.

Run the code to get a picture of a cow. Try other common animals:

SHOW/HIDE DETAILS

You can do some parts of Wolfram Language programming with plain English language.

To get a language input box, type +=. Type what you want in the box and run the code with +:

Use natural language to get a picture of a cow:

\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "picture of a cow", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"aurochs\"", RowBox[{"Entity", "[", RowBox[{"\"Species\"", ",", "\"Species:BosTaurus\""}], "]"}], "\"Entity[\\\"Species\\\", \\\"Species:BosTaurus\\\"]\"", "\"species specification\""}, "Entity"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"Species\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"Species\\\", \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {{ "type" -> "MultiClash", "word" -> "", "template" -> "Assuming ${word1} is referring to ${desc1}. Use \ \"${word2}\" as ${desc2}. Use \"${word3}\" as ${desc3}. Use \ \"${word4}\" as ${desc4}.", "count" -> "4", "Values" -> {{ "name" -> "Species", "word" -> "cow", "desc" -> "a species specification", "input" -> "*MC.%7E-_*Species-"}, { "name" -> "Movie", "word" -> "cow", "desc" -> "a movie", "input" -> "*MC.%7E-_*Movie-"}, { "name" -> "PopularCurve", "word" -> "cow", "desc" -> "a popular curve", "input" -> "*MC.%7E-_*PopularCurve-"}, { "name" -> "WordData", "word" -> "", "desc" -> " referring to English words", "input" -> "*MC.%7E-_*WordData-"}}}, { "type" -> "SubCategory", "word" -> "cow", "template" -> "Assuming ${desc1}. Use ${desc2} instead", "count" -> "2", "Values" -> {{ "name" -> "Species:BosTaurus", "desc" -> "aurochs", "input" -> "*DPClash.SpeciesE.cow-_*Species%3ABosTaurus-"}, { "name" -> "Genus:Bos", "desc" -> "Bos", "input" -> "*DPClash.SpeciesE.cow-_*Genus%3ABos-"}}}}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.121155`6.501210651578256, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{104., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)

HIDE DETAILS
\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "picture of a cow", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"aurochs\"", RowBox[{"Entity", "[", RowBox[{"\"Species\"", ",", "\"Species:BosTaurus\""}], "]"}], "\"Entity[\\\"Species\\\", \\\"Species:BosTaurus\\\"]\"", "\"species specification\""}, "Entity"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"Species\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"Species\\\", \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {{ "type" -> "MultiClash", "word" -> "", "template" -> "Assuming ${word1} is referring to ${desc1}. Use \ \"${word2}\" as ${desc2}. Use \"${word3}\" as ${desc3}. Use \ \"${word4}\" as ${desc4}.", "count" -> "4", "Values" -> {{ "name" -> "Species", "word" -> "cow", "desc" -> "a species specification", "input" -> "*MC.%7E-_*Species-"}, { "name" -> "Movie", "word" -> "cow", "desc" -> "a movie", "input" -> "*MC.%7E-_*Movie-"}, { "name" -> "PopularCurve", "word" -> "cow", "desc" -> "a popular curve", "input" -> "*MC.%7E-_*PopularCurve-"}, { "name" -> "WordData", "word" -> "", "desc" -> " referring to English words", "input" -> "*MC.%7E-_*WordData-"}}}, { "type" -> "SubCategory", "word" -> "cow", "template" -> "Assuming ${desc1}. Use ${desc2} instead", "count" -> "2", "Values" -> {{ "name" -> "Species:BosTaurus", "desc" -> "aurochs", "input" -> "*DPClash.SpeciesE.cow-_*Species%3ABosTaurus-"}, { "name" -> "Genus:Bos", "desc" -> "Bos", "input" -> "*DPClash.SpeciesE.cow-_*Genus%3ABos-"}}}}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.121155`6.501210651578256, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{113., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)

Get a picture of a cartoon character. Try other cartoon characters:

SHOW/HIDE DETAILS

Get pictures of cartoon characters:

\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "picture of mickey mouse", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"Mickey Mouse\"", RowBox[{"Entity", "[", RowBox[{"\"FictionalCharacter\"", ",", "\"MickeyMouse\""}], "]"}], "\"Entity[\\\"FictionalCharacter\\\", \ \\\"MickeyMouse\\\"]\"", "\"fictional character\""}, "Entity"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"FictionalCharacter\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"FictionalCharacter\\\", \ \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {{ "type" -> "Clash", "word" -> "mickey mouse", "template" -> "Assuming \"${word}\" is ${desc1}. Use as \ ${desc2} instead", "count" -> "2", "Values" -> {{ "name" -> "FictionalCharacter", "desc" -> " referring to a fictional character", "input" -> "*C.mickey+mouse-_*FictionalCharacter-"}, { "name" -> "PopularCurve", "desc" -> "a popular curve", "input" -> "*C.mickey+mouse-_*PopularCurve-"}}}}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.7042`6.683065554466221, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{149., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)

HIDE DETAILS
\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "picture of mickey mouse", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"Mickey Mouse\"", RowBox[{"Entity", "[", RowBox[{"\"FictionalCharacter\"", ",", "\"MickeyMouse\""}], "]"}], "\"Entity[\\\"FictionalCharacter\\\", \ \\\"MickeyMouse\\\"]\"", "\"fictional character\""}, "Entity"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"FictionalCharacter\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"FictionalCharacter\\\", \ \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {{ "type" -> "Clash", "word" -> "mickey mouse", "template" -> "Assuming \"${word}\" is ${desc1}. Use as \ ${desc2} instead", "count" -> "2", "Values" -> {{ "name" -> "FictionalCharacter", "desc" -> " referring to a fictional character", "input" -> "*C.mickey+mouse-_*FictionalCharacter-"}, { "name" -> "PopularCurve", "desc" -> "a popular curve", "input" -> "*C.mickey+mouse-_*PopularCurve-"}}}}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.7042`6.683065554466221, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{162., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)

Get a picture of a famous person. Try other famous people:

SHOW/HIDE DETAILS

Get pictures of famous people:

\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "picture of Tom Hanks", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"Tom Hanks\"", RowBox[{"Entity", "[", RowBox[{"\"Person\"", ",", "\"TomHanks::57d8x\""}], "]"}], "\"Entity[\\\"Person\\\", \\\"TomHanks::57d8x\\\"]\"", "\"person\""}, "Entity"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"Person\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"Person\\\", \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.453926`6.614087296436118, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{134., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)

HIDE DETAILS
\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "picture of Tom Hanks", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"Tom Hanks\"", RowBox[{"Entity", "[", RowBox[{"\"Person\"", ",", "\"TomHanks::57d8x\""}], "]"}], "\"Entity[\\\"Person\\\", \\\"TomHanks::57d8x\\\"]\"", "\"person\""}, "Entity"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"Person\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"Person\\\", \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.453926`6.614087296436118, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{146., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)

Get pictures of all the planets. Try other classes, like pictures of the flags of Europe or pictures of gold and sliver:

SHOW/HIDE DETAILS

Sometimes you can even get pictures of collections of things, like the planets:

\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "pictures of the planets", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"planets\"", RowBox[{"EntityClass", "[", RowBox[{"\"Planet\"", ",", "All"}], "]"}], "\"EntityClass[\\\"Planet\\\", All]\"", "\"planets\""}, "EntityClass"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"Planet\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"Planet\\\", \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {{ "type" -> "MultiClash", "word" -> "", "template" -> "Assuming ${word1} is referring to ${desc1}. Use \ \"${word2}\" as ${desc2}. Use \"${word3}\" as ${desc3}. Use \ \"${word4}\" as ${desc4}.", "count" -> "4", "Values" -> {{ "name" -> "PlanetClass", "word" -> "planets", "desc" -> " referring to planets", "input" -> "*MC.%7E-_*PlanetClass-"}, { "name" -> "ExoplanetClass", "word" -> "planets", "desc" -> " referring to exoplanets", "input" -> "*MC.%7E-_*ExoplanetClass-"}, { "name" -> "MinorPlanetClass", "word" -> "planets", "desc" -> " referring to minor planets", "input" -> "*MC.%7E-_*MinorPlanetClass-"}, { "name" -> "WordData", "word" -> "", "desc" -> " referring to English words", "input" -> "*MC.%7E-_*WordData-"}}}}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.300189`6.565551480949699, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{138., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)

HIDE DETAILS
\!\(\* NamespaceBox["LinguisticAssistant", DynamicModuleBox[{Typeset`query$$ = "pictures of the planets", Typeset`boxes$$ = RowBox[{"EntityValue", "[", RowBox[{ TemplateBox[{"\"planets\"", RowBox[{"EntityClass", "[", RowBox[{"\"Planet\"", ",", "All"}], "]"}], "\"EntityClass[\\\"Planet\\\", All]\"", "\"planets\""}, "EntityClass"], ",", TemplateBox[{"\"image\"", RowBox[{"EntityProperty", "[", RowBox[{"\"Planet\"", ",", "\"Image\""}], "]"}], "\"EntityProperty[\\\"Planet\\\", \\\"Image\\\"]\""}, "EntityProperty"]}], "]"}], Typeset`allassumptions$$ = {{ "type" -> "MultiClash", "word" -> "", "template" -> "Assuming ${word1} is referring to ${desc1}. Use \ \"${word2}\" as ${desc2}. Use \"${word3}\" as ${desc3}. Use \ \"${word4}\" as ${desc4}.", "count" -> "4", "Values" -> {{ "name" -> "PlanetClass", "word" -> "planets", "desc" -> " referring to planets", "input" -> "*MC.%7E-_*PlanetClass-"}, { "name" -> "ExoplanetClass", "word" -> "planets", "desc" -> " referring to exoplanets", "input" -> "*MC.%7E-_*ExoplanetClass-"}, { "name" -> "MinorPlanetClass", "word" -> "planets", "desc" -> " referring to minor planets", "input" -> "*MC.%7E-_*MinorPlanetClass-"}, { "name" -> "WordData", "word" -> "", "desc" -> " referring to English words", "input" -> "*MC.%7E-_*WordData-"}}}}, Typeset`assumptions$$ = {}, Typeset`open$$ = {1}, Typeset`querystate$$ = { "Online" -> True, "Allowed" -> True, "mparse.jsp" -> 1.300189`6.565551480949699, "Messages" -> {}}}, DynamicBox[ToBoxes[ AlphaIntegration`LinguisticAssistantBoxes["", 4, Automatic, Dynamic[Typeset`query$$], Dynamic[Typeset`boxes$$], Dynamic[Typeset`allassumptions$$], Dynamic[Typeset`assumptions$$], Dynamic[Typeset`open$$], Dynamic[Typeset`querystate$$]], StandardForm], ImageSizeCache->{150., {7., 16.}}, TrackedSymbols:>{ Typeset`query$$, Typeset`boxes$$, Typeset`allassumptions$$, Typeset`assumptions$$, Typeset`open$$, Typeset`querystate$$}], DynamicModuleValues:>{}, UndoTrackedVariables:>{Typeset`open$$}], BaseStyle->{"Deploy"}, DeleteWithContents->True, Editable->False, SelectWithContents->True]\)