Simple Question (Direct)
Simple Question
Q125369
P509
Q2057971
USER
Which health problem was the cause of death of William Foulke ?
(Q125369,P509,c(Q2057971))
action filter_type
action find
entity Q125369
relation P509
type Q2057971
['Q125369', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q125369 property:P509 ?d }
William Foulke
action filter_type
action find
entity William Foulke
relation cause of death
type health problem
['William Foulke', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:William_Foulke property:cause_of_death ?d }
[]
health problem
Q147778
SYSTEM
liver cirrhosis
Q147778
(Q125369,P509,c(Q2057971))
action filter_type
action find
entity Q125369
relation P509
type Q2057971
[ANSWER] was the cause of death of William Foulke
['Q125369', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q125369 property:P509 ?d }
liver cirrhosis
Liver cirrhosis was the cause of death of William Foulke
liver cirrhosis
action filter_type
action find
entity William Foulke
relation cause of death
type health problem
['William Foulke', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:William_Foulke property:cause_of_death ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q147778
P828
Q2057971
USER
What do that one lead to ?
(c(Q2057971),P828,Q147778)
action filter_type
action find_reverse
entity Q147778
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q147778']
SELECT DISTINCT ?b WHERE { ?b property:P828 resource:Q147778 . ?b rdf:type ontology:Q2057971 }
liver cirrhosis
action filter_type
action find_reverse
entity liver cirrhosis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'liver cirrhosis']
SELECT DISTINCT ?b WHERE { ?b property:has_cause resource:liver_cirrhosis . ?b rdf:type ontology:health_problem }
[]
health problem
Q623031 Q124604
SYSTEM
liver cancer, portal hypertension
Q623031 Q124604
(c(Q2057971),P828,Q147778)
action filter_type
action find_reverse
entity Q147778
relation P828
type Q2057971
That one lead in [ANSWERS]
[{'concept': 'Q2057971'}, 'P828', 'Q147778']
SELECT DISTINCT ?b WHERE { ?b property:P828 resource:Q147778 . ?b rdf:type ontology:Q2057971 }
liver cancer portal hypertension
That one lead in liver cancer and portal hypertension
liver cancer portal hypertension
action filter_type
action find_reverse
entity liver cirrhosis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'liver cirrhosis']
SELECT DISTINCT ?b WHERE { ?b property:has_cause resource:liver_cirrhosis . ?b rdf:type ontology:health_problem }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1542
Q2057971 Q8386 Q2057971
USER
Which health problems are caused by less number of drugs and health problems than that health problem ?
(c(Q8386)|c(Q2057971),P1542,c(Q2057971))
[[{'concept': 'Q8386'}, {'concept': 'Q2057971'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1542 ?y } UNION { ?y property:P1542 ?y } } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q2057971 }
[[{'concept': 'drug'}, {'concept': 'health problem'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { { { ?z property:cause_of ?y } UNION { ?y property:cause_of ?y } } . ?z rdf:type ontology:drug . ?y rdf:type ontology:health_problem }
[]
health problem drug health problem
Comparative|More/Less|Mult. entity type|Clarification
Q124604
SYSTEM
Did you mean portal hypertension ?
(c(Q8386)|c(Q2057971),P1542,c(Q2057971))
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q2057971'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1542 ?y } UNION { ?y property:P1542 ?y } } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q2057971 }
Did you mean portal hypertension ?
portal hypertension
[[{'concept': 'drug'}, {'concept': 'health problem'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { { { ?z property:cause_of ?y } UNION { ?y property:cause_of ?y } } . ?z rdf:type ontology:drug . ?y rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
USER
No, I meant liver cancer. Could you tell me the answer for that?
(c(Q8386)|c(Q2057971),P1542,c(Q2057971))
Q623031
[[{'concept': 'Q8386'}, {'concept': 'Q2057971'}], 'P1542', {'concept': 'Q2057971'}]
[[{'concept': 'drug'}, {'concept': 'health problem'}], 'cause of', {'concept': 'health problem'}]
[]
Q35869 Q12214 Q29496
SYSTEM
asthma, smallpox, leukemia
Q2603200 Q949694 Q83319 Q2068896 Q229256 Q18554029 Q154865 Q2346396 Q188638 Q10874 Q864868 Q13452408 Q7157933 Q154869 Q3513968 Q1476027 Q2373361 Q1194496 Q5334259 Q548213 Q2447562 Q3776920 Q18555098 Q35869 Q3073142 Q243257 Q5062122 Q703961 Q614279 Q694552 Q1928978 Q835061 Q2700304 Q2845432 Q963944 Q18324719 Q160653 Q4413030 Q443929 Q2300099 Q3084532 Q738292 Q1856914 Q857667 Q846316 Q1282114 Q646664 Q3339235 Q783903 Q28693 Q4958833 Q2140729 Q393477 Q574905 Q12214 Q279330 Q2840 Q468433 Q12090 Q6159042 Q18553251 Q134649 Q18553273 Q18553252 Q2059411 Q719656 Q4690047 Q203133 Q7314317 Q823027 Q192102 Q5459411 Q12135 Q748442 Q18555101 Q319315 Q992139 Q3197774 Q327005 Q570197 Q208414 Q190564 Q576179 Q1531991 Q16242752 Q156103 Q2681162 Q154882 Q2608695 Q42982 Q852376 Q200779 Q18556080 Q353172 Q941770 Q201989 Q2397106 Q682798 Q1427959 Q3367106 Q193216 Q18558169 Q5090486 Q5445 Q12156 Q47790 Q159701 Q481392 Q190805 Q422268 Q7235947 Q18123741 Q804521 Q176741 Q2425407 Q496812 Q692536 Q3049302 Q18553274 Q18553742 Q2076966 Q979168 Q1128440 Q2879095 Q18554767 Q326643 Q5380626 Q727028 Q18553170 Q167264 Q160649 Q30953 Q4116663 Q1502312 Q18924547 Q6853 Q1054718 Q8071861 Q705906 Q11072 Q504775 Q1233526 Q178194 Q5384031 Q1030785 Q173022 Q767485 Q1048101 Q202173 Q812671 Q2589418 Q1243869 Q9430213 Q3798547 Q1416773 Q188605 Q18975031 Q18554367 Q68833 Q153861 Q105688 Q769815 Q327298 Q639776 Q1878776 Q378681 Q1290616 Q431643 Q41083 Q178436 Q2906693 Q931323 Q4366062 Q21504985 Q2868696 Q18975539 Q890200 Q1750104 Q5196693 Q31798 Q5506384 Q744387 Q18554000 Q18555271 Q895297 Q18553191 Q18554485 Q18553197 Q18553216 Q922927 Q18553198 Q970203 Q12204 Q4845643 Q101896 Q103177 Q134859 Q32446 Q12125 Q6587253 Q2741820 Q18554606 Q794086 Q585285 Q681970 Q567660 Q18556970 Q12199 Q316180 Q153356 Q1066011 Q651223 Q476921 Q12192 Q1347065 Q1432397 Q76973 Q29496 Q506616 Q7053975 Q36956 Q202758 Q21109885 Q11627066 Q18554418 Q18554419 Q18975606 Q18971555 Q18554659 Q576349 Q326638 Q154874 Q18553284 Q133780 Q1632552 Q6663796 Q1433212 Q129104 Q5274956 Q1367782 Q3902759 Q1553609
(c(Q8386)|c(Q2057971),P1542,c(Q2057971))
[ANSWERS] are caused by less number of drugs and health problems than that health problem
[[{'concept': 'Q8386'}, {'concept': 'Q2057971'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1542 ?y } UNION { ?y property:P1542 ?y } } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q2057971 }
viral pneumonia amebiasis typhoid fever drug allergy dermatitis pseudomembranous conjunctivitis botulism iritis mood disorder blindness bone marrow suppression neuropathy peanut allergy hepatitis C corneal opacity lymphangitis nut allergy scrub typhus parasitic ectoparasitic infectious disease neural tube defect balantidiasis bacterial pneumonia sensory peripheral neuropathy asthma Pontiac fever chikungunya central nervous system disease prion disease louping ill lymphogranuloma venereum viral infectious disease mastitis Bolivian hemorrhagic fever ehrlichiosis melioidosis Chapare hemorrhagic fever listeriosis wheat allergy dirofilariasis gastrointestinal system disease endemic typhus Japanese encephalitis nocardiosis pulmonary edema aplastic anemia speech disorder rickettsiosis nervous system disease contact dermatitis miscarriage Brazilian hemorrhagic fever fasciolopsiasis trench fever Clostridium difficile colitis smallpox bronchial disease influenza anosmia Cholera Japanese spotted fever wound botulism diphtheria aneruptive fever infant botulism Black piedra fascioliasis African tick-bite fever sleeping sickness reproductive system disease disseminated intravascular coagulation skin cancer Flinders Island spotted fever mental disorder methemoglobinemia tooth erosion Colorado tick fever human granulocytic anaplasmosis klebsiellosis glanders proteinuria lymphoma Huntington's disease egg allergy Parkinsonian syndrome allergic contact dermatitis gastroenteritis eye injury Legionnaires' disease movement disease type I hypersensitivity seizure genetic disease cranial nerve palsy parasitic protozoa infectious disease proctitis Lyme disease tauopathy bejel dental fluorosis parvovirus infectious disease trachoma Venezuelan equine encephalitis toxic pneumonitis anemia malaria tetanus glaucoma theileriasis heart disease actinomycosis Powassan encephalitis infectious disease bacterial vaginosis mumps Acute tubular necrosis leukopenia myopathy human monocytic ehrlichiosis sennetsu fever chromosomal disease cytomegalia brain edema toxic shock syndrome optic nerve disease Brucella melitensis brucellosis hepatitis E Entomophthoramycosis bacterial infectious disease Astrakhan spotted fever Marburg hemorrhagic fever typhus dengue fever musculoskeletal system disease polyneuropathy Rocio virus encephalitis hepatitis B kidney disease Zika fever paratyphoid fever amnestic disorder urinary bladder cancer osteosclerosis cystic fibrosis Epstein–Barr virus infection demodicosis bronchitis respiratory failure rickettsialpox hordeolum bacillary angiomatosis pasteurellosis Treponematosis borna disease Haverhill fever granuloma inguinale pulmonary emphysema basal cell carcinoma respiratory syncytial virus infectious disease bone fracture tularemia hypoxia food allergy shigellosis cat-scratch disease lymphocytic choriomeningitis peripheral artery disease epidemic typhus microcephaly syphilis constipation baritosis nephropathia epidemica Pneumococcal infection lewisite shock pain agnosia toxic encephalopathy Coagulopathy Carrion's disease Cutaneous diphtheria infection chancroid fruit allergy Rocky Mountain spotted fever Brucella suis brucellosis acute kidney failure boutonneuse fever Indian tick typhus diphtheritic peritonitis Israeli tick typhus intestinal botulism primary amebic meningoencephalitis Far Eastern spotted fever milk allergy tuberculosis rhinosporidiosis gonorrhea severe acute respiratory syndrome pertussis pulmonary fibrosis common cold Queensland tick typhus Omsk hemorrhagic fever inclusion conjunctivitis hypokalemia thrombocytopenia contagious pustular dermatitis St. Louis encephalitis optic atrophy acquired immunodeficiency syndrome Pseudorabies chlamydia cowpox pneumoconiosis kidney failure pneumonia epiglottitis Kyasanur forest disease yaws leukemia drowning Siberian tick typhus leprosy hypoglycemia chronic respiratory disease West Nile fever louse-borne relapsing fever tick-borne relapsing fever Fusobacterium infectious disease obstructive lung disease Brucella canis brucellosis brain disease Rift Valley fever yellow fever O'nyong'nyong fever plague hyperostosis Lobomycosis myositis anthrax disease dientamoebiasis Gluten related disorders white piedra Canine parvovirus
Asthma, smallpox and leukemia are caused by less number of drugs and health problems than that health problem
asthma smallpox leukemia
[[{'concept': 'drug'}, {'concept': 'health problem'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { { { ?z property:cause_of ?y } UNION { ?y property:cause_of ?y } } . ?z rdf:type ontology:drug . ?y rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q2057971 Q191067 Q732577
USER
How many health problems were discussed in atmost 148 articles and publications ?
(c(Q191067)|c(Q732577),P921,c(Q2057971))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q732577
value 148
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?u <= 148 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?a rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q191067 . ?t property:P921 ?a } UNION { ?t property:P921 ?a . ?a rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q732577 } } GROUP BY ?a } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type article
action find_reverse_tuple_counts
relation main subject
type health problem
type publication
value 148
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?u <= 148 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?a rdf:type ontology:health_problem . ?t rdf:type ontology:article . ?t property:main_subject ?a } UNION { ?t property:main_subject ?a . ?a rdf:type ontology:health_problem . ?t rdf:type ontology:publication } } GROUP BY ?a } }
[]
health problem article publication
SYSTEM
103
Q19001421 Q868137 Q748309 Q706845 Q10874 Q154869 Q131755 Q638729 Q3041498 Q18657 Q727096 Q1928978 Q495146 Q35890 Q170990 Q222634 Q1077505 Q2300099 Q154666 Q243257 Q2346415 Q12174 Q929833 Q3339235 Q572695 Q1995526 Q268667 Q213098 Q191779 Q1137767 Q551085 Q12135 Q185034 Q652744 Q187255 Q26882978 Q180913 Q1369020 Q205214 Q3378593 Q2475919 Q12152 Q12156 Q2351083 Q202387 Q41571 Q3025883 Q181257 Q8277 Q38404 Q30953 Q4116663 Q8071861 Q11072 Q47912 Q448768 Q1030785 Q183548 Q42844 Q11081 Q132971 Q83030 Q11085 Q40878 Q182413 Q431643 Q79793 Q159701 Q161790 Q1414765 Q389735 Q1112977 Q18555066 Q12202 Q12206 Q103177 Q134859 Q595010 Q128581 Q18556308 Q219102 Q1992236 Q12199 Q331283 Q12195 Q326071 Q18123741 Q1358589 Q506616 Q1526645 Q11627066 Q154878 Q133823 Q33525 Q326638 Q154874 Q280027 Q8282 Q3184856 Q190965 Q1476525 Q81867 Q2046113
(c(Q191067)|c(Q732577),P921,c(Q2057971))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q732577
value 148
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?u <= 148 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?a rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q191067 . ?t property:P921 ?a } UNION { ?t property:P921 ?a . ?a rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q732577 } } GROUP BY ?a } }
Flavivirus infectious disease coccidioidomycosis Problem gambling Lassa fever blindness hepatitis C bipolar disorder autoimmune thrombocytopenic purpura eye disease multiple personality disorder physical disorder viral infectious disease trichinosis extrinsic allergic alveolitis arthritis orofacial cleft Crimean–Congo hemorrhagic fever gastrointestinal system disease variant Creutzfeldt-Jakob disease chikungunya meningoencephalitis obesity rare disease nervous system disease Eisenmenger's syndrome traumatic brain injury atopic dermatitis progeria Gilles de la Tourette syndrome muscular dystrophy myelitis mental disorder sickle cell anemia hand, foot and mouth disease rheumatoid arthritis occupational traumatic injury bulimia nervosa von Economo's disease Guillain–Barré syndrome drug dependence subacute sclerosing panencephalitis myocardial infarction malaria disease of metabolism post-traumatic stress disorder epilepsy type 2 diabetes mellitus prostate cancer multiple sclerosis autism dengue fever musculoskeletal system disease Zika fever amnestic disorder lung cancer alveolar hydatid disease demodicosis voyeurism major depressive disorder Alzheimer's disease dyslexia dementia Parkinson's disease diarrhea substance dependence microcephaly measles glaucoma Asperger syndrome Munchausen by proxy cardiovascular disease syringomyelia relapsing-remitting multiple sclerosis stroke diabetes mellitus severe acute respiratory syndrome pertussis hypertrichosis breast cancer occupational dermatitis Cushing's syndrome enterobiasis acquired immunodeficiency syndrome leishmaniasis poliomyelitis giardiasis infectious disease HIV/AIDS in Africa drowning Surra West Nile fever toxoplasmosis migraine carcinoma Rift Valley fever yellow fever uveitis Addison's disease substance abuse transsexualism lipid metabolism disorder albino visceral leishmaniasis
103
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type article
action find_reverse_tuple_counts
relation main subject
type health problem
type publication
value 148
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?u <= 148 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?a rdf:type ontology:health_problem . ?t rdf:type ontology:article . ?t property:main_subject ?a } UNION { ?t property:main_subject ?a . ?a rdf:type ontology:health_problem . ?t rdf:type ontology:publication } } GROUP BY ?a } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q10675206 Q2057971
USER
Which ingredients causes around 1 health problem ?
(c(Q2057971),P828,c(Q10675206))
action approx
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P828 ?p . ?p rdf:type ontology:Q10675206 . ?e rdf:type ontology:Q2057971 } GROUP BY ?p } . FILTER ( ?q = 1 ) }
action approx
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:has_cause ?p . ?p rdf:type ontology:ingredient . ?e rdf:type ontology:health_problem } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]
ingredient health problem
Q8495 Q3621199
SYSTEM
milk, peanut
Q8495 Q3621199
(c(Q2057971),P828,c(Q10675206))
action approx
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
value 1
[ANSWERS] cause around 1 health problem
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P828 ?p . ?p rdf:type ontology:Q10675206 . ?e rdf:type ontology:Q2057971 } GROUP BY ?p } . FILTER ( ?q = 1 ) }
milk peanut
Milk and peanut cause around 1 health problem
milk peanut
action approx
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:has_cause ?p . ?p rdf:type ontology:ingredient . ?e rdf:type ontology:health_problem } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q220570 Q29496
P2176
Q8386
USER
Which drugs are used to cure leukemia or pulmonary embolism ?
OR((Q29496,P2176,c(Q8386)), (Q220570,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q29496
relation P2176
action find
entity Q220570
relation P2176
type Q8386
{'OR': [['Q29496', 'P2176', {'concept': 'Q8386'}], ['Q220570', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q29496 property:P2176 ?n } UNION { resource:Q220570 property:P2176 ?n } } . ?n rdf:type ontology:Q8386 }
pulmonary embolism leukemia
action filter_type
action union
action find
entity leukemia
relation drug used for treatment
action find
entity pulmonary embolism
relation drug used for treatment
type drug
{'OR': [['leukemia', 'drug used for treatment', {'concept': 'drug'}], ['pulmonary embolism', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?n WHERE { { { resource:leukemia property:drug_used_for_treatment ?n } UNION { resource:pulmonary_embolism property:drug_used_for_treatment ?n } } . ?n rdf:type ontology:drug }
[]
drug
Q185916 Q1644947 Q5984881 Q417169 Q415343 Q5134875 Q4765471 Q412685 Q422324 Q422740
SYSTEM
Some of them are fludarabine phosphate, Tenecteplase, ibrutinib, Urokinase, Etanercept, clofarabine, Anistreplase, Gemtuzumab ozogamicin, Brentuximab vedotin, propofol
Q419319 Q3617574 Q15366934 Q419940 Q1181878 Q244408 Q3950557 Q7127523 Q185916 Q420164 Q412197 Q267896 Q1592932 Q416485 Q422232 Q15366704 Q4765471 Q212272 Q412323 Q19606349 Q1851701 Q414462 Q420262 Q408977 Q5984881 Q423111 Q3151081 Q422740 Q287029 Q412685 Q418817 Q20817252 Q1644947 Q388801 Q207843 Q180983 Q415343 Q5134875 Q407431 Q412486 Q417169 Q416451 Q422324 Q410374 Q7739
OR((Q29496,P2176,c(Q8386)), (Q220570,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q29496
relation P2176
action find
entity Q220570
relation P2176
type Q8386
[ANSWERS] are used to cure leukemia or pulmonary embolism
{'OR': [['Q29496', 'P2176', {'concept': 'Q8386'}], ['Q220570', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q29496 property:P2176 ?n } UNION { resource:Q220570 property:P2176 ?n } } . ?n rdf:type ontology:Q8386 }
Bortezomib anisindione carfilzomib dasatinib decitabine diclofenac Sargramostim Palifermin fludarabine phosphate Alemtuzumab irinotecan Phenprocoumon Pegfilgrastim Streptokinase methotrexate pipobroman Anistreplase hydroxyurea Rituximab Alteplase Dalteparin apixaban rivaroxaban vincristine ibrutinib vemurafenib Filgrastim propofol Isotretinoin Gemtuzumab ozogamicin etoposide Tinzaparin Tenecteplase furosemide Nitric Oxide cytarabine Etanercept clofarabine Warfarin allopurinol Urokinase azacitidine Brentuximab vedotin Papaverine Arsenic trioxide
Fludarabine phosphate, Tenecteplase, ibrutinib, Urokinase, Etanercept, clofarabine, Anistreplase, Gemtuzumab ozogamicin, Brentuximab vedotin and propofol are used to cure leukemia or pulmonary embolism
fludarabine phosphate Tenecteplase ibrutinib Urokinase Etanercept clofarabine Anistreplase Gemtuzumab ozogamicin Brentuximab vedotin propofol
action filter_type
action union
action find
entity leukemia
relation drug used for treatment
action find
entity pulmonary embolism
relation drug used for treatment
type drug
{'OR': [['leukemia', 'drug used for treatment', {'concept': 'drug'}], ['pulmonary embolism', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?n WHERE { { { resource:leukemia property:drug_used_for_treatment ?n } UNION { resource:pulmonary_embolism property:drug_used_for_treatment ?n } } . ?n rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2176
Q8386 Q2057971
USER
How many health problems are cured by exactly 9 drugs ?
(c(Q2057971),P2176,c(Q8386))
action count
action equal
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 9
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:Q8386 . ?m rdf:type ontology:Q2057971 . ?m property:P2176 ?t } GROUP BY ?m } . FILTER ( ?h = 9 ) }
action count
action equal
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 9
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:drug . ?m rdf:type ontology:health_problem . ?m property:drug_used_for_treatment ?t } GROUP BY ?m } . FILTER ( ?h = 9 ) }
[]
drug health problem
SYSTEM
13
Q638729 Q830308 Q18554672 Q372701 Q2290446 Q949302 Q178194 Q506659 Q1054718 Q540571 Q18553940 Q3441028 Q18555066
(c(Q2057971),P2176,c(Q8386))
action count
action equal
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 9
[ANSWER]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:Q8386 . ?m rdf:type ontology:Q2057971 . ?m property:P2176 ?t } GROUP BY ?m } . FILTER ( ?h = 9 ) }
autoimmune thrombocytopenic purpura age related macular degeneration Plasmodium falciparum malaria esophageal cancer idiopathic pulmonary fibrosis skin disease cystic fibrosis prostatic adenoma kidney disease fibromyalgia gastric ulcer Norum disease relapsing-remitting multiple sclerosis
13
action count
action equal
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 9
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ontology:drug . ?m rdf:type ontology:health_problem . ?m property:drug_used_for_treatment ?t } GROUP BY ?m } . FILTER ( ?h = 9 ) }
[]