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 atomic mass of all chemical elements:

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  (1)

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

Possible Issues  (1)

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

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.

BibTeX

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

BibLaTeX

@online{reference.wolfram_2020_entitygroup, organization={Wolfram Research}, title={EntityGroup}, year={2015}, url={https://reference.wolfram.com/language/ref/EntityGroup.html}, note=[Accessed: 19-January-2021 ]}

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