Slot: is_a
A primary parent class or slot from which inheritable metaslots are propagated from. While multiple inheritance is not allowed, mixins can be provided effectively providing the same thing. The semantics are the same when translated to formalisms that allow MI (e.g. RDFS/OWL). When translating to a SI framework (e.g. java classes, python classes) then is a is used. When translating a framework without polymorphism (e.g. json-schema, solr document schema) then is a and mixins are recursively unfolded
- Names in code:
isA(Scala, Java),is_a(TypeScript, Python, Rust, GraphQL) - URI:
linkml:is_a(https://w3id.org/linkml/is_a) - Range: definition
- Cardinality: 0..1
- Subsets: SpecificationSubset, BasicSubset, ObjectOrientedProfile, OwlProfile
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
- In a permissible value, under:
- In a class expression, under:
Classes
Section titled “Classes”Classes that have this slot, with the range and cardinality it has in each.
| Class | Range | Cardinality |
|---|---|---|
| class_definition | class_definition (reference) | 0..1 |
| slot_definition | slot_definition (reference) | 0..1 |
| permissible_value | permissible_value (reference) | 0..1 |
| anonymous_class_expression | class_definition (reference) | 0..1 |
| definition | definition (reference) | 0..1 |