Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

EntityInstance

EntityInstance[entity,qualval]
represents an entity whose qualifier qual has value val.

EntityInstance[entity,{qual1val1,qual2val2,}]
represents an entity whose qualifiers quali have values vali.

EntityInstance[entity,quantity]
represents an entity qualified by quantity.

DetailsDetails

  • An entity is generally specified as Entity[type,canonicalname]. A list of currently available entity types is given by EntityValue[].
  • Entity expressions can be created by using the Ctrl+Equal interface.
  • A qualifier quali can be any property qualifier of any EntityProperty of entity, a QuantityVariable, or a Function argument.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Represent Ireland in the year 1950:

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

Return its population on that date:

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

Specify values for a property that is returned as a pure function:

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

Specify the same values for multiple properties:

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

Specify values for properties that contain quantity variables:

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

Specify the mass of a substance:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2015
(10.3)