Skip to content

cardinality_scope

URI: sssom:cardinality_scope

Applicable to: Mapping, MappingSet

Description

A list of mapping slots that define the scope for the value found in the mapping_cardinality slot. Mappings are considered to belong to the same scope if they have the same value for all slots listed in the scope. If no scope is defined, the default scope is empty, meaning that all mappings belong to a single scope that is identical to the entire mapping set. The behaviour if a value in the list does not correspond to a valid slot name is undefined.

Properties

  • Range: String. The range of the element is the type of the value that can be assigned to it.
  • Multivalued: True. If the element is multivalued, more than one value can be attached to the same field. In the TSV format, these are | separated.

Examples

Example: ['predicate_id']

Example value:

['predicate_id']

Description: Indicates that mapping_cardinality is computed relatively to all mappings that have the same predicate.

Example: ['predicate_id', 'object_source']

Example value:

['predicate_id', 'object_source']

Description: Indicates that mapping_cardinality is computed relatively to all mappings that have the same predicate and the same object source.

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: cardinality_scope
instantiates:
- sssom:Propagatable
- sssom:Versionable
annotations:
  propagated:
    tag: propagated
    value: true
  added_in:
    tag: added_in
    value: '1.1'
description: A list of mapping slots that define the scope for the value found in
  the mapping_cardinality slot. Mappings are considered to belong to the same scope
  if they have the same value for all slots listed in the scope. If no scope is defined,
  the default scope is empty, meaning that all mappings belong to a single scope that
  is identical to the entire mapping set. The behaviour if a value in the list does
  not correspond to a valid slot name is undefined.
examples:
- value: '[''predicate_id'']'
  description: Indicates that mapping_cardinality is computed relatively to all mappings
    that have the same predicate.
- value: '[''predicate_id'', ''object_source'']'
  description: Indicates that mapping_cardinality is computed relatively to all mappings
    that have the same predicate and the same object source.
from_schema: https://w3id.org/sssom/schema/
see_also:
- https://github.com/mapping-commons/sssom/issues/467
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/cardinality-scope-predicate.sssom.tsv
- https://github.com/mapping-commons/sssom/blob/master/examples/schema/cardinality-scope-predicate+object_source.sssom.tsv
rank: 1000
alias: cardinality_scope
domain_of:
- mapping set
- mapping
range: string
multivalued: true