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.

Details

  • 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 interface.
  • A qualifier quali can be any property qualifier of any EntityProperty of entity, a QuantityVariable, or a Function argument.

Examples

open allclose all

Basic Examples  (4)

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[1]:=
Click for copyable input
Out[1]=

Scope  (6)

Properties & Relations  (1)

Neat Examples  (1)

See Also

EntityValue  EntityProperty  Entity  EntityCopies  EntityGroup

Introduced in 2015
(10.3)