EntityInstance
EntityInstance[entity,qualval]
represents an entity whose qualifier qual has value val.
EntityInstance[entity,{qual1val1,qual2val2,…}]
represents an entity whose qualifiers quali have values vali.
EntityInstance[entity,quantity]
represents an entity qualified by quantity.
Details
- Entity expressions can be created by using the interface.
- A qualifier qual can be a property qualifier of an EntityProperty of entity, a QuantityVariable or a Function argument.
- If entity[property] returns Function[params,body] with a parameter equal to qual, then the associated value is substituted into body and qual is dropped from params. If no parameters remain then the Function wrapper is removed.
Examples
open allclose allBasic Examples (4)
Scope (8)
Property Qualifiers (2)
Dates (1)
Date qualifiers in an entity instance can be specified as a rule (in the case of a single qualifier):
Or as a DateObject:
Pure Function Arguments (1)
Quantity Variable Values (1)
Quantities (2)
Entity Store (1)
Represent a disk of radius 2 meters:
A rectangle with one side specified:
The area is given as a Function of the other side:
Properties & Relations (1)
Text
Wolfram Research (2015), EntityInstance, Wolfram Language function, https://reference.wolfram.com/language/ref/EntityInstance.html.
CMS
Wolfram Language. 2015. "EntityInstance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EntityInstance.html.
APA
Wolfram Language. (2015). EntityInstance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EntityInstance.html