Skip to content

mapping_cardinality

URI: sssom:mapping_cardinality

Applicable to: Mapping

Description

A string indicating whether this mapping is from a 1:1 (the subject_id maps to a single object_id), 1:n (the subject maps to more than one object_id), n:1, 1:0, 0:1 or n:n group. Note that this is a convenience field that should be derivable from the mapping set.

Properties

  • Range: MappingCardinalityEnum. The range of the element is the type of the value that can be assigned to it.

  • Required?: Optional (You can add this element to the mapping or mapping set, but it is not required.)

Examples

Example: 1:1

Example value:

1:1

Description: A one-to-one mapping.

Example: 1:n

Example value:

1:n

Description: A one-to-many mapping.

Schema developer documentation

LinkML source
name: mapping_cardinality
description: A string indicating whether this mapping is from a 1:1 (the subject_id
  maps to a single object_id), 1:n (the subject maps to more than one object_id),
  n:1, 1:0, 0:1 or n:n group. Note that this is a convenience field that should be
  derivable from the mapping set.
examples:
- value: '1:1'
  description: A one-to-one mapping.
- value: 1:n
  description: A one-to-many mapping.
from_schema: https://w3id.org/sssom/schema/
rank: 1000
alias: mapping_cardinality
domain_of:
- mapping
range: mapping_cardinality_enum