Slot: expression_to_value_mappings

A mapping table in which the keys are boolean expressions and the values are literal results. On enum derivations, used for scalar binning: each key is evaluated with value() bound to the incoming value, and the first truthy key's value is returned as the target permissible value. See issue #99.

URI: [linkmlmap:slot/expression_to_value_mappings](https://w3id.org/linkml/transformer/slot/expression_to_value_mappings) ## Applicable Classes | Name | Description | Modifies Slot | | --- | --- | --- | | [ElementDerivation](../classes/ElementDerivation.md) | An abstract grouping for classes that provide a specification of how to deriv... | no | | [ClassDerivation](../classes/ClassDerivation.md) | A specification of how to derive a target class from a source class | no | | [ObjectDerivation](../classes/ObjectDerivation.md) | Deprecated | no | | [SlotDerivation](../classes/SlotDerivation.md) | A specification of how to derive the value of a target slot from a source slo... | no | | [EnumDerivation](../classes/EnumDerivation.md) | A specification of how to derive the value of a target enum from a source enu... | no | | [PermissibleValueDerivation](../classes/PermissibleValueDerivation.md) | A specification of how to derive the value of a PV from a source enum | no | | [PrefixDerivation](../classes/PrefixDerivation.md) | A specification of how to derive a target prefix declaration | no | ## Properties ### Type and Range | Property | Value | | --- | --- | | Range | [KeyVal](../classes/KeyVal.md) | | Domain Of | [ElementDerivation](../classes/ElementDerivation.md) | ### Cardinality and Requirements | Property | Value | | --- | --- | | Multivalued | Yes | ### Slot Characteristics | Property | Value | | --- | --- | | Owner | [ElementDerivation](../classes/ElementDerivation.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/linkml/transformer ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkmlmap:expression_to_value_mappings | | native | linkmlmap:expression_to_value_mappings | ## LinkML Source
name: expression_to_value_mappings
description: 'A mapping table in which the keys are boolean expressions and the values
  are literal results. On enum derivations, used for scalar binning: each key is evaluated
  with value() bound to the incoming value, and the first truthy key''s value is returned
  as the target permissible value. See issue #99.'
from_schema: https://w3id.org/linkml/transformer
rank: 1000
owner: ElementDerivation
domain_of:
- ElementDerivation
range: KeyVal
multivalued: true
inlined: true