Skip to content

Class: Community

Community entity in the ENIGMA data model

URI: enigma:Community

classDiagram class Community click Community href "../Community/" Community : community_community_type Community --> "1" CommunityTypeEnum : community_community_type click CommunityTypeEnum href "../CommunityTypeEnum/" Community : community_condition Community --> "0..1" Condition : community_condition click Condition href "../Condition/" Community : community_defined_strains Community --> "0..1" Strain : community_defined_strains click Strain href "../Strain/" Community : community_description Community : community_id Community : community_name Community : community_parent_community Community --> "0..1" Community : community_parent_community click Community href "../Community/" Community : community_sample Community --> "0..1" Sample : community_sample click Sample href "../Sample/"

Slots

Name Cardinality and Range Description Inheritance
community_id 1
String
id field for Community direct
community_name 1
String
name field for Community direct
community_community_type 1
CommunityTypeEnum
community_type field for Community direct
community_sample 0..1
Sample
sample field for Community direct
community_parent_community 0..1
Community
parent_community field for Community direct
community_condition 0..1
Condition
condition field for Community direct
community_defined_strains 0..1
Strain
defined_strains field for Community direct
community_description 0..1
String
description field for Community direct

Usages

used by used in type used
Community community_parent_community range Community

Identifier and Mapping Information

Annotations

property value
term DA:0000048
used_for_provenance True
process_types ['PROCESS:0000015', 'PROCESS:0000016', 'PROCESS:0000011']
process_inputs [['Sample'], ['Community']]

Schema Source

  • from schema: https://w3id.org/enigma/enigma-cdm

Mappings

Mapping Type Mapped Value
self enigma:Community
native enigma:Community

LinkML Source

Direct

name: Community
annotations:
  term:
    tag: term
    value: DA:0000048
  used_for_provenance:
    tag: used_for_provenance
    value: true
  process_types:
    tag: process_types
    value:
    - PROCESS:0000015
    - PROCESS:0000016
    - PROCESS:0000011
  process_inputs:
    tag: process_inputs
    value:
    - - Sample
    - - Community
description: Community entity in the ENIGMA data model
from_schema: https://w3id.org/enigma/enigma-cdm
slots:
- community_id
- community_name
- community_community_type
- community_sample
- community_parent_community
- community_condition
- community_defined_strains
- community_description

Induced

name: Community
annotations:
  term:
    tag: term
    value: DA:0000048
  used_for_provenance:
    tag: used_for_provenance
    value: true
  process_types:
    tag: process_types
    value:
    - PROCESS:0000015
    - PROCESS:0000016
    - PROCESS:0000011
  process_inputs:
    tag: process_inputs
    value:
    - - Sample
    - - Community
description: Community entity in the ENIGMA data model
from_schema: https://w3id.org/enigma/enigma-cdm
attributes:
  community_id:
    name: community_id
    annotations:
      type_term:
        tag: type_term
        value: ME:0000272
      microtype:
        tag: microtype
        value: ME:0000272
      microtype_data_type:
        tag: microtype_data_type
        value: object_ref
    description: id field for Community
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    identifier: true
    alias: community_id
    owner: Community
    domain_of:
    - Community
    range: string
    required: true
  community_name:
    name: community_name
    annotations:
      unique:
        tag: unique
        value: true
      type_term:
        tag: type_term
        value: ME:0000233
      microtype:
        tag: microtype
        value: ME:0000233
      microtype_data_type:
        tag: microtype_data_type
        value: object_ref
    description: name field for Community
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    alias: community_name
    owner: Community
    domain_of:
    - Community
    range: string
    required: true
  community_community_type:
    name: community_community_type
    annotations:
      type_term:
        tag: type_term
        value: ME:0000234
      microtype:
        tag: microtype
        value: ME:0000234
      microtype_data_type:
        tag: microtype_data_type
        value: oterm_ref
    description: community_type field for Community
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    alias: community_community_type
    owner: Community
    domain_of:
    - Community
    range: CommunityTypeEnum
    required: true
  community_sample:
    name: community_sample
    annotations:
      foreign_key:
        tag: foreign_key
        value: Sample.name
      type_term:
        tag: type_term
        value: ME:0000102
      microtype:
        tag: microtype
        value: ME:0000102
      microtype_data_type:
        tag: microtype_data_type
        value: object_ref
    description: sample field for Community
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    alias: community_sample
    owner: Community
    domain_of:
    - Community
    range: Sample
  community_parent_community:
    name: community_parent_community
    annotations:
      foreign_key:
        tag: foreign_key
        value: Community.name
      type_term:
        tag: type_term
        value: ME:0000233
      microtype:
        tag: microtype
        value: ME:0000233
      microtype_data_type:
        tag: microtype_data_type
        value: object_ref
    description: parent_community field for Community
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    alias: community_parent_community
    owner: Community
    domain_of:
    - Community
    range: Community
  community_condition:
    name: community_condition
    annotations:
      foreign_key:
        tag: foreign_key
        value: Condition.name
      type_term:
        tag: type_term
        value: ME:0000200
      microtype:
        tag: microtype
        value: ME:0000200
      microtype_data_type:
        tag: microtype_data_type
        value: object_ref
    description: condition field for Community
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    alias: community_condition
    owner: Community
    domain_of:
    - Community
    range: Condition
  community_defined_strains:
    name: community_defined_strains
    annotations:
      foreign_key:
        tag: foreign_key
        value: Strain.name
      type_term:
        tag: type_term
        value: ME:0000044
      microtype:
        tag: microtype
        value: ME:0000044
      microtype_data_type:
        tag: microtype_data_type
        value: object_ref
    description: defined_strains field for Community
    comments:
    - typedef.json specifies array ([text]), but actual data contains single values
      only
    - '{''Changed to multivalued'': ''false to match data reality (0% have multiple
      strains)''}'
    - typedef.json has typo with FK pointing to [Strain.Name] with capital N
    - Using lowercase name to match actual Strain field
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    alias: community_defined_strains
    owner: Community
    domain_of:
    - Community
    range: Strain
    multivalued: false
  community_description:
    name: community_description
    annotations:
      type_term:
        tag: type_term
        value: ME:0000202
      microtype:
        tag: microtype
        value: ME:0000202
      microtype_data_type:
        tag: microtype_data_type
        value: string
    description: description field for Community
    from_schema: https://w3id.org/enigma/enigma-cdm
    rank: 1000
    alias: community_description
    owner: Community
    domain_of:
    - Community
    range: string