EntityType

EntityType["type"]

represents an entity type with the specified name.

EntityType["type""child1""child2"]

represents a child entity type of "type".

Details

  • EntityType[]["prop"] can be used to extract the following properties:
  • "EntityTypeGraph"connected component containing the type in the hierarchy
    "EntityTypeTree"tree of all children
    "EntitySourceType"type providing canoncial names for entities
    "EntitySourceTypeTree"tree whose root is the entity source type
    "ParentType"direct parent in the hierarchy
    "ChildTypes"direct children in the hierarchy

Examples

open allclose all

Basic Examples  (1)

The entity type representing species:

Find the entity type graph:

Scope  (5)

Get the direct children:

Get the tree of all children:

Find the parent type of "Animal":

Go all the way up to the entity source type:

Find a random animal:

List all types of an entity:

Show the embedding of an entity in the type hierarchy:

Properties & Relations  (3)

Child types inherit properties of their parents:

An entity source type does not have a parent type:

The root of the "EntitySourceTypeTree" is the entity source type:

The root of the "EntityTypeTree" is the given type:

Neat Examples  (1)

Show the embedding of the entity type tree of "Eukaryote" into its type graph:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_entitytype, author="Wolfram Research", title="{EntityType}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/EntityType.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_entitytype, organization={Wolfram Research}, title={EntityType}, year={2023}, url={https://reference.wolfram.com/language/ref/EntityType.html}, note=[Accessed: 18-November-2024 ]}