Skip to content

Class: ChemicalToDiseaseDocument

A document that contains chemical and disease entities.

URI: ctdner:ChemicalToDiseaseDocument

erDiagram ChemicalToDiseaseDocument { } NamedEntity { string id string label } Publication { string id string title string abstract string combined_text string full_text } Disease { string id string label } Chemical { string id string label } ChemicalToDiseaseDocument ||--}o Chemical : "chemicals" ChemicalToDiseaseDocument ||--}o Disease : "diseases" ChemicalToDiseaseDocument ||--|o Publication : "publication" ChemicalToDiseaseDocument ||--}o NamedEntity : "entities"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
chemicals *
Chemical
One or more chemical substances, drugs, or small molecules direct
diseases *
Disease
One or more diseases or conditions direct
publication 0..1
Publication
TextWithEntity
entities *
NamedEntity
TextWithEntity

Identifier and Mapping Information

Schema Source

  • from schema: http://w3id.org/ontogpt/ctd_ner

Mappings

Mapping Type Mapped Value
self ctdner:ChemicalToDiseaseDocument
native ctdner:ChemicalToDiseaseDocument

LinkML Source

Direct

name: ChemicalToDiseaseDocument
description: A document that contains chemical and disease entities.
from_schema: http://w3id.org/ontogpt/ctd_ner
is_a: TextWithEntity
attributes:
  chemicals:
    name: chemicals
    annotations:
      prompt:
        tag: prompt
        value: 'A semi-colon separated list of chemical names, for example: Lidocaine;
          Hydroxychloroquine; Methyldopa; Monosodium Glutamate; Imatinib'
    description: One or more chemical substances, drugs, or small molecules.
    from_schema: http://w3id.org/ontogpt/ctd_ner
    rank: 1000
    multivalued: true
    domain_of:
    - ChemicalToDiseaseDocument
    range: Chemical
  diseases:
    name: diseases
    annotations:
      prompt:
        tag: prompt
        value: 'A semi-colon separated list of disease names, for example: cardiac
          asystole; COVID-19; Hypotension; Headache; cancer'
    description: One or more diseases or conditions.
    from_schema: http://w3id.org/ontogpt/ctd_ner
    rank: 1000
    multivalued: true
    domain_of:
    - ChemicalToDiseaseDocument
    range: Disease

Induced

name: ChemicalToDiseaseDocument
description: A document that contains chemical and disease entities.
from_schema: http://w3id.org/ontogpt/ctd_ner
is_a: TextWithEntity
attributes:
  chemicals:
    name: chemicals
    annotations:
      prompt:
        tag: prompt
        value: 'A semi-colon separated list of chemical names, for example: Lidocaine;
          Hydroxychloroquine; Methyldopa; Monosodium Glutamate; Imatinib'
    description: One or more chemical substances, drugs, or small molecules.
    from_schema: http://w3id.org/ontogpt/ctd_ner
    rank: 1000
    multivalued: true
    alias: chemicals
    owner: ChemicalToDiseaseDocument
    domain_of:
    - ChemicalToDiseaseDocument
    range: Chemical
  diseases:
    name: diseases
    annotations:
      prompt:
        tag: prompt
        value: 'A semi-colon separated list of disease names, for example: cardiac
          asystole; COVID-19; Hypotension; Headache; cancer'
    description: One or more diseases or conditions.
    from_schema: http://w3id.org/ontogpt/ctd_ner
    rank: 1000
    multivalued: true
    alias: diseases
    owner: ChemicalToDiseaseDocument
    domain_of:
    - ChemicalToDiseaseDocument
    range: Disease
  publication:
    name: publication
    annotations:
      prompt.skip:
        tag: prompt.skip
        value: 'true'
    from_schema: http://w3id.org/ontogpt/ctd_ner
    alias: publication
    owner: ChemicalToDiseaseDocument
    domain_of:
    - TextWithTriples
    - TextWithEntity
    range: Publication
    inlined: true
  entities:
    name: entities
    from_schema: http://w3id.org/ontogpt/ctd_ner
    rank: 1000
    multivalued: true
    alias: entities
    owner: ChemicalToDiseaseDocument
    domain_of:
    - TextWithEntity
    range: NamedEntity