EntityClass

EntityClass["type",name]
represents a class of entities of the specified type identified by name.

DetailsDetails

  • Possible entity types include , , , , and many more. A list of all available entity types can be found by evaluating EntityValue[].
  • EntityClass expressions format in StandardForm using a print form of the entity name, retrieved either from a Wolfram server or from the system cache.
  • EntityClass expressions can be created by using the Ctrl+Equal WolframAlpha interface.
  • The identifier is a string that represents the canonical entity type associated with a specific entity.
  • The identifier name is generally a string, but for certain entity types can also contain lists and integers.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Use the Ctrl+Equal WolframAlpha interface to discover particular entities:

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

Represent all of the countries in Europe:

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

Get a list of all the countries:

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

Get a list of all chemicals that are alcohols:

In[4]:=
Click for copyable input
Out[4]//Shallow=

Get the population of all G8 countries:

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

A list of available entity classes can be found with EntityClassList:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)