Skip to content

Subset: SpecificationSubset

A subset that includes all the metamodel elements that form part of the normative LinkML specification.

__

The complete LinkML specification can be found at linkml:specification

URI: SpecificationSubset

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/meta

Classes in subset

Class Description
SchemaDefinition A collection of definitions that make up a schema or a data model
ClassDefinition an element whose instances are complex objects that may have slot-value assig...
SlotDefinition an element that describes how instances are related to other instances
TypeDefinition an element that whose instances are atomic scalar values that can be mapped t...
EnumDefinition an element whose instances must be drawn from a specified set of permissible ...
SubsetDefinition an element that can be used to group other metamodel elements
Prefix prefix URI tuple
PermissibleValue a permissible value, accompanied by intended text and an optional mapping to ...
UniqueKey a collection of slots whose values uniquely identify an instance of a class
TypeMapping Represents how a slot or type can be serialized to a format
EnumBinding A binding of a slot or a class to a permissible value from an enumeration
MatchQuery A query that is used on an enum expression to dynamically obtain a set of per...
ReachabilityQuery A query that is used on an enum expression to dynamically obtain a set of per...
ClassRule A rule that applies to instances of a class
Setting assignment of a key to a value

SchemaDefinition

A collection of definitions that make up a schema or a data model.

ClassDefinition

an element whose instances are complex objects that may have slot-value assignments

SlotDefinition

an element that describes how instances are related to other instances

TypeDefinition

an element that whose instances are atomic scalar values that can be mapped to primitive types

EnumDefinition

an element whose instances must be drawn from a specified set of permissible values

SubsetDefinition

an element that can be used to group other metamodel elements

Prefix

prefix URI tuple

PermissibleValue

a permissible value, accompanied by intended text and an optional mapping to a concept URI

UniqueKey

a collection of slots whose values uniquely identify an instance of a class

TypeMapping

Represents how a slot or type can be serialized to a format.

EnumBinding

A binding of a slot or a class to a permissible value from an enumeration.

MatchQuery

A query that is used on an enum expression to dynamically obtain a set of permissivle values via a query that matches on properties of the external concepts.

ReachabilityQuery

A query that is used on an enum expression to dynamically obtain a set of permissible values via walking from a set of source nodes to a set of descendants or ancestors over a set of relationship types.

ClassRule

A rule that applies to instances of a class

Setting

assignment of a key to a value

Slots in subset

