Skip to content

Class: Comment

User comment on a BGC or other entity.

URI: https://w3id.org/jgi/smc/Comment

classDiagram class Comment click Comment href "../Comment/" Comment : created_time Comment : entity_id Comment : entity_type Comment : id Comment : text Comment : user_id

Slots

Name Cardinality and Range Description Inheritance
id 1
Integer
direct
entity_type 0..1
String
direct
entity_id 0..1
Integer
direct
user_id 0..1
Integer
direct
text 0..1
String
direct
created_time 0..1
Datetime
direct

Identifier and Mapping Information

Annotations

property value
source_table comment

Schema Source

  • from schema: https://w3id.org/jgi/smc

Mappings

Mapping Type Mapped Value
self https://w3id.org/jgi/smc/Comment
native https://w3id.org/jgi/smc/Comment

LinkML Source

Direct

name: Comment
annotations:
  source_table:
    tag: source_table
    value: comment
description: User comment on a BGC or other entity.
from_schema: https://w3id.org/jgi/smc
attributes:
  id:
    name: id
    from_schema: https://w3id.org/jgi/smc
    identifier: true
    domain_of:
    - BGC
    - BGCClass
    - BGCAnalysis
    - BGCAnalysisToSecmetFile
    - BGCAnnotation
    - AnalysisTool
    - Contig
    - Gene
    - Collection
    - CollectionMember
    - Comment
    - Blog
    - Activity
    - ApiUsage
    range: integer
    required: true
  entity_type:
    name: entity_type
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    domain_of:
    - Comment
    range: string
  entity_id:
    name: entity_id
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    domain_of:
    - Comment
    range: integer
  user_id:
    name: user_id
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    domain_of:
    - Comment
    - Activity
    range: integer
  text:
    name: text
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    domain_of:
    - Comment
    range: string
  created_time:
    name: created_time
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    domain_of:
    - Comment
    range: datetime

Induced

name: Comment
annotations:
  source_table:
    tag: source_table
    value: comment
description: User comment on a BGC or other entity.
from_schema: https://w3id.org/jgi/smc
attributes:
  id:
    name: id
    from_schema: https://w3id.org/jgi/smc
    identifier: true
    alias: id
    owner: Comment
    domain_of:
    - BGC
    - BGCClass
    - BGCAnalysis
    - BGCAnalysisToSecmetFile
    - BGCAnnotation
    - AnalysisTool
    - Contig
    - Gene
    - Collection
    - CollectionMember
    - Comment
    - Blog
    - Activity
    - ApiUsage
    range: integer
    required: true
  entity_type:
    name: entity_type
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    alias: entity_type
    owner: Comment
    domain_of:
    - Comment
    range: string
  entity_id:
    name: entity_id
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    alias: entity_id
    owner: Comment
    domain_of:
    - Comment
    range: integer
  user_id:
    name: user_id
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    alias: user_id
    owner: Comment
    domain_of:
    - Comment
    - Activity
    range: integer
  text:
    name: text
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    alias: text
    owner: Comment
    domain_of:
    - Comment
    range: string
  created_time:
    name: created_time
    from_schema: https://w3id.org/jgi/smc
    rank: 1000
    alias: created_time
    owner: Comment
    domain_of:
    - Comment
    range: datetime