Skip to content

Chemical to Disease Template

A template for Chemical to Disease associations. This template is intended to represent associations between chemicals and diseases, and for evaluating Semantic Llama against BioCreative V Chemical Disease Relation (CDR) Task (BC5CDR).


Name: ctd

Schema Diagram

erDiagram ChemicalToDiseaseDocument { } ChemicalToDiseaseRelationship { string qualifier } Disease { string id string label } Chemical { string id string label } ChemicalToDiseasePredicate { string id string label } Any { } ExtractionResult { string input_id string input_title string input_text string raw_completion_output string prompt } NamedEntity { string id string label } CompoundExpression { } Triple { string qualifier } TextWithTriples { } TextWithEntity { } RelationshipType { string id string label } Publication { string id string title string abstract string combined_text string full_text } AnnotatorResult { string subject_text string object_id string object_text } ChemicalToDiseaseDocument ||--|o Publication : "publication" ChemicalToDiseaseDocument ||--}o ChemicalToDiseaseRelationship : "triples" ChemicalToDiseaseRelationship ||--|o Chemical : "subject" ChemicalToDiseaseRelationship ||--|o ChemicalToDiseasePredicate : "predicate" ChemicalToDiseaseRelationship ||--|o Disease : "object" ChemicalToDiseaseRelationship ||--|o NamedEntity : "subject_qualifier" ChemicalToDiseaseRelationship ||--|o NamedEntity : "object_qualifier" ExtractionResult ||--|o Any : "extracted_object" ExtractionResult ||--}o Any : "named_entities" Triple ||--|o NamedEntity : "subject" Triple ||--|o RelationshipType : "predicate" Triple ||--|o NamedEntity : "object" Triple ||--|o NamedEntity : "subject_qualifier" Triple ||--|o NamedEntity : "object_qualifier" TextWithTriples ||--|o Publication : "publication" TextWithTriples ||--}o Triple : "triples" TextWithEntity ||--|o Publication : "publication" TextWithEntity ||--}o NamedEntity : "entities"


Class Description
AnnotatorResult None
Any None
CompoundExpression None
        Triple Abstract parent for Relation Extraction tasks
                ChemicalToDiseaseRelationship A triple where the subject is a chemical and the object is a disease.
ExtractionResult A result of extracting knowledge on text
NamedEntity None
        Chemical None
        Disease None
        RelationshipType None
                ChemicalToDiseasePredicate A predicate for chemical to disease relationships
Publication None
TextWithEntity A text containing one or more instances of a single type of entity.
TextWithTriples A text containing one or more relations of the Triple type.
        ChemicalToDiseaseDocument A document that contains chemical to disease relations.


Slot Description
abstract The abstract of the publication
extracted_object The complex objects extracted from the text
full_text The full text of the publication
id A unique identifier for the named entity
label The label (name) of the named thing
named_entities Named entities extracted from the text
object_qualifier An optional qualifier or modifier for the object of the statement, e
qualifier A qualifier for the statements, e
subject_qualifier An optional qualifier or modifier for the subject of the statement, e
title The title of the publication


Enumeration Description


Type Description
Boolean A binary (true or false) value
Curie a compact URI
Date a date (year, month and day) in an idealized calendar
DateOrDatetime Either a date or a datetime
Datetime The combination of a date and time
Decimal A real number with arbitrary precision that conforms to the xsd:decimal speci...
Double A real number that conforms to the xsd:double specification
Float A real number that conforms to the xsd:float specification
Integer An integer
Jsonpath A string encoding a JSON Path
Jsonpointer A string encoding a JSON Pointer
Ncname Prefix part of CURIE
Nodeidentifier A URI, CURIE or BNODE that represents a node in a model
Objectidentifier A URI or CURIE that represents an object in the model
Sparqlpath A string encoding a SPARQL Property Path
String A character string
Time A time object represents a (local) time of day, independent of any particular...
Uri a complete URI
Uriorcurie a URI or a CURIE


Subset Description