Slot Description
id The official schema URI
name the unique name of the element within the context of the schema
prefix_prefix The prefix components of a prefix expansions
class_uri URI of the class that provides a semantic interpretation of the element in a ...
slot_uri URI of the class that provides a semantic interpretation of the slot in a lin...
type_uri The uri that defines the possible values for the type definition
prefix_reference The namespace to which a prefix expands to
classes An index to the collection of all class definitions in the schema
slot_definitions An index to the collection of all slot definitions in the schema
enums An index to the collection of all enum definitions in the schema
identifier True means that the key slot(s) uniquely identifies the elements
alias the name used for a slot in the context of its owning class
multivalued true means that slot can have more than one value and should be represented u...
typeof A parent type from which type properties are inherited
subsets An index to the collection of all subset definitions in the schema
required true means that the slot must be present in instances of the class definition
base python base type in the LinkML runtime that implements this type definition
recommended true means that the slot should be present in instances of the class definiti...
repr the name of the python object that implements this type definition
prefixes A collection of prefix expansions that specify how CURIEs can be expanded to ...
is_a A primary parent class or slot from which inheritable metaslots are propagate...
default_prefix The prefix that is used for all elements within a schema
mixins A collection of secondary parent classes or slots from which inheritable meta...
default_range default slot range to be used if range element is omitted from a slot definit...
slots collection of slot names that are applicable to a class
settings A collection of global variable settings
text The actual permissible value itself
imports A list of schemas that are to be included in this schema
meaning the value meaning of a permissible value
slot_usage the refinement of a slot in the context of the containing class definition
inlined True means that keyed or identified slot appears in an outer structure by val...
inlined_as_list True means that an inlined slot is represented as a list of range instances
inlined_as_simple_dict True means that an inlined slot is represented as a simple dict whose values ...
attributes Inline definition of slots
tree_root Indicates that this is the Container class which forms the root of the serial...
pattern the string value of the slot must conform to this regular expression expresse...
rank the relative order in which the element occurs, lower values are given preced...
any_of holds if at least one of the expressions hold
exactly_one_of holds if only one of the expressions hold
none_of holds if none of the expressions hold
all_of holds if all of the expressions hold
preconditions an expression that must hold in order for the rule to be applicable to an ins...
postconditions an expression that must hold for an instance of the class, if the preconditio...
elseconditions an expression that must hold for an instance of the class, if the preconditio...
id_prefixes An allowed list of prefixes for which identifiers must conform
from_schema id of the schema that defined the element
abstract Indicates the class or slot cannot be directly instantiated and is intended f...
mixin Indicates the class or slot is intended to be inherited from without being an...
code_set the identifier of an enumeration code set
pv_formula Defines the specific formula to be used to generate the permissible values
permissible_values A list of possible values for a slot range
enum_uri URI of the enum that provides a semantic interpretation of the element in a l...
include An enum expression that yields a list of permissible values that are to be in...
minus An enum expression that yields a list of permissible values that are to be su...
inherits An enum definition that is used as the basis to create a new enum
matches Specifies a match query that is used to calculate the list of permissible val...
identifier_pattern A regular expression that is used to obtain a set of identifiers from a sourc...
concepts A list of identifiers that are used to construct a set of permissible values
reachable_from Specifies a query for obtaining a list of permissible values based on graph r...
source_ontology An ontology or vocabulary or terminology that is used in a query to obtain a ...
is_direct True if the reachability query should only include directly related nodes, if...
traverse_up True if the direction of the reachability query is reversed and ancestors are...
include_self True if the query is reflexive
relationship_types A list of relationship types (properties) that are used in a reachability que...
source_nodes A list of nodes that are used in the reachability query
enum_range An inlined enumeration
range_expression A range that is described as a boolean expression combining existing ranges
bidirectional in addition to preconditions entailing postconditions, the postconditions ent...
open_world if true, the the postconditions may be omitted in instance data, but it is va...
rules the collection of rules that apply to all members of this class
classification_rules The collection of classification rules that apply to all members of this clas...
slot_conditions expresses constraints on a group of slots for a class expression
union_of indicates that the domain element consists exactly of the members of the elem...
unique_keys A collection of named unique keys for this class
unique_key_name name of the unique key
unique_key_slots list of slot names that form a key
domain defines the type of the subject of the slot
range defines the type of the object of the slot
inherited true means that the value of a slot is inherited by subclasses
ifabsent function that provides a default value for the slot
implicit_prefix Causes the slot value to be interpreted as a uriorcurie after prefixing with ...
equals_string the slot must have range string and the value of the slot must equal the spec...
equals_expression the value of the slot must equal the value of the evaluated expression
exact_cardinality the exact number of entries for a multivalued slot
minimum_cardinality the minimum number of entries for a multivalued slot
maximum_cardinality the maximum number of entries for a multivalued slot
equals_string_in the slot must have range string and the value of the slot must equal one of t...
equals_number_in the slot must have range number and the value of the slot must equal one of t...
has_member the value of the slot is multivalued with at least one member satisfying the ...
all_members the value of the slot is multivalued with all members satisfying the conditio...
inapplicable true means that values for this slot must not be present
list_elements_ordered If True, then the order of elements of a multivalued slot is guaranteed to be...
list_elements_unique If True, then there must be no duplicates in the elements of a multivalued sl...
shared If True, then the relationship between the slot domain and range is many to o...
key True means that the key slot(s) uniquely identify the elements within a singl...
designates_type True means that the key slot(s) is used to determine the instantiation (types...
disjoint_with Two classes are disjoint if they have no instances in common, two slots are d...
symmetric If s is symmetric, and i
asymmetric If s is antisymmetric, and i
reflexive If s is reflexive, then i
irreflexive If s is irreflexive, then there exists no i such i
locally_reflexive If s is locally_reflexive, then i
transitive If s is transitive, and i
transitive_form_of If s transitive_form_of d, then (1) s holds whenever d holds (2) s is transit...
reflexive_transitive_form_of transitive_form_of including the reflexive case
inverse indicates that any instance of d s r implies that there is also an instance o...
minimum_value For ordinal ranges, the value must be equal to or higher than this
maximum_value For ordinal ranges, the value must be equal to or lower than this
interpolated if true then the pattern is first string interpolated
partial_match if not true then the pattern must match the whole string, as if enclosed in ^
syntax the string value of the slot must conform to this regular expression expresse...
structured_pattern the string value of the slot must conform to the regular expression in the pa...
string_serialization Used on a slot that stores the string serialization of the containing object
bindings A collection of enum bindings that specify how a slot can be bound to a permi...
binds_value_of A path to a slot that is being bound to a permissible value from an enumerati...
obligation_level The level of obligation or recommendation strength for a metadata element
setting_key the variable name for a setting
setting_value The value assigned for a setting
slot_group allows for grouping of related slots into a grouping slot that serves the rol...
is_grouping_slot true if this slot is a grouping slot

Enumerations in subset

Enumeration Description

| ObligationLevelEnum | The level of obligation or recommendation strength for a metadata element |

| PvFormulaOptions | The formula used to generate the set of permissible values from the code_set ... |