Slot: values_from
The identifier of a “value set” – a set of identifiers that form the possible values for the range of a slot. Note: this is different than ‘subproperty_of’ in that ‘subproperty_of’ is intended to be a single ontology term while ‘values_from’ is the identifier of an entire value set. Additionally, this is different than an enumeration in that in an enumeration, the values of the enumeration are listed directly in the model itself. Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.
- Names in code:
valuesFrom(Scala, Java),values_from(TypeScript, Python, Rust, GraphQL) - URI:
linkml:values_from(https://w3id.org/linkml/values_from) - Range: uriorcurie
- Cardinality: 0..*
Where you can use it
Section titled “Where you can use it”- In a class, under:
- In a slot, under:
- In an enum, under:
enumsof the schemaenum_rangeof a slot or a slot expression
Classes
Section titled “Classes”Classes that have this slot, with the range and cardinality it has in each.
| Class | Range | Cardinality |
|---|---|---|
| definition | uriorcurie | 0..* |