Skip to content

Slot: range

defines the type of the object of the slot. Given the following slot definition

_ S1:_

_ domain: C1_

_ range: C2_

the declaration

_ X:_

_ S1: Y_

__

implicitly asserts Y is an instance of C2

__

URI: [linkml:range](https://w3id.org/linkml/range) ## Applicable Classes | Name | Description | Modifies Slot | | --- | --- | --- | | [EnumBinding](EnumBinding.md) | A binding of a slot or a class to a permissible value from an enumeration | yes | | [SlotExpression](SlotExpression.md) | an expression that constrains the range of values a slot can take | no | | [AnonymousSlotExpression](AnonymousSlotExpression.md) | | no | | [SlotDefinition](SlotDefinition.md) | an element that describes how instances are related to other instances | no | ## Properties ### Type and Range | Property | Value | | --- | --- | | Range | [Element](Element.md) | | Domain | [SlotDefinition](SlotDefinition.md) | | Domain Of | [EnumBinding](EnumBinding.md), [SlotExpression](SlotExpression.md) | ### Cardinality and Requirements | Property | Value | | --- | --- | ### Slot Characteristics | Property | Value | | --- | --- | | Inherited | Yes | | If Absent | `default_range` | ## In Subsets * [SpecificationSubset](SpecificationSubset.md) * [MinimalSubset](MinimalSubset.md) * [BasicSubset](BasicSubset.md) * [RelationalModelProfile](RelationalModelProfile.md) * [ObjectOrientedProfile](ObjectOrientedProfile.md) ## Aliases * value domain ## Comments * range is underspecified, as not all elements can appear as the range of a slot. * to use a URI or CURIE as the range, create a class with the URI or curie as the class_uri ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/linkml/meta ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkml:range | | native | linkml:range | ## LinkML Source
name: range
description: "defines the type of the object of the slot.  Given the following slot\
  \ definition\n  S1:\n    domain: C1\n    range:  C2\nthe declaration\n  X:\n   \
  \ S1: Y\n\nimplicitly asserts Y is an instance of C2\n"
comments:
- range is underspecified, as not all elements can appear as the range of a slot.
- to use a URI or CURIE as the range, create a class with the URI or curie as the
  class_uri
in_subset:
- SpecificationSubset
- MinimalSubset
- BasicSubset
- RelationalModelProfile
- ObjectOrientedProfile
from_schema: https://w3id.org/linkml/meta
aliases:
- value domain
rank: 1000
domain: slot_definition
inherited: true
ifabsent: default_range
domain_of:
- enum_binding
- slot_expression
range: element