Skip to content

Class: List

An ordered array of items, that can be present in multiple copies

URI: collections:List

classDiagram class List Bag <|-- List List : element List ..> Thing : element List : firstItem List ..> ListItem : firstItem List : item List ..> ListItem : item List : lastItem List ..> ListItem : lastItem List : size List ..> positive integer : size

Inheritance

Slots

Name Cardinality and Range Description Inheritance
item 0..1
CoItem
The link to every item of the bag direct
lastItem 0..1
ListItem
The link to the last item of the list direct
firstItem 0..1
ListItem
The link to the first item of the list direct
element 0..*
Thing
The link to the members of a collection Collection
size 0..1
PositiveInteger
The number of item belonging to a collection Collection

Usages

used by used in type used
List lastItem domain List
List firstItem domain List

Aliases

  • list

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/lmodel/collections

Mappings

Mapping Type Mapped Value
self collections:List
native collections:List
exact co:List, sumo:List, wikidata:Q12139612, wikidata:Q2704791
narrow wikidata:Q27948

LinkML Source

Direct

name: List
description: An ordered array of items, that can be present in multiple copies
from_schema: https://w3id.org/lmodel/collections
aliases:
- list
exact_mappings:
- co:List
- sumo:List
- wikidata:Q12139612
- wikidata:Q2704791
narrow_mappings:
- wikidata:Q27948
is_a: Bag
slots:
- item
- lastItem
- firstItem
slot_usage:
  lastItem:
    name: lastItem
    domain_of:
    - List
    maximum_cardinality: 1
  firstItem:
    name: firstItem
    domain_of:
    - List
    maximum_cardinality: 1
  item:
    name: item
    multivalued: true
    domain_of:
    - Thread
    - List
    range: ListItem

Induced

name: List
description: An ordered array of items, that can be present in multiple copies
from_schema: https://w3id.org/lmodel/collections
aliases:
- list
exact_mappings:
- co:List
- sumo:List
- wikidata:Q12139612
- wikidata:Q2704791
narrow_mappings:
- wikidata:Q27948
is_a: Bag
slot_usage:
  lastItem:
    name: lastItem
    domain_of:
    - List
    maximum_cardinality: 1
  firstItem:
    name: firstItem
    domain_of:
    - List
    maximum_cardinality: 1
  item:
    name: item
    multivalued: true
    domain_of:
    - Thread
    - List
    range: ListItem
attributes:
  item:
    name: item
    description: The link to every item of the bag
    from_schema: https://w3id.org/lmodel/collections
    mixin: true
    domain: Bag
    multivalued: true
    alias: item
    owner: List
    domain_of:
    - Thread
    - List
    range: ListItem
  lastItem:
    name: lastItem
    description: The link to the last item of the list.
    from_schema: https://w3id.org/lmodel/collections
    domain: List
    alias: lastItem
    owner: List
    domain_of:
    - List
    subproperty_of: item
    range: ListItem
    maximum_cardinality: 1
  firstItem:
    name: firstItem
    description: The link to the first item of the list.
    from_schema: https://w3id.org/lmodel/collections
    domain: List
    alias: firstItem
    owner: List
    domain_of:
    - List
    subproperty_of: item
    range: ListItem
    maximum_cardinality: 1
  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: List
    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: List
    domain_of:
    - Collection
    range: positive integer
    maximum_cardinality: 1