EntityUnregister

EntityUnregister["type"]

unregisters all entities in the first entity store that defines entities of the specified type.

EntityUnregister[store]

unregisters all entities in the specified entity store.

Details

  • EntityUnregister["type"] will unregister the first store found in the list returned by EntityStores[] that contains the type "type".
  • EntityUnregister[store] will only unregister an entity store that literally matches store.

Examples

open allclose all

Basic Examples  (1)

Register an entity store containing data about books:

Find books by Goethe:

Unregister the entity store that contains the data of the "book" entity type:

Now the "book" entity type is not available anymore:

Possible Issues  (1)

Create and register a new entity store:

Modify the registered entity store by adding a new entity:

Try to unregister the modified store:

The store containing type "t" is still registered because it does not match the original store:

Unregister the store by referring to it by its type "t":

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_entityunregister, author="Wolfram Research", title="{EntityUnregister}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/EntityUnregister.html}", note=[Accessed: 30-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_entityunregister, organization={Wolfram Research}, title={EntityUnregister}, year={2018}, url={https://reference.wolfram.com/language/ref/EntityUnregister.html}, note=[Accessed: 30-December-2024 ]}