$EntityStores

As of Version 11.3, $EntityStores has been superseded by the functions EntityRegister, EntityStores and EntityUnregister.

$EntityStores

is a global variable that gives a list of all entity stores that are automatically accessed when Entity is used.

Details

  • When evaluating an expression like Entity["type","name"][property], data is retrieved from the first EntityStore in $EntityStores that contains "type".
  • Entity types present in $EntityStores are considered before built-in entity types.
  • During assignments, Entity["type","name"][property]=value data is stored in the first EntityStore in $EntityStores that contains "type". If no EntityStore in $EntityStores contains "type", a new EntityStore is prepended to $EntityStores.

Examples

open allclose all

Basic Examples  (1)

Add an entity store in which to look for entities of type "MyType":

Scope  (2)

Set the value for a property of an entity:

This introduces a new EntityStore in $EntityStores:

Setting a value for an entity of a different type introduces another EntityStore in $EntityStores:

Introduce an EntityStore containing two entity types:

Values of assignments involving these types will be stored in this EntityStore:

Wolfram Research (2016), $EntityStores, Wolfram Language function, https://reference.wolfram.com/language/ref/$EntityStores.html.

Text

Wolfram Research (2016), $EntityStores, Wolfram Language function, https://reference.wolfram.com/language/ref/$EntityStores.html.

CMS

Wolfram Language. 2016. "$EntityStores." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$EntityStores.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_$entitystores, author="Wolfram Research", title="{$EntityStores}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/$EntityStores.html}", note=[Accessed: 26-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$entitystores, organization={Wolfram Research}, title={$EntityStores}, year={2016}, url={https://reference.wolfram.com/language/ref/$EntityStores.html}, note=[Accessed: 26-December-2024 ]}