EntityGroup

EntityGroup[{entity1,entity2,}]

represents a group of entities.

Details

  • EntityGroup allows operations on groups of entities, for example finding the total population of a set of different countries.
  • 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.

Examples

open allclose all

Basic Examples  (3)

Give the total population of a group of countries:

Give the total populations for entities of mixed types:

Give the total mass of all planets:

Applications  (2)

Provide the total mass of a combination of chemicals specified using different physical quantities:

Add currency denominations:

Add currency denominations from different monetary systems:

Properties & Relations  (2)

An EntityGroup of n copies of an entity is equivalent to EntityCopies[entity, n]:

The entities can be given as an entity class:

The result is the same when an explicit list of entities is provided:

Possible Issues  (2)

Defining a group containing entities of different types does not take into account possible inclusion of one domain in another:

Properties whose associated physical quantity is not extensive give Missing[]:

Wolfram Research (2015), EntityGroup, Wolfram Language function, https://reference.wolfram.com/language/ref/EntityGroup.html.

Text

Wolfram Research (2015), EntityGroup, Wolfram Language function, https://reference.wolfram.com/language/ref/EntityGroup.html.

CMS

Wolfram Language. 2015. "EntityGroup." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EntityGroup.html.

APA

Wolfram Language. (2015). EntityGroup. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EntityGroup.html

BibTeX

@misc{reference.wolfram_2024_entitygroup, author="Wolfram Research", title="{EntityGroup}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/EntityGroup.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_entitygroup, organization={Wolfram Research}, title={EntityGroup}, year={2015}, url={https://reference.wolfram.com/language/ref/EntityGroup.html}, note=[Accessed: 22-November-2024 ]}