Slot: subproperty_of
Ontology property which this slot is a subproperty of. Note: 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:
subpropertyOf(Scala, Java),subproperty_of(TypeScript, Python, Rust, GraphQL) - URI:
rdfs:subPropertyOf(http://www.w3.org/2000/01/rdf-schema#subPropertyOf) - Range: slot_definition
- Cardinality: 0..1
Where you can use it
Section titled “Where you can use it”- In a slot, under:
Classes
Section titled “Classes”Classes that have this slot, with the range and cardinality it has in each.
| Class | Range | Cardinality |
|---|---|---|
| slot_definition | slot_definition (reference) | 0..1 |
Examples
Section titled “Examples”| Value | Description |
|---|---|
RO:HOM0000001 |
this is the RO term for “in homology relationship with”, and used as a value of subproperty of this means that any ontological child (related to RO:HOM0000001 via an is_a relationship), is a valid value for the slot that declares this with the subproperty_of tag. This differs from the ‘values_from’ meta model component in that ‘values_from’ requires the id of a value set (said another way, if an entire ontology had a curie/identifier that was the identifier for the entire ontology, then that identifier would be used in ‘values_from.’) |