Simple Question (Direct)
Simple Question
Q1802124
P509
Q2057971
USER
What was the cause of death of Lois Wyse ?
(Q1802124,P509,c(Q2057971))
action filter_type
action find
entity Q1802124
relation P509
type Q2057971
['Q1802124', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { resource:Q1802124 property:P509 ?e . ?e rdf:type ontology:Q2057971 }
Lois Wyse
action filter_type
action find
entity Lois Wyse
relation cause of death
type health problem
['Lois Wyse', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { resource:Lois_Wyse property:cause_of_death ?e . ?e rdf:type ontology:health_problem }
[]
health problem
Q189588
SYSTEM
stomach cancer
Q189588
(Q1802124,P509,c(Q2057971))
action filter_type
action find
entity Q1802124
relation P509
type Q2057971
The cause of death of Lois Wyse was a [ANSWER]
['Q1802124', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { resource:Q1802124 property:P509 ?e . ?e rdf:type ontology:Q2057971 }
stomach cancer
The cause of death of Lois Wyse was a stomach cancer
stomach cancer
action filter_type
action find
entity Lois Wyse
relation cause of death
type health problem
['Lois Wyse', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { resource:Lois_Wyse property:cause_of_death ?e . ?e rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q189588
P2293
Q863908
USER
Which nucleic acid sequence is genetically linked with that health problem ?
(c(Q863908),P2293,Q189588)
action filter_type
action find
entity Q189588
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q189588']
SELECT DISTINCT ?u WHERE { resource:Q189588 property:P2293 ?u . ?u rdf:type ontology:Q863908 }
stomach cancer
action filter_type
action find
entity stomach cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'stomach cancer']
SELECT DISTINCT ?u WHERE { resource:stomach_cancer property:genetic_association ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18043088
SYSTEM
LRFN2
Q18043088
(c(Q863908),P2293,Q189588)
action filter_type
action find
entity Q189588
relation P2293
type Q863908
[ANSWER] is genetically linked with that health problem
[{'concept': 'Q863908'}, 'P2293', 'Q189588']
SELECT DISTINCT ?u WHERE { resource:Q189588 property:P2293 ?u . ?u rdf:type ontology:Q863908 }
LRFN2
LRFN2 is genetically linked with that health problem
LRFN2
action filter_type
action find
entity stomach cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'stomach cancer']
SELECT DISTINCT ?u WHERE { resource:stomach_cancer property:genetic_association ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189588
P2176
Q8386
USER
Which drugs are used as a remedy for stomach cancer ?
(Q189588,P2176,c(Q8386))
action filter_type
action find
entity Q189588
relation P2176
type Q8386
['Q189588', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8386 . resource:Q189588 property:P2176 ?r }
stomach cancer
action filter_type
action find
entity stomach cancer
relation drug used for treatment
type drug
['stomach cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:drug . resource:stomach_cancer property:drug_used_for_treatment ?r }
[]
drug
Q670131 Q421052 Q422232
SYSTEM
simvastatin, Everolimus, methotrexate
Q7041828 Q7290345 Q412415 Q11711607 Q420207 Q422232 Q412963 Q238512 Q412616 Q418560 Q5462356 Q423762 Q421052 Q420436 Q412197 Q420296 Q670131
(Q189588,P2176,c(Q8386))
action filter_type
action find
entity Q189588
relation P2176
type Q8386
[ANSWERS] are used as a remedy for stomach cancer
['Q189588', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8386 . resource:Q189588 property:P2176 ?r }
Nivolumab Ramucirumab cisplatin Ixabepilone capecitabine methotrexate cabazitaxel 5-fluorouracil Trastuzumab ifosfamide floxuridine Paclitaxel Everolimus docetaxel irinotecan Cetuximab simvastatin
Simvastatin, Everolimus and methotrexate are used as a remedy for stomach cancer
simvastatin Everolimus methotrexate
action filter_type
action find
entity stomach cancer
relation drug used for treatment
type drug
['stomach cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:drug . resource:stomach_cancer property:drug_used_for_treatment ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q298230
Q8386
USER
And what about esophagitis?
(Q298230,P2176,c(Q8386))
action filter_type
action find
entity Q298230
relation P2176
type Q8386
['Q298230', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?y WHERE { resource:Q298230 property:P2176 ?y . ?y rdf:type ontology:Q8386 }
esophagitis
action filter_type
action find
entity esophagitis
relation drug used for treatment
type drug
['esophagitis', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?y WHERE { resource:esophagitis property:drug_used_for_treatment ?y . ?y rdf:type ontology:drug }
[]
drug
Q422210 Q420394 Q254296
SYSTEM
omeprazole, sucralfate, lansoprazole
Q286846 Q553223 Q422210 Q420394 Q254296
(Q298230,P2176,c(Q8386))
action filter_type
action find
entity Q298230
relation P2176
type Q8386
[ANSWERS]
['Q298230', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?y WHERE { resource:Q298230 property:P2176 ?y . ?y rdf:type ontology:Q8386 }
pantoprazole esomeprazole omeprazole sucralfate lansoprazole
omeprazole sucralfate lansoprazole
action filter_type
action find
entity esophagitis
relation drug used for treatment
type drug
['esophagitis', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?y WHERE { resource:esophagitis property:drug_used_for_treatment ?y . ?y rdf:type ontology:drug }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q208726
P2176
Q8386 Q2057971
USER
Which health problems are cured by approximately the same number of drugs as anogenital venereal wart ?
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q208726
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?x ) WHERE { ?a property:P2176 ?v . ?a rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q8386 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q208726 property:P2176 ?s . ?s rdf:type ontology:Q2057971 } } . FILTER ( ?x = ?m ) }
anogenital venereal wart
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity anogenital venereal wart
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?x ) WHERE { ?a property:drug_used_for_treatment ?v . ?a rdf:type ontology:health_problem . ?v rdf:type ontology:drug } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:anogenital_venereal_wart property:drug_used_for_treatment ?s . ?s rdf:type ontology:health_problem } } . FILTER ( ?x = ?m ) }
[]
drug health problem
Q206901 Q520127 Q2351083
SYSTEM
amyotrophic lateral sclerosis, periodontitis, disease of metabolism
Q334655 Q18553785 Q6473911 Q881855 Q1066061 Q1516211 Q188638 Q593958 Q18554545 Q941770 Q615645 Q283656 Q916280 Q5334259 Q998273 Q1640860 Q676191 Q326071 Q12656487 Q470427 Q21154326 Q6742925 Q495146 Q18555986 Q18555243 Q18557091 Q18556131 Q2085267 Q725345 Q273510 Q826103 Q147778 Q638729 Q520127 Q2661464 Q1856914 Q4330029 Q646664 Q48143 Q1343674 Q3154357 Q748309 Q16499 Q830308 Q1125160 Q980709 Q1072420 Q1137767 Q2165266 Q1934052 Q746001 Q2325854 Q9294051 Q4667072 Q208166 Q190564 Q154882 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q876887 Q187842 Q201989 Q923020 Q184084 Q2012569 Q18975720 Q18555117 Q189956 Q612681 Q611458 Q1153419 Q883863 Q47790 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18557440 Q18554909 Q1059765 Q32778 Q686574 Q18557172 Q4742183 Q954674 Q18554377 Q751631 Q3144934 Q18556002 Q448310 Q4358039 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q188605 Q189580 Q6691991 Q18555094 Q18553993 Q1048084 Q808892 Q18554672 Q1435223 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q741713 Q207087 Q4366062 Q2032041 Q587420 Q7923229 Q12202 Q401402 Q103177 Q659033 Q49970 Q201299 Q754348 Q3144201 Q18553800 Q1161568 Q23037744 Q448698 Q943897 Q186470 Q208562 Q16553613 Q3242950 Q247096 Q377978 Q324464 Q81867 Q653971 Q372701 Q83319 Q1126831 Q1359898 Q1573307 Q1424956 Q229256 Q18554846 Q182155 Q18556510 Q922411 Q2290446 Q209733 Q847057 Q221472 Q1693598 Q18553226 Q7476596 Q1527888 Q3055380 Q2300099 Q2057356 Q1713037 Q911427 Q11679861 Q18557988 Q616667 Q183392 Q18556052 Q574905 Q979168 Q18556128 Q769595 Q938107 Q18555233 Q614750 Q18556900 Q1658731 Q5380626 Q281490 Q5609817 Q6822340 Q1016605 Q187656 Q7900619 Q913856 Q378183 Q18968224 Q1585081 Q1586088 Q18553790 Q4684717 Q7644639 Q2072063 Q503629 Q4280605 Q18554119 Q1132120 Q536269 Q1898141 Q183130 Q18555343 Q1641132 Q1642170 Q8084905 Q180152 Q549534 Q1878759 Q3281322 Q709360 Q647630 Q189561 Q949302 Q939364 Q309067 Q422268 Q790971 Q223102 Q1474877 Q1149042 Q627625 Q18557394 Q7205993 Q28814 Q2076966 Q918285 Q18555043 Q6318950 Q1122485 Q1963588 Q6853 Q2339038 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 Q591256 Q18558026 Q4667534 Q303555 Q18554367 Q184674 Q2349695 Q372752 Q145790 Q16775468 Q18556468 Q18556782 Q18556461 Q1755568 Q1981276 Q178436 Q18556544 Q1623006 Q18557017 Q1369011 Q2450598 Q773118 Q165328 Q18553212 Q3547899 Q3765145 Q17119372 Q19000544 Q259626 Q18555944 Q736715 Q6807316 Q3513968 Q201180 Q18557550 Q683861 Q335555 Q265936 Q697117 Q18555301 Q476921 Q1641399 Q3360152 Q2964243 Q174589 Q18965511 Q5509169 Q6527832 Q1928978 Q154878 Q422225 Q18554412 Q18553329 Q1544989 Q1470140 Q271993 Q2046113 Q596474 Q2264130 Q18554021 Q1641483 Q1151507 Q18557946 Q707774 Q645363 Q68833 Q654485 Q917447 Q3678510 Q18555397 Q18555280 Q18557349 Q18975492 Q1146454 Q1266890 Q842428 Q18555095 Q1313510 Q18555096 Q1495661 Q1898104 Q18558101 Q388646 Q188151 Q4118581 Q178194 Q18554322 Q18558266 Q160653 Q611571 Q938205 Q857667 Q846316 Q899726 Q4833719 Q657193 Q18558195 Q868137 Q131749 Q202837 Q2346396 Q2453464 Q18556331 Q1752571 Q7578540 Q1149046 Q52848 Q356713 Q2306782 Q18554216 Q18554607 Q666980 Q1433936 Q308978 Q729735 Q570197 Q170990 Q552348 Q612108 Q16242752 Q390475 Q1365789 Q17083186 Q3508787 Q6673122 Q10863074 Q7136145 Q3985306 Q1053824 Q11039483 Q506659 Q353172 Q2726043 Q1479494 Q18555940 Q1479497 Q777087 Q18554512 Q156050 Q7581954 Q7535406 Q692536 Q3991731 Q3327495 Q22467774 Q18975047 Q1576205 Q38404 Q42982 Q114085 Q3043158 Q1054718 Q938983 Q2894827 Q177190 Q12156 Q1097957 Q925092 Q10859678 Q9390284 Q1628473 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q327298 Q2711291 Q3667186 Q18554884 Q12135 Q550455 Q708176 Q18558032 Q117121 Q174857 Q693519 Q369157 Q170518 Q959457 Q1076087 Q208726 Q121041 Q2403156 Q1144039 Q4119259 Q595010 Q506652 Q18553852 Q2000072 Q16483 Q2256736 Q540571 Q907921 Q594013 Q18556979 Q18556754 Q1362453 Q36956 Q1262161 Q18554653 Q1076481 Q7113244 Q576349 Q1344835 Q1266519 Q280027 Q18558243 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q949694 Q945930 Q18556102 Q12125 Q1891209 Q18556106 Q18555313 Q749409 Q5508825 Q1346016 Q845779 Q2360849 Q298230 Q585285 Q1102300 Q16501 Q2070695 Q7170410 Q1145668 Q489997 Q7632070 Q18555032 Q18555037 Q129104 Q578994 Q220551 Q464067 Q1209744 Q203133 Q167178 Q911386 Q3296793 Q939261 Q16935263 Q18558279 Q2840 Q18558272 Q776881 Q18556397 Q18554727 Q7204592 Q1328833 Q19000473 Q948318 Q1648484 Q193894 Q2035074 Q18556531 Q1362721 Q3392853 Q218712 Q2606101 Q644318 Q17141201 Q180913 Q6946984 Q845698 Q18555307 Q5075435 Q424247 Q890200 Q826759 Q794026 Q18554349 Q12192 Q193216 Q1137321 Q5445 Q5326887 Q797668 Q373822 Q18553940 Q1004647 Q190805 Q246068 Q804521 Q511097 Q1128440 Q966229 Q1501239 Q1526459 Q727028 Q18554460 Q1760461 Q1862972 Q3441028 Q156103 Q500816 Q3743620 Q926462 Q579527 Q83030 Q319312 Q1144618 Q18556246 Q767485 Q7861692 Q5442760 Q178190 Q1435822 Q1129007 Q1364270 Q18975031 Q82504 Q7193408 Q5282843 Q2912193 Q2092064 Q1542410 Q9294654 Q378681 Q4862390 Q124604 Q17147280 Q191779 Q1758393 Q783644 Q767327 Q18558236 Q18557816 Q724714 Q18555143 Q18553762 Q460167 Q18555061 Q18555063 Q18555066 Q531019 Q9304843 Q2421435 Q4458080 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q18557714 Q14942021 Q219102 Q112670 Q18555315 Q331283 Q165135 Q18558125 Q977090 Q18556413 Q757838 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q1483214 Q221441 Q7900616 Q424227 Q8282 Q4118166 Q2089854 Q28971
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q208726
relation P2176
type Q2057971
[ANSWERS] are cured by approximately the same number of drugs as anogenital venereal wart
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?x ) WHERE { ?a property:P2176 ?v . ?a rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q8386 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q208726 property:P2176 ?s . ?s rdf:type ontology:Q2057971 } } . FILTER ( ?x = ?m ) }
amenorrhea corneal disease herpes simplex gestational trophoblastic neoplasm diverticulitis Renal tubular acidosis mood disorder transient cerebral ischemia angle-closure glaucoma proctitis Fabry disease Dilated cardiomyopathy restless legs syndrome parasitic ectoparasitic infectious disease Smith–Lemli–Opitz syndrome hyperaldosteronism vaginitis giardiasis hymenolepiasis refractive error ariboflavinosis male reproductive system disease trichinosis pancreatic ductal carcinoma pulmonary tuberculosis microglandular adenosis thyroid carcinoma pharyngitis Kaposi's sarcoma candidiasis Reye's syndrome liver cirrhosis autoimmune thrombocytopenic purpura periodontitis glucose intolerance nocardiosis airway obstruction rickettsiosis meningitis lice infestation anterior uveitis Problem gambling hyperthyroidism age related macular degeneration pityriasis rosea status epilepticus primary biliary cirrhosis muscular dystrophy Nelson syndrome microsporidiosis Thromboangiitis obliterans Riley-Day syndrome ocular hypertension fibroma borderline personality disorder Huntington's disease Legionnaires' disease hereditary angioedema short bowel syndrome maxillary sinusitis AIDS dementia complex Takayasu's arteritis cellulitis autoimmune thyroiditis Lyme disease epidermolysis bullosa beriberi endometriosis of uterus trophoblastic neoplasm opiate dependence aphthous stomatitis anuria neuromyelitis optica interstitial lung disease blepharospasm tetanus disease of metabolism celiac disease Atypical hemolytic uremic syndrome collagen disease amyotrophic lateral sclerosis childhood cerebral astrocytoma pancreatic endocrine carcinoma periodontal disease bronchiectasis Endometrial hyperplasia follicular adenoma amelanotic melanoma iron deficiency anemia diabetic polyneuropathy pure red-cell aplasia hemochromatosis central nervous system cancer seborrheic dermatitis neuronal ceroid lipofuscinosis congenital myasthenic syndrome amyloidosis adrenal gland hyperfunction trypanosomiasis aortic disease facial paralysis pleomorphic liposarcoma cerebral infarction pyoderma pulmonary emphysema acromegaly pervasive developmental disorder central nervous system origin vertigo corneal edema opisthorchiasis Barrett's esophagus Plasmodium falciparum malaria focal segmental glomerulosclerosis cerebral malaria social phobia mouth disease epididymitis myxoid leiomyosarcoma panic disorder ectopic pregnancy Pneumococcal infection intermediate coronary syndrome Myotonia congenita vesiculobullous skin disease stroke nephritis severe acute respiratory syndrome biliary atresia hyperuricemia hairy cell leukemia Infant respiratory distress syndrome Excessive daytime sleepiness neuroretinitis Granulomatosis with polyangiits respiratory allergy Pulmonary alveolar proteinosis gastroparesis tonsillitis Marfan syndrome complex partial epilepsy kidney cancer Paracoccidioidomycosis thrombophlebitis Testicular cancer albino dyspepsia esophageal cancer typhoid fever tetralogy of Fallot cryptosporidiosis Wernicke encephalopathy Neuroleptic malignant syndrome dermatitis diffuse scleroderma herpes zoster salivary gland adenoid cystic carcinoma hypopituitarism idiopathic pulmonary fibrosis chronic fatigue syndrome retinitis pigmentosa fragile X syndrome nasopharynx carcinoma cutaneous lupus erythematosus genital herpes pancreatitis intestinal disease gastrointestinal system disease eosinophilic esophagitis membranous glomerulonephritis Behcet's disease hookworm infections subacute delirium temporal lobe epilepsy rickets nutrition disease Clostridium difficile colitis brain edema adrenal gland cancer meibomian cyst hypogonadism cervix carcinoma bronchiolitis obliterans spinal cancer Postoperative nausea and vomiting Entomophthoramycosis urinary incontinence .l. Athlete's foot metabolic bone disease Burkitt lymphoma relapsing polychondritis bladder neck obstruction Friedreich's ataxia Craniosynostosis rectum cancer malignant hyperthermia hypoparathyroidism dry eye syndrome adrenal gland disease suppression amblyopia patent ductus arteriosus osteonecrosis mansonelliasis infant gynecomastia trigeminal neuralgia phaeochromocytoma rhabdomyosarcoma gastritis causalgia malignant hypertension hemophagocytic lymphohistiocytosis autoimmune neuromuscular disease Vitiligo osteosarcoma lymphangioleiomyomatosis peroxisomal disease Von Willebrand disease premature ovarian failure narcolepsy skin disease congenital heart disease motion sickness actinomycosis Bartter disease peritonitis Hypercalcaemia cystinosis histoplasmosis embryonal cancer pneumocystosis autoimmune hemolytic anemia cytomegalia adrenocortical carcinoma prothrombin deficiency Juvenile dermatomyositis urethritis hematopoietic system disease hepatitis B Neurogenic bladder megaloblastic anemia Epstein–Barr virus infection transient tic disorder adrenal cortex cancer cholangiocarcinoma chancroid MALT lymphoma salivary gland cancer leiomyoma hypoactive sexual desire disorder respiratory syncytial virus infectious disease impotence familial lipoprotein lipase deficiency Prostatitis iridocyclitis elephantiasis vasculogenic impotence lung oat cell carcinoma histiocytoid hemangioma osteopetrosis neuroendocrine tumor constipation pituitary carcinoma keratoconjunctivitis MHC class II deficiency Familial adenomatous polyposis infective endocarditis Andersen-Tawil syndrome osteoporosis cutaneous mycosis leg ulcers ichthyosis vulgaris Haemophilus meningitis lung small cell carcinoma aspergillosis brain infarction chronic kidney disease Medullary carcinoma corneal opacity varicose veins urethral disease campylobacteriosis Sjögren's syndrome Kawasaki disease Spinal disc herniation facial dermatosis kidney failure hypoplastic left heart syndrome pachyonychia congenita hemorrhagic shock agoraphobia secondary progressive multiple sclerosis fungal meningitis lepromatous leprosy viral infectious disease toxoplasmosis actinic keratosis Plasmodium vivax malaria intestinal schistosomiasis Peutz-Jeghers syndrome cryptococcosis hyperglycemia visceral leishmaniasis Conduct disorder Trichuriasis common wart hypotrichosis dermatitis herpetiformis choline deficiency disease coronary thrombosis bursitis bone fracture malignant peripheral nerve sheath tumor inflammatory bowel disease bacterial meningitis Ewing sarcoma giant cell glioblastoma cleft palate septicemic plague IgA glomerulonephritis vascular disease ascariasis infantile epileptic encephalopathy Hypophosphatasia phosphorus metabolism disease gastrointestinal stromal tumor bone marrow cancer mechanical strabismus Dracunculiasis ischemia necatoriasis cystic fibrosis vulva cancer B- and T-cell mixed leukemia listeriosis hemorrhagic disease neuroblastoma pulmonary edema aplastic anemia Spinocerebellar ataxia B-cell lymphoma metabolic syndrome bacterial conjunctivitis coccidioidomycosis anorexia nervosa cardiac arrest iritis colitis cystoid macular edema myelofibrosis splenic disease cystinuria spondyloarthropathy Aspergilloma hypochromic anemia morbid obesity pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia decubitus ulcer chronic myeloid leukemia proteinuria arthritis eclampsia acute promyelocytic leukemia allergic contact dermatitis bilirubin metabolic disorder glycogen storage disease II obstructive sleep apnea Postencephalitic parkinsonism thyroid gland disease fatty liver disease parathyroid gland disease spastic quadriplegia Raynaud disease IgG4-related disease prostatic adenoma parasitic protozoa infectious disease chromoblastomycosis paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda echinococcosis pulmonary sarcoidosis brucellosis squamous cell papilloma skin infection myopathy thyrotoxicosis Oral candidiasis premature menopause hematologic cancer carotid artery occlusion autism type I hypersensitivity rhinitis mevalonic aciduria kidney disease osteomyelitis childhood absence epilepsy sleep disorder malaria intermittent claudication Wolff-Parkinson-White syndrome perinatal necrotizing enterocolitis Netherton syndrome corneal ulcer choroideremia arteriosclerosis obliterans alkaptonuria borderline leprosy dystonia shigellosis familial hypercholesterolemia Keratosis retinal vein occlusion mental disorder retinal disease arthropathy skin melanoma Wilson disease scoliosis essential tremor meningioma burn inappropriate ADH syndrome chondrosarcoma anogenital venereal wart appendicitis vasomotor rhinitis inguinal hernia vernal conjunctivitis hypertrichosis pyelonephritis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm fibromyalgia incontinentia pigmenti achromians Prader-Willi syndrome peripheral nervous system disease colonic disease fibrosarcoma leprosy Leber hereditary optic neuropathy peptic esophagitis choriocarcinoma ovarian disease brain disease hyperparathyroidism corneal neovascularization uveitis lingual-facial-buccal dyskinesia Extravasation hypoglycemia photosensitivity disease connective tissue benign neoplasm optic neuritis amebiasis progressive supranuclear palsy childhood medulloblastoma common cold mycosis fungoides functional colonic disease hand dermatosis osteogenesis imperfecta Functional gastrointestinal disorder pernicious anemia Fanconi's anemia strongyloidiasis esophagitis thrombocytopenia clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome hemolytic anemia diabetic angiopathy substance-related disorder factor VII deficiency hemorrhagic thrombocythemia anthrax disease parasitic helminthiasis infectious disease diabetes insipidus mycosis uterine cancer sleeping sickness scabies stomatitis Renovascular hypertension erythrasma Serratia infection tertiary neurosyphilis influenza heroin dependence Hereditary hemorrhagic telangiectasia biliary tract cancer sclerosing cholangitis pleomorphic lipoma oppositional defiant disorder subependymal giant cell astrocytoma polycythemia vera Duchenne muscular dystrophy sarcoidosis Paget's disease of bone bile duct carcinoma tuberous sclerosis lung disease Zollinger-Ellison syndrome Paranoid schizophrenia vasculitis Tinea bulimia nervosa Mycobacterium avium complex disease blepharitis leg dermatosis alopecia areata acute intermittent porphyria Coagulopathy status asthmaticus Azoospermia urethral obstruction pneumonia trachoma onchocerciasis anemia early myoclonic encephalopathy babesiosis eating disorder gastric ulcer bullous pemphigoid heart disease cysticercosis bacterial vaginosis psoriatic arthritis toxic shock syndrome myxedema insulinoma pyoderma gangrenosum bacterial infectious disease brain cancer ovarian hyperstimulation syndrome pterygium Norum disease gastroenteritis polycystic ovary syndrome cannabis dependence pityriasis versicolor pulmonary valve stenosis dementia premature ejaculation familial Mediterranean fever coronary restenosis respiratory failure tyrosinemia type III female reproductive system disease obsessive-compulsive disorder neutropenia Angioedema hypertrophic cardiomyopathy basal cell carcinoma endocarditis pigmentation disease Distal muscular dystrophy esophageal disease hemophilia A thrombocytosis alcoholic polyneuropathy peripheral artery disease brain ischemia portal hypertension Myoclonic epilepsy Gilles de la Tourette syndrome inherited metabolic disorder Lynch syndrome Sporotrichosis neonatal abstinence syndrome olfactory groove meningioma Romano–Ward syndrome benign mesothelioma migraine with aura Meniere's disease colonic benign neoplasm West Nile encephalitis relapsing-remitting multiple sclerosis Aortic valve stenosis medullomyoblastoma pre-eclampsia thyroid crisis laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease epilepsy with generalized tonic-clonic seizures Auto-brewery syndrome Cushing's syndrome Mastocytosis skin benign neoplasm leishmaniasis goiter intracranial hypertension vulvovaginal candidiasis familial retinoblastoma keratitis dysentery bone disease suppurative otitis media bone marrow disease auditory system disease benign neonatal seizures central sleep apnea pemphigus pellagra bladder disease bronchiolitis Addison's disease Polyostotic fibrous dysplasia hemosiderosis impetigo
Amyotrophic lateral sclerosis, periodontitis and disease of metabolism are cured by approximately the same number of drugs as anogenital venereal wart
amyotrophic lateral sclerosis periodontitis disease of metabolism
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity anogenital venereal wart
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?x ) WHERE { ?a property:drug_used_for_treatment ?v . ?a rdf:type ontology:health_problem . ?v rdf:type ontology:drug } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:anogenital_venereal_wart property:drug_used_for_treatment ?s . ?s rdf:type ontology:health_problem } } . FILTER ( ?x = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q8084905
P2176
Q8386 Q2057971
USER
And what about autoimmune neuromuscular disease?
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q8084905
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?f property:P2176 ?e . ?e rdf:type ontology:Q8386 . ?f rdf:type ontology:Q2057971 } GROUP BY ?f } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q8084905 property:P2176 ?t . ?t rdf:type ontology:Q2057971 } } }
autoimmune neuromuscular disease
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity autoimmune neuromuscular disease
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?f property:drug_used_for_treatment ?e . ?e rdf:type ontology:drug . ?f rdf:type ontology:health_problem } GROUP BY ?f } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:autoimmune_neuromuscular_disease property:drug_used_for_treatment ?t . ?t rdf:type ontology:health_problem } } }
[]
drug health problem
Q206901 Q520127 Q154869
SYSTEM
amyotrophic lateral sclerosis, periodontitis, hepatitis C
Q334655 Q18553785 Q6473911 Q881855 Q1066061 Q1516211 Q188638 Q593958 Q18554545 Q941770 Q615645 Q283656 Q916280 Q5334259 Q998273 Q1640860 Q676191 Q326071 Q12656487 Q470427 Q21154326 Q6742925 Q495146 Q18555986 Q18555243 Q18557091 Q18556131 Q2085267 Q725345 Q273510 Q826103 Q147778 Q638729 Q520127 Q2661464 Q1856914 Q4330029 Q646664 Q48143 Q1343674 Q3154357 Q748309 Q16499 Q830308 Q1125160 Q980709 Q1072420 Q1137767 Q2165266 Q18968110 Q1934052 Q746001 Q2325854 Q185034 Q9294051 Q4667072 Q208166 Q190564 Q154882 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q876887 Q187842 Q201989 Q923020 Q184084 Q2012569 Q18975720 Q18555117 Q189956 Q612681 Q611458 Q1153419 Q883863 Q47790 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18557440 Q18554909 Q1059765 Q32778 Q41478 Q686574 Q18557172 Q4742183 Q954674 Q18554377 Q751631 Q3144934 Q504775 Q18556002 Q448310 Q4358039 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q188605 Q189580 Q6691991 Q18555094 Q18553993 Q1048084 Q808892 Q18554672 Q1435223 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q741713 Q207087 Q4366062 Q2032041 Q587420 Q7923229 Q12202 Q401402 Q133087 Q103177 Q659033 Q49970 Q201299 Q754348 Q3144201 Q18553800 Q1161568 Q23037744 Q448698 Q943897 Q186470 Q208562 Q16553613 Q3242950 Q247096 Q377978 Q324464 Q81867 Q653971 Q372701 Q83319 Q1126831 Q1359898 Q1573307 Q1424956 Q229256 Q18554846 Q182155 Q18556510 Q922411 Q2290446 Q209733 Q847057 Q221472 Q1693598 Q18553226 Q5340515 Q7476596 Q1527888 Q3055380 Q2300099 Q838966 Q2057356 Q1713037 Q911427 Q954625 Q11679861 Q18557988 Q616667 Q183392 Q18556052 Q574905 Q979168 Q18556128 Q769595 Q938107 Q18555233 Q614750 Q18556900 Q18971509 Q1658731 Q5380626 Q281490 Q5609817 Q6822340 Q1016605 Q187656 Q18555302 Q7900619 Q913856 Q929737 Q378183 Q18968224 Q1585081 Q1586088 Q18553790 Q4684717 Q7644639 Q2072063 Q503629 Q4280605 Q18554119 Q1132120 Q536269 Q1898141 Q183130 Q18555343 Q1641132 Q1642170 Q8084905 Q180152 Q549534 Q1878759 Q3281322 Q709360 Q647630 Q189561 Q949302 Q939364 Q309067 Q422268 Q790971 Q223102 Q1474877 Q1149042 Q627625 Q18557394 Q7205993 Q28814 Q2076966 Q918285 Q18555043 Q6318950 Q1122485 Q1963588 Q6853 Q2339038 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 Q591256 Q18558026 Q4667534 Q303555 Q18554367 Q184674 Q2349695 Q372752 Q145790 Q16775468 Q18556468 Q18556782 Q18556461 Q1755568 Q1981276 Q178436 Q18556544 Q1623006 Q18557017 Q1369011 Q2450598 Q773118 Q165328 Q18553212 Q3547899 Q18975905 Q3765145 Q17119372 Q19000544 Q259626 Q18555944 Q736715 Q6807316 Q3513968 Q201180 Q18557550 Q683861 Q335555 Q265936 Q697117 Q18555301 Q476921 Q1641399 Q3360152 Q2964243 Q174589 Q18965511 Q5509169 Q6527832 Q1928978 Q154878 Q133823 Q422225 Q18554412 Q18553329 Q1544989 Q1470140 Q271993 Q2046113 Q596474 Q2264130 Q18554021 Q1641483 Q1151507 Q18557946 Q707774 Q645363 Q68833 Q654485 Q917447 Q3678510 Q18555397 Q18555280 Q18557349 Q18975492 Q1146454 Q1266890 Q842428 Q18555095 Q1313510 Q18555096 Q1495661 Q1898104 Q18558101 Q388646 Q188151 Q4118581 Q178194 Q18554322 Q18558266 Q160653 Q611571 Q938205 Q857667 Q846316 Q899726 Q4833719 Q657193 Q18558195 Q868137 Q131749 Q202837 Q2346396 Q2453464 Q18556331 Q1752571 Q7578540 Q1149046 Q52848 Q356713 Q2306782 Q18554216 Q18554607 Q666980 Q1433936 Q308978 Q729735 Q570197 Q170990 Q552348 Q631361 Q612108 Q16242752 Q390475 Q1365789 Q17083186 Q3508787 Q6673122 Q10863074 Q7136145 Q3985306 Q1053824 Q11039483 Q506659 Q18555222 Q353172 Q2726043 Q18556933 Q1479494 Q18555940 Q1479497 Q777087 Q18554512 Q156050 Q7581954 Q7535406 Q692536 Q3991731 Q3327495 Q22467774 Q18975047 Q1576205 Q38404 Q42982 Q114085 Q3043158 Q1054718 Q938983 Q2894827 Q177190 Q12156 Q1097957 Q925092 Q10859678 Q9390284 Q18557827 Q1628473 Q33525 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q327298 Q2711291 Q3667186 Q18554884 Q12135 Q550455 Q708176 Q18558032 Q117121 Q174857 Q693519 Q369157 Q170518 Q959457 Q1076087 Q208726 Q121041 Q2403156 Q179399 Q1144039 Q4119259 Q595010 Q506652 Q18553852 Q2000072 Q16483 Q2256736 Q540571 Q907921 Q594013 Q18556979 Q18556754 Q1362453 Q36956 Q1262161 Q18554653 Q1076481 Q7113244 Q576349 Q1344835 Q1266519 Q280027 Q18558243 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q949694 Q945930 Q18556102 Q12125 Q1891209 Q18556106 Q18555313 Q749409 Q5508825 Q1346016 Q845779 Q2360849 Q298230 Q154869 Q585285 Q1102300 Q16501 Q2070695 Q7170410 Q1145668 Q489997 Q7632070 Q18555032 Q18555037 Q129104 Q578994 Q220551 Q464067 Q1209744 Q203133 Q167178 Q911386 Q3296793 Q939261 Q16935263 Q18558279 Q2840 Q18558272 Q776881 Q18556397 Q18554727 Q7204592 Q1328833 Q19000473 Q948318 Q1648484 Q193894 Q2035074 Q18556531 Q1362721 Q3392853 Q218712 Q2606101 Q153356 Q644318 Q17141201 Q180913 Q6946984 Q845698 Q18555307 Q5075435 Q424247 Q890200 Q826759 Q794026 Q18554349 Q12192 Q193216 Q1137321 Q5445 Q5326887 Q797668 Q373822 Q18553940 Q1004647 Q190805 Q246068 Q202387 Q804521 Q511097 Q1128440 Q966229 Q1501239 Q1526459 Q727028 Q18554460 Q1760461 Q1862972 Q3441028 Q156103 Q500816 Q3743620 Q926462 Q579527 Q83030 Q319312 Q1144618 Q18556246 Q767485 Q7861692 Q5442760 Q178190 Q1435822 Q1129007 Q1364270 Q18975031 Q82504 Q7193408 Q5282843 Q2912193 Q2092064 Q1542410 Q9294654 Q378681 Q4862390 Q124604 Q17147280 Q191779 Q1758393 Q783644 Q767327 Q18558236 Q18557816 Q724714 Q18555143 Q18553762 Q460167 Q18555061 Q18555063 Q18555066 Q531019 Q9304843 Q2421435 Q4458080 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q18557714 Q14942021 Q8285 Q219102 Q112670 Q18555315 Q331283 Q165135 Q18553444 Q18558125 Q977090 Q18556413 Q757838 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q1483214 Q221441 Q7900616 Q424227 Q8282 Q4118166 Q2089854 Q28971
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q8084905
relation P2176
type Q2057971
[ANSWERS]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?f property:P2176 ?e . ?e rdf:type ontology:Q8386 . ?f rdf:type ontology:Q2057971 } GROUP BY ?f } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q8084905 property:P2176 ?t . ?t rdf:type ontology:Q2057971 } } }
amenorrhea corneal disease herpes simplex gestational trophoblastic neoplasm diverticulitis Renal tubular acidosis mood disorder transient cerebral ischemia angle-closure glaucoma proctitis Fabry disease Dilated cardiomyopathy restless legs syndrome parasitic ectoparasitic infectious disease Smith–Lemli–Opitz syndrome hyperaldosteronism vaginitis giardiasis hymenolepiasis refractive error ariboflavinosis male reproductive system disease trichinosis pancreatic ductal carcinoma pulmonary tuberculosis microglandular adenosis thyroid carcinoma pharyngitis Kaposi's sarcoma candidiasis Reye's syndrome liver cirrhosis autoimmune thrombocytopenic purpura periodontitis glucose intolerance nocardiosis airway obstruction rickettsiosis meningitis lice infestation anterior uveitis Problem gambling hyperthyroidism age related macular degeneration pityriasis rosea status epilepticus primary biliary cirrhosis muscular dystrophy Nelson syndrome duodenal ulcer microsporidiosis Thromboangiitis obliterans Riley-Day syndrome sickle cell anemia ocular hypertension fibroma borderline personality disorder Huntington's disease Legionnaires' disease hereditary angioedema short bowel syndrome maxillary sinusitis AIDS dementia complex Takayasu's arteritis cellulitis autoimmune thyroiditis Lyme disease epidermolysis bullosa beriberi endometriosis of uterus trophoblastic neoplasm opiate dependence aphthous stomatitis anuria neuromyelitis optica interstitial lung disease blepharospasm tetanus disease of metabolism celiac disease Atypical hemolytic uremic syndrome collagen disease amyotrophic lateral sclerosis childhood cerebral astrocytoma pancreatic endocrine carcinoma periodontal disease bronchiectasis hemorrhoid Endometrial hyperplasia follicular adenoma amelanotic melanoma iron deficiency anemia diabetic polyneuropathy pure red-cell aplasia hemochromatosis urinary bladder cancer central nervous system cancer seborrheic dermatitis neuronal ceroid lipofuscinosis congenital myasthenic syndrome amyloidosis adrenal gland hyperfunction trypanosomiasis aortic disease facial paralysis pleomorphic liposarcoma cerebral infarction pyoderma pulmonary emphysema acromegaly pervasive developmental disorder central nervous system origin vertigo corneal edema opisthorchiasis Barrett's esophagus Plasmodium falciparum malaria focal segmental glomerulosclerosis cerebral malaria social phobia mouth disease epididymitis myxoid leiomyosarcoma panic disorder ectopic pregnancy Pneumococcal infection intermediate coronary syndrome Myotonia congenita vesiculobullous skin disease stroke nephritis gout severe acute respiratory syndrome biliary atresia hyperuricemia hairy cell leukemia Infant respiratory distress syndrome Excessive daytime sleepiness neuroretinitis Granulomatosis with polyangiits respiratory allergy Pulmonary alveolar proteinosis gastroparesis tonsillitis Marfan syndrome complex partial epilepsy kidney cancer Paracoccidioidomycosis thrombophlebitis Testicular cancer albino dyspepsia esophageal cancer typhoid fever tetralogy of Fallot cryptosporidiosis Wernicke encephalopathy Neuroleptic malignant syndrome dermatitis diffuse scleroderma herpes zoster salivary gland adenoid cystic carcinoma hypopituitarism idiopathic pulmonary fibrosis chronic fatigue syndrome retinitis pigmentosa fragile X syndrome nasopharynx carcinoma cutaneous lupus erythematosus systemic scleroderma genital herpes pancreatitis intestinal disease gastrointestinal system disease irritable bowel syndrome eosinophilic esophagitis membranous glomerulonephritis Behcet's disease myelodysplastic syndrome hookworm infections subacute delirium temporal lobe epilepsy rickets nutrition disease Clostridium difficile colitis brain edema adrenal gland cancer meibomian cyst hypogonadism cervix carcinoma bronchiolitis obliterans spinal cancer focal epilepsy Postoperative nausea and vomiting Entomophthoramycosis urinary incontinence .l. Athlete's foot metabolic bone disease Burkitt lymphoma relapsing polychondritis scalp dermatosis bladder neck obstruction Friedreich's ataxia liver disease Craniosynostosis rectum cancer malignant hyperthermia hypoparathyroidism dry eye syndrome adrenal gland disease suppression amblyopia patent ductus arteriosus osteonecrosis mansonelliasis infant gynecomastia trigeminal neuralgia phaeochromocytoma rhabdomyosarcoma gastritis causalgia malignant hypertension hemophagocytic lymphohistiocytosis autoimmune neuromuscular disease Vitiligo osteosarcoma lymphangioleiomyomatosis peroxisomal disease Von Willebrand disease premature ovarian failure narcolepsy skin disease congenital heart disease motion sickness actinomycosis Bartter disease peritonitis Hypercalcaemia cystinosis histoplasmosis embryonal cancer pneumocystosis autoimmune hemolytic anemia cytomegalia adrenocortical carcinoma prothrombin deficiency Juvenile dermatomyositis urethritis hematopoietic system disease hepatitis B Neurogenic bladder megaloblastic anemia Epstein–Barr virus infection transient tic disorder adrenal cortex cancer cholangiocarcinoma chancroid MALT lymphoma salivary gland cancer leiomyoma hypoactive sexual desire disorder respiratory syncytial virus infectious disease impotence familial lipoprotein lipase deficiency Prostatitis iridocyclitis elephantiasis vasculogenic impotence lung oat cell carcinoma histiocytoid hemangioma osteopetrosis neuroendocrine tumor constipation pituitary carcinoma keratoconjunctivitis MHC class II deficiency Familial adenomatous polyposis infective endocarditis Andersen-Tawil syndrome osteoporosis cutaneous mycosis leg ulcers collecting duct carcinoma ichthyosis vulgaris Haemophilus meningitis lung small cell carcinoma aspergillosis brain infarction chronic kidney disease Medullary carcinoma corneal opacity varicose veins urethral disease campylobacteriosis Sjögren's syndrome Kawasaki disease Spinal disc herniation facial dermatosis kidney failure hypoplastic left heart syndrome pachyonychia congenita hemorrhagic shock agoraphobia secondary progressive multiple sclerosis fungal meningitis lepromatous leprosy viral infectious disease toxoplasmosis migraine actinic keratosis Plasmodium vivax malaria intestinal schistosomiasis Peutz-Jeghers syndrome cryptococcosis hyperglycemia visceral leishmaniasis Conduct disorder Trichuriasis common wart hypotrichosis dermatitis herpetiformis choline deficiency disease coronary thrombosis bursitis bone fracture malignant peripheral nerve sheath tumor inflammatory bowel disease bacterial meningitis Ewing sarcoma giant cell glioblastoma cleft palate septicemic plague IgA glomerulonephritis vascular disease ascariasis infantile epileptic encephalopathy Hypophosphatasia phosphorus metabolism disease gastrointestinal stromal tumor bone marrow cancer mechanical strabismus Dracunculiasis ischemia necatoriasis cystic fibrosis vulva cancer B- and T-cell mixed leukemia listeriosis hemorrhagic disease neuroblastoma pulmonary edema aplastic anemia Spinocerebellar ataxia B-cell lymphoma metabolic syndrome bacterial conjunctivitis coccidioidomycosis anorexia nervosa cardiac arrest iritis colitis cystoid macular edema myelofibrosis splenic disease cystinuria spondyloarthropathy Aspergilloma hypochromic anemia morbid obesity pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia decubitus ulcer chronic myeloid leukemia proteinuria arthritis eclampsia diabetic retinopathy acute promyelocytic leukemia allergic contact dermatitis bilirubin metabolic disorder glycogen storage disease II obstructive sleep apnea Postencephalitic parkinsonism thyroid gland disease fatty liver disease parathyroid gland disease spastic quadriplegia Raynaud disease IgG4-related disease prostatic adenoma endometrial carcinoma parasitic protozoa infectious disease chromoblastomycosis cribriform carcinoma paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda echinococcosis pulmonary sarcoidosis brucellosis squamous cell papilloma skin infection myopathy thyrotoxicosis Oral candidiasis premature menopause hematologic cancer carotid artery occlusion autism type I hypersensitivity rhinitis mevalonic aciduria kidney disease osteomyelitis childhood absence epilepsy sleep disorder malaria intermittent claudication Wolff-Parkinson-White syndrome perinatal necrotizing enterocolitis Netherton syndrome cocaine abuse corneal ulcer carcinoma choroideremia arteriosclerosis obliterans alkaptonuria borderline leprosy dystonia shigellosis familial hypercholesterolemia Keratosis retinal vein occlusion mental disorder retinal disease arthropathy skin melanoma Wilson disease scoliosis essential tremor meningioma burn inappropriate ADH syndrome chondrosarcoma anogenital venereal wart appendicitis vasomotor rhinitis infertility inguinal hernia vernal conjunctivitis hypertrichosis pyelonephritis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm fibromyalgia incontinentia pigmenti achromians Prader-Willi syndrome peripheral nervous system disease colonic disease fibrosarcoma leprosy Leber hereditary optic neuropathy peptic esophagitis choriocarcinoma ovarian disease brain disease hyperparathyroidism corneal neovascularization uveitis lingual-facial-buccal dyskinesia Extravasation hypoglycemia photosensitivity disease connective tissue benign neoplasm optic neuritis amebiasis progressive supranuclear palsy childhood medulloblastoma common cold mycosis fungoides functional colonic disease hand dermatosis osteogenesis imperfecta Functional gastrointestinal disorder pernicious anemia Fanconi's anemia strongyloidiasis esophagitis hepatitis C thrombocytopenia clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome hemolytic anemia diabetic angiopathy substance-related disorder factor VII deficiency hemorrhagic thrombocythemia anthrax disease parasitic helminthiasis infectious disease diabetes insipidus mycosis uterine cancer sleeping sickness scabies stomatitis Renovascular hypertension erythrasma Serratia infection tertiary neurosyphilis influenza heroin dependence Hereditary hemorrhagic telangiectasia biliary tract cancer sclerosing cholangitis pleomorphic lipoma oppositional defiant disorder subependymal giant cell astrocytoma polycythemia vera Duchenne muscular dystrophy sarcoidosis Paget's disease of bone bile duct carcinoma tuberous sclerosis lung disease Zollinger-Ellison syndrome Paranoid schizophrenia chlamydia vasculitis Tinea bulimia nervosa Mycobacterium avium complex disease blepharitis leg dermatosis alopecia areata acute intermittent porphyria Coagulopathy status asthmaticus Azoospermia urethral obstruction pneumonia trachoma onchocerciasis anemia early myoclonic encephalopathy babesiosis eating disorder gastric ulcer bullous pemphigoid heart disease cysticercosis post-traumatic stress disorder bacterial vaginosis psoriatic arthritis toxic shock syndrome myxedema insulinoma pyoderma gangrenosum bacterial infectious disease brain cancer ovarian hyperstimulation syndrome pterygium Norum disease gastroenteritis polycystic ovary syndrome cannabis dependence pityriasis versicolor pulmonary valve stenosis dementia premature ejaculation familial Mediterranean fever coronary restenosis respiratory failure tyrosinemia type III female reproductive system disease obsessive-compulsive disorder neutropenia Angioedema hypertrophic cardiomyopathy basal cell carcinoma endocarditis pigmentation disease Distal muscular dystrophy esophageal disease hemophilia A thrombocytosis alcoholic polyneuropathy peripheral artery disease brain ischemia portal hypertension Myoclonic epilepsy Gilles de la Tourette syndrome inherited metabolic disorder Lynch syndrome Sporotrichosis neonatal abstinence syndrome olfactory groove meningioma Romano–Ward syndrome benign mesothelioma migraine with aura Meniere's disease colonic benign neoplasm West Nile encephalitis relapsing-remitting multiple sclerosis Aortic valve stenosis medullomyoblastoma pre-eclampsia thyroid crisis laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease epilepsy with generalized tonic-clonic seizures Auto-brewery syndrome myasthenia gravis Cushing's syndrome Mastocytosis skin benign neoplasm leishmaniasis goiter nicotine dependence intracranial hypertension vulvovaginal candidiasis familial retinoblastoma keratitis dysentery bone disease suppurative otitis media bone marrow disease auditory system disease benign neonatal seizures central sleep apnea pemphigus pellagra bladder disease bronchiolitis Addison's disease Polyostotic fibrous dysplasia hemosiderosis impetigo
amyotrophic lateral sclerosis periodontitis hepatitis C
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity autoimmune neuromuscular disease
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?f property:drug_used_for_treatment ?e . ?e rdf:type ontology:drug . ?f rdf:type ontology:health_problem } GROUP BY ?f } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:autoimmune_neuromuscular_disease property:drug_used_for_treatment ?t . ?t rdf:type ontology:health_problem } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1542
Q2057971 Q2057971 Q2424752
USER
How many health problems do less number of health problems or products result in than that health problem ?
(c(Q2057971)|c(Q2424752),P1542,c(Q2057971))
[[{'concept': 'Q2057971'}, {'concept': 'Q2424752'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1542 ?z } UNION { ?y property:P1542 ?z } } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q21013285 }
[[{'concept': 'health problem'}, {'concept': 'product'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cause_of ?z } UNION { ?y property:cause_of ?z } } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:product }
[]
health problem health problem product
Comparative|Count over More/Less|Mult. entity type|Clarification
Q154869
SYSTEM
Did you mean hepatitis C ?
(c(Q2057971)|c(Q2424752),P1542,c(Q2057971))
[ANSWER]
[[{'concept': 'Q2057971'}, {'concept': 'Q2424752'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1542 ?z } UNION { ?y property:P1542 ?z } } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q21013285 }
Did you mean hepatitis C ?
hepatitis C
[[{'concept': 'health problem'}, {'concept': 'product'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cause_of ?z } UNION { ?y property:cause_of ?z } } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:product }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2057971)|c(Q2424752),P1542,c(Q2057971))
[[{'concept': 'Q2057971'}, {'concept': 'Q2424752'}], 'P1542', {'concept': 'Q2057971'}]
[[{'concept': 'health problem'}, {'concept': 'product'}], 'cause of', {'concept': 'health problem'}]
[]
SYSTEM
0
(c(Q2057971)|c(Q2424752),P1542,c(Q2057971))
[ANSWER]
[[{'concept': 'Q2057971'}, {'concept': 'Q2424752'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1542 ?z } UNION { ?y property:P1542 ?z } } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q21013285 }
0
[[{'concept': 'health problem'}, {'concept': 'product'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cause_of ?z } UNION { ?y property:cause_of ?z } } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:product }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q2057971 Q3839081
USER
How many disasters do atleast 1 health problem lead to ?
(c(Q3839081),P828,c(Q2057971))
action count
action atleast
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
value 1
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?e property:P828 ?m . ?e rdf:type ontology:Q3839081 . ?m rdf:type ontology:Q2057971 } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
action count
action atleast
action find_tuple_counts
relation has cause
type disaster
type health problem
value 1
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?e property:has_cause ?m . ?e rdf:type ontology:disaster . ?m rdf:type ontology:health_problem } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
[]
health problem disaster
SYSTEM
5
Q1470579 Q3589134 Q3589133 Q2036106 Q2035019
(c(Q3839081),P828,c(Q2057971))
action count
action atleast
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
value 1
[ANSWER]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?e property:P828 ?m . ?e rdf:type ontology:Q3839081 . ?m rdf:type ontology:Q2057971 } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
Otter Valley polio epidemic measles epidemic France 2008 chikungunya epidemic on Réunion Polio Epidemic 1916 1854 Broad Street cholera outbreak
5
action count
action atleast
action find_tuple_counts
relation has cause
type disaster
type health problem
value 1
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?e property:has_cause ?m . ?e rdf:type ontology:disaster . ?m rdf:type ontology:health_problem } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q14375936
P828
Q2057971 Q2057971
USER
Which health problems do more number of health problems cause than hyperinsulinism ?
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q14375936
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?u ) WHERE { ?o property:P828 ?d . ?o rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q2057971 } GROUP BY ?o } . FILTER ( ?u > ?y ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q14375936 property:P828 ?t . ?t rdf:type ontology:Q2057971 } } }
hyperinsulinism
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity hyperinsulinism
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?u ) WHERE { ?o property:has_cause ?d . ?o rdf:type ontology:health_problem . ?d rdf:type ontology:health_problem } GROUP BY ?o } . FILTER ( ?u > ?y ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:hyperinsulinism property:has_cause ?t . ?t rdf:type ontology:health_problem } } }
[]
health problem health problem
Q127724 Q1097957 Q124604
SYSTEM
cataract, intermittent claudication, portal hypertension
Q127724 Q1097957 Q124604 Q16775468 Q18558134
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q14375936
relation P828
type Q2057971
[ANSWERS] more number of health problems cause than hyperinsulinism
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?u ) WHERE { ?o property:P828 ?d . ?o rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q2057971 } GROUP BY ?o } . FILTER ( ?u > ?y ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q14375936 property:P828 ?t . ?t rdf:type ontology:Q2057971 } } }
cataract intermittent claudication portal hypertension elephantiasis exposure keratitis
Cataract, intermittent claudication and portal hypertension more number of health problems cause than hyperinsulinism
cataract intermittent claudication portal hypertension
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity hyperinsulinism
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?u ) WHERE { ?o property:has_cause ?d . ?o rdf:type ontology:health_problem . ?d rdf:type ontology:health_problem } GROUP BY ?o } . FILTER ( ?u > ?y ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:hyperinsulinism property:has_cause ?t . ?t rdf:type ontology:health_problem } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q155098
P828
Q2057971 Q2057971
USER
And how about leptospirosis?
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q155098
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?e ) WHERE { ?x property:P828 ?o . ?x rdf:type ontology:Q2057971 . ?o rdf:type ontology:Q2057971 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q155098 property:P828 ?l . ?l rdf:type ontology:Q2057971 } } . FILTER ( ?e > ?p ) }
leptospirosis
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity leptospirosis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?e ) WHERE { ?x property:has_cause ?o . ?x rdf:type ontology:health_problem . ?o rdf:type ontology:health_problem } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:leptospirosis property:has_cause ?l . ?l rdf:type ontology:health_problem } } . FILTER ( ?e > ?p ) }
[]
health problem health problem
Q47912 Q147778 Q127724
SYSTEM
lung cancer, liver cirrhosis, cataract
Q147778 Q623031 Q52856 Q127724 Q19972185 Q18555052 Q5038165 Q1097957 Q3153686 Q16831900 Q124604 Q4366062 Q4797639 Q1713499 Q16242812 Q1693598 Q1890194 Q1016605 Q18557427 Q7205992 Q2339038 Q18395602 Q2933021 Q16775468 Q1409081 Q1724539 Q6279182 Q585011 Q3089469 Q47912 Q14375936 Q9376235 Q17126040 Q18558134 Q632522 Q4651856 Q7850856 Q18554229 Q5182155 Q3508771 Q3108587 Q298278 Q826522 Q18558124 Q18554306
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q155098
relation P828
type Q2057971
[ANSWERS]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?e ) WHERE { ?x property:P828 ?o . ?x rdf:type ontology:Q2057971 . ?o rdf:type ontology:Q2057971 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q155098 property:P828 ?l . ?l rdf:type ontology:Q2057971 } } . FILTER ( ?e > ?p ) }
liver cirrhosis liver cancer Diabetic foot cataract Tubo-ovarian abscess malt worker's lung Carcinoma ex-pleomorphic adenoma intermittent claudication Toluene toxicity intracranial hypotension portal hypertension Pneumococcal infection arthritis mutilans megaesophagus Amalgam tattoo nasopharynx carcinoma nutritional deficiency disease Burkitt lymphoma pancreatic cholera Pneumococcal pneumonia Neurogenic bladder Vitreous touch syndrome caffeine intoxication elephantiasis fetal nicotine spectrum disorder Congenital rubella syndrome epileptic seizure Antley-Bixler syndrome sequelae lung cancer hyperinsulinism endolymphatic hydrops Transfusion associated circulatory overload exposure keratitis bacteriuria AIDS-related lymphoma pericardial tuberculosis kernicterus due to isoimmunization Craniotabes neuro-anemia syndrome pigmentary glaucoma esophageal varix thyroid cancer allergic asthma endocrine exophthalmos
lung cancer liver cirrhosis cataract
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity leptospirosis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?e ) WHERE { ?x property:has_cause ?o . ?x rdf:type ontology:health_problem . ?o rdf:type ontology:health_problem } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:leptospirosis property:has_cause ?l . ?l rdf:type ontology:health_problem } } . FILTER ( ?e > ?p ) }
[]