EntityGroup
EntityGroup[{entity1,entity2,…}]
実体のグループを表す.
詳細
- EntityGroupは,例えば,さまざまな国の集合についてその総人口を求める等の,実体のグループについての操作を許す.
- 実体は,Entity[type,canonicalname]として指定されることが多い.現在使用可能な実体タイプのリストはEntityValue[]で与えられる.
- Entity式は,
インターフェースを使って作ることができる.
例題
すべて開く すべて閉じる例 (3)
EntityValue[EntityGroup[{Entity["Country", "China"], Entity["Country", "India"]}], "Population"]EntityValue[EntityGroup[{Entity["Country", "China"], Entity["City", {"NewYork", "NewYork", "UnitedStates"}]}], "Population"]EntityGroup[EntityClass["Planet", All]]["Mass"]アプリケーション (2)
EntityValue[EntityGroup[{EntityInstance[Entity["Chemical", "CarbonDioxide"], Quantity[3, "Moles"]], EntityInstance[Entity["Chemical", "MolecularOxygen"], Quantity[800, "Liters"]]}], "AbsoluteMass"]EntityValue[EntityGroup[{
EntityCopies[Entity["CurrencyDenomination", {"EconomicAndMonetaryUnion", 2, "Euros", "coin"}], 2],
EntityCopies[Entity["CurrencyDenomination", {"EconomicAndMonetaryUnion", 1, "Euros", "coin"}], 3],
EntityCopies[Entity["CurrencyDenomination", {"EconomicAndMonetaryUnion", 5, "EuroCents", "coin"}], 4]
}], "Value"]//NEntityValue[EntityGroup[{
Entity["CurrencyDenomination", {"UnitedStates", 10, "USDollars", "banknote"}],
EntityCopies[Entity["CurrencyDenomination", {"EconomicAndMonetaryUnion", 2, "Euros", "coin"}], 2],
EntityCopies[Entity["CurrencyDenomination", {"EconomicAndMonetaryUnion", 1, "Euros", "coin"}], 3],
EntityCopies[Entity["CurrencyDenomination", {"EconomicAndMonetaryUnion", 5, "EuroCents", "coin"}], 4]
}], "Value"]特性と関係 (2)
entity を n 回コピーしたもののEntityGroupはEntityCopies[entity, n]に等しい:
EntityValue[EntityGroup[Table[Entity["Building", "EiffelTower::5h9w8"], {2}]], "Height"]EntityValue[EntityCopies[Entity["Building", "EiffelTower::5h9w8"], 2], "Height"]EntityGroup[EntityClass["Country", "Europe"]]["Area"]EntityGroup[EntityList[EntityClass["Country", "Europe"]]]["Area"]考えられる問題 (2)
異なるタイプの実体を含むグループを定義する際に,1つの領域が別の領域に含まれる可能性は考慮されない:
EntityValue[{Entity["Country", "UnitedStates"], Entity["City", {"NewYork", "NewYork", "UnitedStates"}]}, "Population"]EntityValue[EntityGroup[{Entity["Country", "UnitedStates"], Entity["City", {"NewYork", "NewYork", "UnitedStates"}]}], "Population"]関連する物理量が広範囲ではない特性はMissing[…]を与える:
EntityGroup[{Entity["Element", "Hydrogen"], Entity["Element", "Hydrogen"]}]["AtomicMass"]関連するガイド
-
▪
- 知識の表現と利用
テキスト
Wolfram Research (2015), EntityGroup, Wolfram言語関数, 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_2026_entitygroup, author="Wolfram Research", title="{EntityGroup}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/EntityGroup.html}", note=[Accessed: 13-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_entitygroup, organization={Wolfram Research}, title={EntityGroup}, year={2015}, url={https://reference.wolfram.com/language/ref/EntityGroup.html}, note=[Accessed: 13-September-2026]}