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 Alias: range

Applicable Classes

Name Description Modifies Slot
SlotExpression an expression that constrains the range of values a slot can take no
AnonymousSlotExpression no
EnumBinding A binding of a slot or a class to a permissible value from an enumeration yes
SlotDefinition an element that describes how instances are related to other instances no

Properties

Type and Range

Property Value
Range Element
Domain SlotDefinition
Domain Of EnumBinding, SlotExpression

Cardinality and Requirements

Property Value
### Slot Characteristics
Property Value
Inherited Yes
If Absent default_range

In Subsets

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

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
alias: range
domain_of:
- enum_binding
- slot_expression
range: element