Class: Collection
A group of objects that can be considered as a whole.
classDiagram
class Collection
Thing <|-- Collection
Collection <|-- Bag
Collection <|-- Set
Collection : element
Collection ..> Thing : element
Collection : size
Collection ..> positive integer : size
Inheritance
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
element | 0..1 Thing |
The link to the members of a collection | direct |
size | 0..1 PositiveInteger |
The number of item belonging to a collection | direct |
Usages
used by | used in | type | used |
---|---|---|---|
Thread | element | domain | Collection |
Thread | size | domain | Collection |
Bag | element | domain | Collection |
Bag | size | domain | Collection |
Collection | element | domain | Collection |
Collection | size | domain | Collection |
List | element | domain | Collection |
List | size | domain | Collection |
Set | element | domain | Collection |
Set | size | domain | Collection |
Aliases
- collection
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/collections
Mappings
Mapping Type | Mapped Value |
---|---|
self | collections:Collection |
native | collections:Collection |
exact | co:Collection, NCIT:C45261, wikidata:Q59294700 |
LinkML Source
Direct
name: Collection
description: A group of objects that can be considered as a whole.
from_schema: https://w3id.org/lmodel/collections
aliases:
- collection
exact_mappings:
- co:Collection
- NCIT:C45261
- wikidata:Q59294700
is_a: Thing
slots:
- element
- size
slot_usage:
element:
name: element
annotations:
owl:
tag: owl
value: allValuesFrom
multivalued: true
domain_of:
- Collection
range: Thing
size:
name: size
domain_of:
- Collection
maximum_cardinality: 1
disjoint_with:
- CoItem
Induced
name: Collection
description: A group of objects that can be considered as a whole.
from_schema: https://w3id.org/lmodel/collections
aliases:
- collection
exact_mappings:
- co:Collection
- NCIT:C45261
- wikidata:Q59294700
is_a: Thing
slot_usage:
element:
name: element
annotations:
owl:
tag: owl
value: allValuesFrom
multivalued: true
domain_of:
- Collection
range: Thing
size:
name: size
domain_of:
- Collection
maximum_cardinality: 1
attributes:
element:
name: element
annotations:
owl:
tag: owl
value: allValuesFrom
description: The link to the members of a collection
from_schema: https://w3id.org/lmodel/collections
mixin: true
domain: Collection
multivalued: true
alias: element
owner: Collection
domain_of:
- Collection
range: Thing
size:
name: size
description: The number of item belonging to a collection.
from_schema: https://w3id.org/lmodel/collections
domain: Collection
alias: size
owner: Collection
domain_of:
- Collection
range: positive integer
maximum_cardinality: 1
disjoint_with:
- CoItem