Skip to content

mapping_cardinality

URI: sssom:mapping_cardinality

Applicable to: Mapping

Description

A value indicating whether the subject (respectively object) of this mapping record is present in other records involving a different object (respectively subject), within the subset of records defined by the cardinality_scope slot (or within the entire mapping set if cardinality_scope is undefined). Note that this is a convenience field, whose values can always be derived from the mapping set.

Properties

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

Examples

Example: 1:1

Example value:

1:1

Description: A one-to-one mapping. There are no other records in which the same subject is mapped to a different object, and no other records in which the same object is mapped to a different subject.

Example: 1:n

Example value:

1:n

Description: A one-to-many mapping. There are other records in which the same subject is mapped to at least one different object than the object present in this record; there are no other records in which the object is mapped to a different subject.

See Also

These are some relevant resources you might find useful to get additional information about the element, such as example implementations, issues and pull requests.

Schema developer documentation

LinkML source
name: mapping_cardinality
description: A value indicating whether the subject (respectively object) of this
  mapping record is present in other records involving a different object (respectively
  subject), within the subset of records defined by the cardinality_scope slot (or
  within the entire mapping set if cardinality_scope is undefined). Note that this
  is a convenience field, whose values can always be derived from the mapping set.
examples:
- value: '1:1'
  description: A one-to-one mapping. There are no other records in which the same
    subject is mapped to a different object, and no other records in which the same
    object is mapped to a different subject.
- value: 1:n
  description: A one-to-many mapping. There are other records in which the same subject
    is mapped to at least one different object than the object present in this record;
    there are no other records in which the object is mapped to a different subject.
from_schema: https://w3id.org/sssom/schema/
see_also:
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/cardinality.sssom.tsv
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/cardinality-with-unmapped-entities.sssom.tsv
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/cardinality-scope-empty.sssom.tsv
rank: 1000
alias: mapping_cardinality
domain_of:
- mapping
range: mapping_cardinality_enum