$EntityStores
$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 allScope (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:
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