Datasets:
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
head: string
head_type: string
relation: string
tail: string
tail_type: string
properties: struct<likelihood_condition_given_symptom: string, likelihood_symptom_given_condition: string, stron (... 113 chars omitted)
child 0, likelihood_condition_given_symptom: string
child 1, likelihood_symptom_given_condition: string
child 2, strong_predictor: string
child 3, weight: string
child 4, relation_polarity: string
child 5, relation_strength: string
child 6, relation_type: string
text: string
to
{'text': 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
head: string
head_type: string
relation: string
tail: string
tail_type: string
properties: struct<likelihood_condition_given_symptom: string, likelihood_symptom_given_condition: string, stron (... 113 chars omitted)
child 0, likelihood_condition_given_symptom: string
child 1, likelihood_symptom_given_condition: string
child 2, strong_predictor: string
child 3, weight: string
child 4, relation_polarity: string
child 5, relation_strength: string
child 6, relation_type: string
text: string
to
{'text': 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.
text string |
|---|
Abdominal pain in pregnancy (Symptom) is a symptom present in Abruptio Placenta (Condition). |
Abdominal pain in pregnancy <severity> severe (Symptom) is a symptom present in Abruptio Placenta (Condition). |
Back pain (Symptom) is a symptom present in Abruptio Placenta (Condition). |
Dizziness (Symptom) is a symptom present in Abruptio Placenta (Condition). |
Reduced fetal movement (Symptom) is a symptom present in Abruptio Placenta (Condition). |
Abnormal vaginal bleeding (Symptom) is a symptom present in Abruptio Placenta (Condition). |
Abdominal pain in pregnancy <char> tender uterus (Symptom) is a symptom present in Abruptio Placenta (Condition). |
Cough <since> 5 day to 14 days (Symptom) is a symptom present in Acute bronchitis (Condition). |
Cough <since> more than 2 week (Symptom) is a symptom present in Acute bronchitis (Condition). |
Cough <char> productive cough <char> yellow sputum (Symptom) is a symptom present in Acute bronchitis (Condition). |
Fever (Symptom) is a symptom present in Acute bronchitis (Condition). |
Cough <char> productive cough (Symptom) is a symptom present in Acute bronchitis (Condition). |
Cough <char> productive cough <char> green sputum (Symptom) is a symptom present in Acute bronchitis (Condition). |
Cough (Symptom) is a symptom present in Acute bronchitis (Condition). |
Chest pain (Symptom) is a symptom present in Acute bronchitis (Condition). |
Breathlessness (Symptom) is a symptom present in Acute bronchitis (Condition). |
Wheezing (Symptom) is a symptom present in Acute bronchitis (Condition). |
Cough <pattern> Several episodes in last 3 months (Symptom) is a symptom present in Acute bronchitis (Condition). |
Cough <char> productive cough <char> blood stained (Symptom) is a symptom present in Acute bronchitis (Condition). |
Throat pain (Symptom) is a symptom present in Acute bronchitis (Condition). |
Abdominal pain <loc> upper abdomen <loc> epigastric (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Fever <onset> sudden onset (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Jaundice (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Fever (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Vomit (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain <severity> severe (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Nausea (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Malaise (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain <onset> sudden onset (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Fatigue (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain <loc> upper abdomen <loc> upper right quadrant (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain <pain> colicky pain (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain <loc> upper abdomen (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain <radiate> to right shoulder or shoulder blade (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain (Symptom) is a symptom present in Acute cholecystitis (Condition). |
Abdominal pain <loc> diffuse (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Diarrhea <char> blood in stool (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Malaise (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Diarrhea <agg by> on food intake (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Abdominal pain (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Diarrhea (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Abdominal bloating (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Abdominal pain <pain> crampy pain (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Vomit (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Abdominal pain <loc> lower abdomen <loc> lower right quadrant (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Abdominal pain <pain> colicky pain (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Abdominal pain <loc> lower abdomen (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Vomit <char> nausea present (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Diarrhea <char> rice watery stool (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Fever (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Nausea (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Vomit <char> billious vomit (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Abdominal pain <onset> sudden onset (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Dehydration (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Fatigue (Symptom) is a symptom present in Acute gastroenteritis (Condition). |
Breathlessness <agg by> exertion or exercise (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Sweating attack (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <agg by> exertion or exercise (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <lasts> 1 hour to 8 hour (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <onset> sudden onset (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <loc> substernal (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Breathlessness <severity> severe (Dyspnoea, class IV) (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Breathlessness (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Vomit <char> nausea present (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <char> pressure in chest (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <severity> severe (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <loc> retrosternal (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <pain> sharp or stabbing pain (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <radiate> to between shoulder blades (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <lasts> less than 1 hour (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Breathlessness <onset> sudden onset (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <radiate> to jaw (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Nausea (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
High blood pressure (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Numbness (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <loc> left sided (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Breathlessness <severity> moderate (Dyspnoea, class III) (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Palpitations (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest discomfort (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Cholesterol level raised above normal (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <loc> diffused (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Vomit (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Low blood pressure (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <pain> squeezing pain (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Syncope (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <radiate> to arm or shoulder (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Chest pain <radiate> radiating to neck (Symptom) is a symptom present in Acute myocardial infarction (Condition). |
Abdominal pain <radiate> to between shoulder blades (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Abdominal pain <loc> central abdomen (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Abdominal pain <rel by> on local pressure (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Vomit (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Abdominal pain <since> 1 day to 7 days (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Abdominal pain <radiate> to lower back (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Abdominal pain <rel by> on bending forward (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Abdominal pain <since> less than 1 day (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Vomit <char> bloody in vomit (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Jaundice (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Black tarry stool (Symptom) is a symptom present in Acute pancreatitis (Condition). |
Abdominal pain <loc> central abdomen <loc> left flank (Symptom) is a symptom present in Acute pancreatitis (Condition). |
BODHI-S — Condition-Symptom Knowledge Graph
Part of BODHI (Bharat Ontology for Disease & Healthcare Informatics) — open clinical knowledge graphs for grounding healthcare AI in verified medical facts.
→ Full writeup: motivation, design & use cases → GitHub (all formats: Neo4j, CSV, PyG, RDF)
What is BODHI-S?
BODHI-S maps clinical conditions to their presenting symptoms, associated medical specialities, and inter-condition risk relationships. It was built and validated by expert clinicians at Eka Care and has powered production symptom checking and differential diagnosis systems across millions of patient interactions in India.
Symptoms are modelled as compound variants — e.g. Fever, Fever with chills, Fever for 3 days — each as a distinct node, because the nuanced presentation of a symptom materially shifts the clinical probability of underlying conditions. Every node carries triage levels (emergency, worrisome, opd_managed) and demographic likelihood scores across age and gender cohorts, derived from expert consensus and normalized against Indian EHR data.
Stats
| Metric | Count |
|---|---|
| Condition nodes | 779 |
| Symptom nodes (variants) | 4,037 |
| Symptom root concepts (distinct SNOMED IDs) | 590 |
| Speciality nodes | 39 |
| Total relationships | 13,204 |
| Symptom → Condition (PRESENT_IN) | 10,352 |
| Condition → Speciality (TREATED_BY) | 1,558 |
| Condition → Condition (IS_INFLUENCED_BY) | 1,020 |
| Condition → Condition (RELATED_TO) | 221 |
| Condition → Condition (HAS_PREREQUISITE) | 53 |
Condition triage: OPD Managed 367 (47%) · Worrisome 223 (29%) · Emergency 189 (24%)
Most cross-cutting symptoms: Fever (145 conditions) · Fatigue (126) · Headache (110)
Top specialities: Internal Medicine (292) · General Physician (205) · Orthopedic (139)
Files
| File | Description |
|---|---|
triples.jsonl |
(head, relation, tail, properties) structured triples |
nl_facts.jsonl |
Natural-language fact strings, suitable for LLM fine-tuning / RAG |
For Neo4j dump, CSV, PyTorch Geometric, and RDF/Turtle formats, see the GitHub repository.
Schema (triples)
Each line in triples.jsonl:
{
"head": "<node_id>",
"head_type": "Symptom | Condition | Speciality",
"relation": "PRESENT_IN | TREATED_BY | IS_INFLUENCED_BY | HAS_PREREQUISITE | RELATED_TO",
"tail": "<node_id>",
"tail_type": "Symptom | Condition | Speciality",
"properties": { ... }
}
Standards
- SNOMED CT — all conditions and symptom root concepts carry SNOMED IDs
- Triage and demographic likelihood scores derived from Indian primary care EHR data
Use Cases
- GraphRAG — structured grounding layer for LLMs on clinical reasoning tasks
- Symptom checking & triage — deterministic, offline-capable differential diagnosis
- Specialty routing — maps any condition to the appropriate care discipline
- GNN training — heterogeneous graph with rich edge properties for graph neural networks
License
CC BY-NC 4.0 — free for non-commercial use with attribution to Eka Care.
- Downloads last month
- 35