The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
question_id: string
question: string
answer: struct<322: string, 9361: string, 97501: string, 141894: string, 23615: string, 99817: string, 80744 (... 26983 chars omitted)
child 0, 322: string
child 1, 9361: string
child 2, 97501: string
child 3, 141894: string
child 4, 23615: string
child 5, 99817: string
child 6, 80744: string
child 7, 141503: string
child 8, 139824: string
child 9, 115699: string
child 10, 138857: string
child 11, 138886: string
child 12, 138944: string
child 13, 57138: string
child 14, 88923: string
child 15, 31814: string
child 16, 81321: string
child 17, 53895: string
child 18, 11769: string
child 19, 29540: string
child 20, 67509: string
child 21, 71190: string
child 22, 17519: string
child 23, 10959: string
child 24, 6728: string
child 25, 29918: string
child 26, 39845: string
child 27, 12498: string
child 28, 153702: string
child 29, 16122: string
child 30, 94649: string
child 31, 138557: string
child 32, 107: string
child 33, 63322: string
child 34, 9801: string
child 35, 134511: string
child 36, 2099: string
child 37, 50601: string
child 38, 119307: string
child 39, 18723: string
child 40, 7188: string
child 41, 138616: string
child 42, 91479: string
child 43, 99439: string
child 44, 23885: string
child 45, 45271: string
child 46, 138272: string
child 47, 45844: string
child 48, 27615: string
child 49, 15331: string
child 50, 15338: string
child
...
child 1738, 126860: string
child 1739, 77219: string
child 1740, 87110: string
child 1741, 50687: string
child 1742, 137889: string
child 1743, 141161: string
child 1744, 144273: string
child 1745, 49744: string
child 1746, 21944: string
child 1747, 14041: string
child 1748, 12273: string
child 1749, 38846: string
child 1750, 42660: string
child 1751, 127583: string
child 1752, 16605: string
child 1753, 15578: string
child 1754, 160032: string
child 1755, 69722: string
child 1756, 143138: string
child 1757, 9060: string
child 1758, 96729: string
child 1759, 11605: string
child 1760, 44239: string
child 1761, 12169: string
child 1762, 161852: string
child 1763, 137704: string
child 1764, 138811: string
child 1765, 14492: string
child 1766, 80740: string
child 1767, 60374: string
child 1768, 142868: string
child 1769, 159330: string
child 1770, 138568: string
child 1771, 84611: string
child 1772, 38052: string
child 1773, 122120: string
child 1774, 4826: string
child 1775, 83374: string
child 1776, 23803: string
child 1777, 37561: string
child 1778, 44064: string
child 1779, 24979: string
child 1780, 140318: string
child 1781, 138182: string
child 1782, 46319: string
child 1783, 142966: string
child 1784, 89852: string
child 1785, 47722: string
child 1786, 24195: string
topic_entity: string
hop1_neighbors: string
instruction: string
context: string
response: string
category: string
to
{'instruction': Value('string'), 'context': Value('string'), 'response': Value('string'), 'category': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 289, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 124, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
question_id: string
question: string
answer: struct<322: string, 9361: string, 97501: string, 141894: string, 23615: string, 99817: string, 80744 (... 26983 chars omitted)
child 0, 322: string
child 1, 9361: string
child 2, 97501: string
child 3, 141894: string
child 4, 23615: string
child 5, 99817: string
child 6, 80744: string
child 7, 141503: string
child 8, 139824: string
child 9, 115699: string
child 10, 138857: string
child 11, 138886: string
child 12, 138944: string
child 13, 57138: string
child 14, 88923: string
child 15, 31814: string
child 16, 81321: string
child 17, 53895: string
child 18, 11769: string
child 19, 29540: string
child 20, 67509: string
child 21, 71190: string
child 22, 17519: string
child 23, 10959: string
child 24, 6728: string
child 25, 29918: string
child 26, 39845: string
child 27, 12498: string
child 28, 153702: string
child 29, 16122: string
child 30, 94649: string
child 31, 138557: string
child 32, 107: string
child 33, 63322: string
child 34, 9801: string
child 35, 134511: string
child 36, 2099: string
child 37, 50601: string
child 38, 119307: string
child 39, 18723: string
child 40, 7188: string
child 41, 138616: string
child 42, 91479: string
child 43, 99439: string
child 44, 23885: string
child 45, 45271: string
child 46, 138272: string
child 47, 45844: string
child 48, 27615: string
child 49, 15331: string
child 50, 15338: string
child
...
child 1738, 126860: string
child 1739, 77219: string
child 1740, 87110: string
child 1741, 50687: string
child 1742, 137889: string
child 1743, 141161: string
child 1744, 144273: string
child 1745, 49744: string
child 1746, 21944: string
child 1747, 14041: string
child 1748, 12273: string
child 1749, 38846: string
child 1750, 42660: string
child 1751, 127583: string
child 1752, 16605: string
child 1753, 15578: string
child 1754, 160032: string
child 1755, 69722: string
child 1756, 143138: string
child 1757, 9060: string
child 1758, 96729: string
child 1759, 11605: string
child 1760, 44239: string
child 1761, 12169: string
child 1762, 161852: string
child 1763, 137704: string
child 1764, 138811: string
child 1765, 14492: string
child 1766, 80740: string
child 1767, 60374: string
child 1768, 142868: string
child 1769, 159330: string
child 1770, 138568: string
child 1771, 84611: string
child 1772, 38052: string
child 1773, 122120: string
child 1774, 4826: string
child 1775, 83374: string
child 1776, 23803: string
child 1777, 37561: string
child 1778, 44064: string
child 1779, 24979: string
child 1780, 140318: string
child 1781, 138182: string
child 1782, 46319: string
child 1783, 142966: string
child 1784, 89852: string
child 1785, 47722: string
child 1786, 24195: string
topic_entity: string
hop1_neighbors: string
instruction: string
context: string
response: string
category: string
to
{'instruction': Value('string'), 'context': Value('string'), 'response': Value('string'), 'category': Value('string')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1925, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
instruction string | context string | response string | category string |
|---|---|---|---|
You are an excellent linguist. The task is to answer the question | Which degenerative brain Disease or Syndrome is often affected by Birth, typically occurs after age 60 and causes severe cortical atrophy? | Alzheimer's Disease
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Disease or Syndrome that involves intravascular antigen-antibody complexes is treated by blasticidin S? | Arthus Reaction
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which disease, related through ancestry to kidney diseases, also affects the kidneys? | Kidney Diseases
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Tumor Necrosis Factor-Beta affect a Disease or Syndrome that usually happens between the 29th-38th week of pregnancy? | Premature Obstetric Labor
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Glycoproteins affect Cell Function which acquires specialized lymphocyte features or has a prominent heterochromatin characteristic? | lymphocyte differentiation
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Fibronectins affect a Cell Function that can attach a cell to an underlying substrate? | Cell Adhesion
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Neurogenesis affect Disease or Syndrome, leading to a Genetic Function that involves new mRNA transcripts? | protein expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does the IP3K1 protein in Drosophila affect a Genetic Function that involves catalyzing deoxynucleoside triphosphate reactions? | telomerase activity
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What disease or syndrome, manifested by abdominal pain, does Bacillus subtilis treat through its pharmacologic properties? | Ulcerative Colitis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Re-Irradiation affect the Neoplastic Process that can recur after a period of remission? | Recurrent Childhood Glioblastoma
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What type of Injury or Poisoning, which impacts liver function, is caused by ficusin? | Injury of liver,Hepatotoxicity
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Neurogenesis affect Disease or Syndrome in relation to Genetic Function, specifically regarding new mRNA transcripts? | protein expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Amino Acid, Peptide, or Protein is produced by papain and undergoes removal of two amino acids at the C-terminal? | Angiotensin I
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What organic chemical is produced due to mutations affected by Alzheimer's Disease that postmenopause influences, which contributes to skin pigmentation? | Melanins
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does Chymase affect Cell Function which leads to a Disease that causes dementia? | Alzheimer's Disease
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Can you tell me which Chemical, with antineoplastic activity and forming reactive platinum complexes, is related to the gene msx1 through transport and channels? | cisplatin
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does tomicide treat a disease or syndrome that involves recurrent infections or affects the urinary bladder? | Chronic cystitis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does prothymosin alpha, by affecting cell function, relate to a disease that primarily impacts older persons? | Degenerative polyarthritis,Alzheimer's Disease
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What gene is involved in the pathogenesis of leukemia myeloid as a result of thalidomide inhibiting cell growth in neoplasms, and what is its property related to the PLAG1 zinc finger? | PLAG1
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What gene, related to gstt1's role in activating drug targets for autoimmune diseases, encodes 25-hydroxyvitamin D-1 alpha hydroxylase? | VDR
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What vascular disease is an ancestor of another disease, and involves impaired blood flow in the brain, affecting brain's arteries or veins? | Cerebrovascular Disorders
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does the phosphomannosyl receptor affect a Cell Function like engulfing of liquids, membrane invagination and closure, or resulting in fluid-filled vacuoles? | Pinocytosis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does Tubal Occlusion affect any Anatomical Abnormalities, like a benign ovarian cyst that develops during the menstrual cycle and regresses as part of normal ovarian function? | Functional cyst of ovary
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Disease or Syndrome treated by Oleandomycin involves anogenital ulcers and is diagnosed by demonstration of intracellular Donovan bodies? | Granuloma Inguinale
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Disease or Syndrome is affected by Single pregnancy, leading to pruritus onset in later pregnancy, elevated serum aminotransferases, increased bile acid levels, and provides relief after delivery? | Cholestasis of pregnancy
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Cell or Molecular Dysfunction, involving multiple genetic cell lines or affecting germ and/or somatic cells, is manifesting as Segmental Vitiligo? | Embryonic Mosaic
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Homeostasis affect Disease or Syndrome in relation to Genetic Function, specifically regarding the biosynthesis of new protein products? | protein expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does the PGM1 gene produce another Gene or Genome that's involved in catalyzing alpha D-glucose 1-phosphate conversion and is associated with EC 5.4.2.2? | PHOSPHOGLUCOMUTASE
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does sirolimus, an antibiotic, affect the organ or tissue function involving the sum of chemical changes in the brain? | brain metabolism
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does the complement-control protein in the Vaccinia virus affect a Disease or Syndrome that often occurs after age 60? | Alzheimer's Disease
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Organic Chemical interacts with PANTOTHENYL ALCOHOL and can be found in certain sympathetic effector junctions? | acetylcholine
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What is the binding ligand of the gene myl3 involved in the regulation and pathways associated with slc16a7 and hmgcs2? | MYL3
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does neurogenesis affect disease or syndrome related to genetic function that involves biosynthesis of proteins? | protein expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What chemical involved in the metabolism and pharmacokinetics of the gene bdnf is also used therapeutically as a nutrient? | glycine
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does smad2 affect the expression of tp63 to enhance its response, and what is a property of the gene twist1? | BCL2
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Organism Function does the human MC3R protein affect, given that the function involves a natural recurring desire for food? | Desire for food
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Amino Acid, Peptide, or Protein is produced by Tissue Kallikrein and acts as a smooth-muscle stimulant? | Kallidin,Bradykinin
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does the Memory for Designs Test influence a Genetic Function, specifically one that ends nascent RNA transcript synthesis? | Transcription Termination
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does pipequaline interact with any Pharmacologic Substance that is used for different therapeutic purposes? | Tranquilizing Agents
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How do Cell Adhesion Molecules, through their affect on Cell Function, influence a Disease that is inflammatory in nature? | Exfoliative dermatitis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What gene is influenced by the expression or production of the gene esr1 and also impacts the expression of another gene, having undergone a rearrangement of chromosome 11? | CCND1
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does Reverse Triiodothyronine interact with Pharmacologic Substance to treat a Disease or Syndrome that involves the overproduction of thyroid hormone? | Primary Hyperthyroidism
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How do Polypeptides affect Cell Function and relate to a Disease that occurs naturally in macaques? | Simian Acquired Immunodeficiency Syndrome
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How do Pituitary Hormones, Anterior interact with Angiotensin-Converting Enzyme Inhibitors to affect brain tissue functions like administering anabolism and catabolism? | brain metabolism
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Organ or Tissue Function, known for circulating blood through abdominal viscera, is affected by Acute respiratory acidosis? | Splanchnic Circulation
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What is a Pathologic Function caused by Antibiotics, which results from endogenous/exogenous lytic substances? | Lysis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What channels in msx1 transport prkcb that bind to affect the expression/production of hsp90aa1? | cisplatin
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Disease or Syndrome, which can be non-neoplastic, is treated by pharmacologic substances that address signs or symptoms related to Agaricales? | CNS disorder
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What chemical changes does the Dopamine Receptor interact with through Antipsychotic Agents to affect the Organ or Tissue Function? | brain metabolism
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does micafungin treat diseases that affect the organ function related to the removal of glucose from blood? | Liver function
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What is the chemical that binds to slc6a4, affects the expression/production of pparg, and is known to function as a neurotransmitter? | norepinephrine
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What finding is associated with esters that interact with pharmacologic substances to treat conditions? | Leukorrhea
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does somatostatin, as a peptide affecting cell function, relate to Cushing's syndrome, which is caused by high secretion of ACTH? | Pituitary-dependent Cushing's disease
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What organic chemical is produced by the mutation associated with Alzheimer's disease, which provides protection against sunburn? | Melanins
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Gene interacts with the Gene 'add1' through a Chemical interaction and is located at 19q13.2? | ATP1A1
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Homeostasis affect Alzheimer's Disease concerning Gene Expression to produce a Biologically Active Substance that contains various active ANF sequences? | gamma-Atrial Natriuretic Peptide
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which Disease or Syndrome that's usually caused by bacterial infection and affects PALATINE TONSILS, ADENOIDS, and lingual tonsils, is treated by ampicillin/cloxacillin? | Tonsillitis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What gene related to amlexanox interactions with drug targets in neoplasms plays a role in hematopoiesis? | IL3
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does the gene bcor bind with a ligand to another gene that encodes Myc proto-oncogene protein or is involved in transcription regulation or cell proliferation? | MYC
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How do GTP-Binding Proteins affect Signal Transduction/Cell Function to influence Fatty Liver/Disease or Syndrome and what is a property of Genetic Function? | Gene Expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Pancreatic Elastase influence Cell Function to affect a Disease or Syndrome that includes vasculitis, thrombophlebitis, arteriosclerosis? | Vascular Diseases
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Sign or Symptom does Antilymphocyte Globulin treat that may involve 'Increased flow of mucous' or 'Inflammation of mucous membrane'? | Catarrh
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does hair, as a body part that produces immunologic factors, relate to the disease known for recurrent hives? | Chronic Spontaneous Urticaria
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What chemical is transported or channeled by the gene 'nppa' that requires a sample or involves measurement of estradiol? | estradiol
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does the immune response affect disease or syndrome in terms of genetic function involving new mRNA transcripts? | protein expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which gene is associated with the overexpression in hemorrhage disease and also serves as a biomarker or a regulator for the disease? | ALB
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Aging affect Disease or Syndrome that impacts the Genetic Function involving new mRNA transcripts? | protein expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does the Plasmid Cloning Vector interact with any Immunologic Factor that leads to particle aggregation or clump formation? | Agglutinins
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What gene is affected by the expression/production of the esr1 gene, and is associated with rearrangement of chromosome 11? | CCND1
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does neoxanthin affect an Organism Function that helps prevent sunburn? | photoprotection
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does carnitine affect a Cell Function that involves intracellular components or includes extracellular processes? | Cell physiology,long-chain fatty acid transport
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does Bioenergetics have an impact on any specific Disease or Syndrome? | Alzheimer's Disease
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What is a Neoplastic Process that is affected by Chromosomal structural abnormalities? | Lymphoepithelial carcinoma,Compound leukemias
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Chronic Alcoholic Intoxication affect Organism Function which involves cell division? | Neurogenesis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Genetic Function influenced by Artemisia <Artemisiinae> is linked to transcription and leads to functional protein production? | Gene Expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What disease does PANTOTHENYL ALCOHOL interact with that leads to dementia and primarily affects individuals over 60? | Alzheimer's Disease
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does Candicidin treat any Disease or Syndrome that affects the vagina, has symptoms like pain, or results in purulent discharge? | Infective vaginitis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does the Epidermal Growth Factor Receptor affect Cell Function leading to a Pathologic Function involving abnormal tissue connections? | Tissue Adhesions
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Gene or Genome is produced by CATHEPSIN D, that is also involved in the regulation of blood pressure? | Angiotensins
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Pharmacologic Substance is produced when PROTEIN SUPPLEMENTS interact with Amino Acids and Peptides, specifically used as a reagent in analytical chemistry techniques? | sodium nitrite
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Disease or Syndrome, affecting lymph, nodes, or vessels, can be treated with Herbal Drugs? | Lymphatic Diseases
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What disease or syndrome does Levomycetin interact with that involves acute inflammation? | Arthritis
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How do Glycosaminoglycans affect Equilibrium/Organism Function leading to Physiological Diffuse Hyperplasia of the Mouse Mammary Gland, and what is the resulting Cell Function? | osteoblast differentiation
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Biologically Active Substance, involved in iron and sulfur transfer and synthesizing [2Fe-2S] cluster, is produced by mitochondrial processing? | frataxin
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Aging affect Disease or Syndrome and what Genetic Function involves deletion mutation? | Gene Deletion
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does the Karnofsky Performance Status affect any Genetic Function that includes DNA sequence rearrangement or contains at least one gene? | Gene Amplification
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does the Serine Proteinase Inhibitors affect the Organism Function that enables skin renewal in amphibians and reptiles? | Molting
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What pharmacologic substances interact with selenoproteins and are used in drug assay research? | Zebrafish
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does fucoidan have any effects on a Pathologic Function that can potentially cause organ perfusion failure or lead to oxygenation failure in vital organs? | Shock
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Sleep affect Disease or Syndrome and what is a property of the Genetic Function involved? | protein expression
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Anatomical Abnormality is caused by the BMP4 gene, which might involve the Posterior Pituitary Gland and cause hormone deficiencies? | Ectopic posterior pituitary
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What are the ancestor diseases related to kidney diseases, that are also connected via ancestor diseases to another disease that affects kidneys? | Kidney Diseases
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What is the gene involved in regulation and pathways with tgfb1 and also participates in bone development and bone signaling? | BMP4
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Cell Function does the Lipoprotein Receptor affect, which involves transport of lipids within or between cells and operates by transporters or pores? | lipoprotein transport
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What gene is affected by sp1 to enhance response, or activate, stimulate, with a binding ligand of ctnnb1, and is named HESX1? | HESX1
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What Cell Function is affected by the messenger ribonucleic acid, considering aspects related to RNA transport or sorting mechanisms? | RNA Transport
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Which type of vitamin is produced by the keratinocyte? | cholecalciferol
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | Does Phospholipase D affect cell function impacting a disease characterized by hyperglycemia? | Diabetes Mellitus
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | How does Recombinant Interleukin-6 affect the Cell Function with property like 'no nuclear membrane breakdown'? | endomitotic cell cycle
| ADint_open_QA |
You are an excellent linguist. The task is to answer the question | What pharmacologic substance interacts with GPAT3 and inhibits neoplasm proliferation? | Antineoplastic Agents
| ADint_open_QA |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
RiTeK: Medical Textual Knowledge Graph QA Benchmark
RiTeK is a benchmark for complex reasoning over medical Textual Knowledge Graphs (medical TKGs). It evaluates whether retrieval systems and Large Language Models (LLMs) can answer realistic medical questions by using both relational paths and textual entity descriptions.

Dataset Overview
The benchmark contains three medical graph QA subsets:
| Dataset | Directory | Splits | KG file |
|---|---|---|---|
| ADint | Adint |
train / dev / test | ADint_KG.txt |
| pharmKG | pharmKG |
train / dev / test | Pharm_KG.txt |
| Prime | prime |
train / test | External PrimeKG file |
The local note in Dataset/pharmKG/readme.txt says that only the train and test datasets provide hop1_neighbors.
Textual KG Statistics
| TKG Dataset | # Entity Types | # Relation Types | # Triples | # Coverage |
|---|---|---|---|---|
| STaRK-Amazon | 4 | 4 | 9,443,802 | -- |
| STaRK-Mag | 4 | 4 | 39,802,116 | -- |
| STaRK-Prime | 10 | 18 | 8,100,498 | 15.29% |
| RiTeK-PharmKG | 3 | 29 | 500,958 | 95.61% |
| RiTeK-ADint | 102 | 15 | 1,017,284 | 36.73% |
# Coverage refers to the proportion of nodes with textual descriptions. # Entity Types denotes the number of entity types, and # Relation Types indicates the number of relation types. The textual information of the provided nodes is difficult to quantify statistically for STaRK-Mag and STaRK-Amazon, so their coverage statistics are not included.
QA Dataset Statistics
| QA Dataset | # Queries | # Topological Structures | # Instance Rate | Train / Val / Test |
|---|---|---|---|---|
| STaRK-Amazon | 9,100 | 1 | 4 | 0.65 / 0.17 / 0.18 |
| STaRK-Mag | 13,323 | 4 | 1.25 | 0.60 / 0.20 / 0.20 |
| STaRK-Prime | 11,204 | 3 | 9.3 | 0.55 / 0.20 / 0.25 |
| RiTeK-PharmKG | 10,235 | 6 | 11.33 | 0.80 / 0.10 / 0.10 |
| RiTeK-ADint | 5,322 | 6 | 9.67 | 0.80 / 0.10 / 0.10 |
# Instance Rate refers to the average number of relational templates per topological structure.
Access Benchmark Data
All dataset files are under main. Each QA file is JSONL: one JSON object per line.
ADint
| File | Rows | Description |
|---|---|---|
ADint_train_with_topic_entity.json |
3,859 | Original train QA data with topic entity metadata |
Adint_dev_with_topic_entity.json |
483 | Dev QA data |
ADint_test_with_topic_entity.json |
482 | Original test QA data with topic entity metadata |
ADint_train_QA_instruction.json |
3,859 | Train data in instruction format |
ADint_dev_QA_instruction.json |
483 | Dev data in instruction format |
ADint_test_QA_instruction.json |
482 | Test data in instruction format |
ADint_KG.txt |
1,385,264 | Knowledge graph triples |
pharmKG
| File | Rows | Description |
|---|---|---|
pharmKG_train_QA_with_topic_entity.json |
8,188 | Original train QA data with topic entity metadata |
pharmKG_dev_with_topic_entity.json |
1,024 | Dev QA data with topic entity metadata |
pharmKG_test_QA_with_topic_entity.json |
1,023 | Original test QA data with topic entity metadata |
pharmKG_train_QA_instruction.json |
8,188 | Train data in instruction format |
pharmKG_dev_QA_instruction.json |
1,024 | Dev data in instruction format |
pharmKG_test_QA_instruction.json |
1,023 | Test data in instruction format |
Pharm_KG.txt |
500,360 | Knowledge graph triples |
Prime
| File | Rows | Description |
|---|---|---|
Prime_train_QA_with_topic_entity.json |
5,052 | Original train QA data with topic entity metadata |
Prime_test_QA_with_topic_entity.json |
2,801 | Original test QA data with topic entity metadata |
Prime_train_QA_instruction.json |
5,052 | Train data in instruction format |
Prime_test_QA_instruction.json |
2,801 | Test data in instruction format |
PrimeKG graph resources are referenced in Dataset/prime/readme.
Data Format
Original QA Format
The original QA files use this JSONL format:
{"question_id": "2", "question": "What is the name of the condition characterized by a complete interruption of the inferior vena cava, falling under congenital vena cava anomalies?", "answer": {"98851": "azygos continuation of the inferior vena cava", "98853": "inferior vena cava interruption"}, "topic_entity": [{"topic_name": "congenital systemic veins anomaly", "topic_id": "39483"}]}
Fields:
| Field | Description |
|---|---|
question_id |
Unique question identifier within the dataset |
question |
Natural-language question |
answer |
Mapping from answer entity ID to answer surface name |
topic_entity |
Topic entity or entities used to anchor the question in the KG |
Instruction QA Format
The instruction files are converted JSONL files for instruction tuning or direct QA prompting:
{"instruction": "You are an excellent linguist. The task is to answer the question", "context": "What drugs are used to treat epithelioid sarcoma and also affect the EZH2 gene product?", "response": "Tazemetostat\n", "category": "Prime_open_QA"}
Fields:
| Field | Description |
|---|---|
instruction |
Fixed task instruction |
context |
The question text |
response |
Gold answer text. Multiple answers are joined with commas and end with \n |
category |
Dataset-specific task category, such as ADint_open_QA, pharmKG_open_QA, or Prime_open_QA |
Knowledge Graph Format
Each KG file is a plain-text triple file:
137690 1 34589
1 3 144772
Each line represents:
head_entity_id relation_id tail_entity_id
To obtain entity names, entity descriptions, relation names, or node types, use the metadata files from the linked node-edge information resources:
- [
edge_type_dict.pkl](under Graph_node_edge_info files) - [
node_info.pkl](under Graph_node_edge_info files) - [
node_type_dict.pkl](under Graph_node_edge_info files)
Example relation mapping:
{
0: "ppi",
1: "carrier",
2: "enzyme",
3: "target",
4: "transporter",
5: "contraindication",
6: "indication",
7: "off-label use",
8: "synergistic interaction",
9: "associated with",
10: "parent-child",
11: "phenotype absent",
12: "phenotype present",
13: "side effect",
14: "interacts with",
15: "linked to",
16: "expression present",
17: "expression absent"
}
Example node type mapping:
{
0: "disease",
1: "gene/protein",
2: "molecular_function",
3: "drug",
4: "pathway",
5: "anatomy",
6: "effect/phenotype",
7: "biological_process",
8: "cellular_component",
9: "exposure"
}
Baselines
We evaluate the following baselines on the benchmark datasets.
Reasoning and Retrieval Baselines
| Method | Reference Paper | Description |
|---|---|---|
| GPT-4 | GPT-4 Technical Report | Uses GPT-4 with a direct-answer instruction to generate answers. |
| Random Walk | Random Walks on Graphs: A Survey | Starts from the topic entity and applies random walk to explore paths in the textual triple graph up to maximum depth d. |
| MCTS | Monte-Carlo Tree Search | Starts from the topic entity and applies Monte Carlo tree search to explore paths in the textual triple graph up to maximum depth d. In this work, d = 3. |
| Chain-of-Thought (COT) | Chain-of-Thought Prompting Elicits Reasoning in Large Language Models | Guides GPT-4 to generate answers step by step, with output formatted as step-by-step reasoning: explanation, answer: medical terms. |
| Tree-of-Thought (TOT) | Tree of Thoughts: Deliberate Problem Solving with Large Language Models | Structures reasoning as a tree search where multiple intermediate reasoning paths are explored in parallel. GPT-4 evaluates and expands promising paths using voting or scoring. |
| Graph-of-Thought (GOT) | Graph of Thoughts: Solving Elaborate Problems with Large Language Models | Represents reasoning as a graph where nodes capture reasoning states and edges denote transitions. GPT-4 traverses the graph to aggregate information and synthesize the final answer. |
| Think-on-Graph (TOG) | Think-on-Graph: Deep and Responsible Reasoning of Large Language Model with Knowledge Graph | Enables LLMs to interactively perform beam search over knowledge graphs and evaluate promising reasoning paths without additional training. |
| G-retriever | G-retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering | Retrieves query-relevant subgraphs using the Prize-Collecting Steiner Tree (PCST) algorithm to enhance LLM reasoning over textual graphs. |
| KAR | Knowledge-Aware Query Expansion with Large Language Models for Textual and Relational Retrieval | Augments LLMs with structured document relations from a knowledge graph and uses relation-aware filtering to improve retrieval for semi-structured queries. |
Supervised Retrieval Baselines
We also evaluate three representative retrieval models on our benchmark datasets and STaRK-Prime under supervised learning settings.
| Method | Reference Paper | Description |
|---|---|---|
| G-retriever | G-retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering | Retrieves query-relevant subgraphs using the Prize-Collecting Steiner Tree (PCST) algorithm to enhance LLM understanding and reasoning over textual graphs. |
| GCR | Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Models | Uses graph-constrained reasoning with document-based relational signals to improve retrieval for semi-structured queries. |
| GNN-RAG | GNN-RAG: Graph Neural Retrieval for Large Language Model Reasoning | Uses a GNN to retrieve relevant answers and extract shortest paths between the topic entity and answers, then verbalizes the paths for retrieval-augmented generation. |
Evaluation
See Evaluation/README.md for the full evaluation workflow.
1. Prepare the Gold File
Use the test split of the dataset you want to evaluate, for example:
Adint/ADint_test_with_topic_entity.json
pharmKG/pharmKG_test_QA_with_topic_entity.json
prime/Prime_test_QA_with_topic_entity.json
2. Prepare the Prediction File
The recommended prediction format is:
{"id": "0", "answers": ["sebaceous adenoma"]}
{"id": "1", "answers": ["EDN1", "EDN2"]}
The evaluator also supports instruction files with response and legacy prediction files with predicted_answers.
- Downloads last month
- 136