Simple Question (Direct)
Simple Question
Q1017087
P1412
Q34770
USER
Which language does Burt Topper speak in ?
(Q1017087,P1412,c(Q34770))
action filter_type
action find
entity Q1017087
relation P1412
type Q34770
['Q1017087', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1017087 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Burt Topper
action filter_type
action find
entity Burt Topper
relation languages spoken, written or signed
type language
['Burt Topper', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Burt_Topper property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1017087,P1412,c(Q34770))
action filter_type
action find
entity Q1017087
relation P1412
type Q34770
Burt Topper speaks the [ANSWER]
['Q1017087', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1017087 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
Burt Topper speaks the English
English
action filter_type
action find
entity Burt Topper
relation languages spoken, written or signed
type language
['Burt Topper', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Burt_Topper property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1017087
P509
Q2057971
USER
What lead to the death of that person ?
(Q1860,P509,c(Q2057971))
action filter_type
action find
entity Q1017087
relation P509
type Q2057971
['Q1860', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q1017087 property:P509 ?q . ?q rdf:type ontology:Q2057971 }
Burt Topper
action filter_type
action find
entity Burt Topper
relation cause of death
type health problem
['English', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:Burt_Topper property:cause_of_death ?q . ?q rdf:type ontology:health_problem }
[]
health problem
Q181754
SYSTEM
heart failure
Q181754
(Q1860,P509,c(Q2057971))
action filter_type
action find
entity Q1017087
relation P509
type Q2057971
[ANSWER] lead to the death of that person
['Q1860', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q1017087 property:P509 ?q . ?q rdf:type ontology:Q2057971 }
heart failure
Heart failure lead to the death of that person
heart failure
action filter_type
action find
entity Burt Topper
relation cause of death
type health problem
['English', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:Burt_Topper property:cause_of_death ?q . ?q rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q21174292 Q1017087
P509 P780
Q2057971
USER
Which health problems were the cause of death of Burt Topper and can be a sign of ethylene glycol exposure ?
AND((Q1017087,P509,c(Q2057971)), (Q21174292,P780,c(Q2057971)))
action filter_type
action intersection
action find
entity Q1017087
relation P509
action find
entity Q21174292
relation P780
type Q2057971
{'AND': [['Q1017087', 'P509', {'concept': 'Q2057971'}], ['Q21174292', 'P780', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?b WHERE { resource:Q1017087 property:P509 ?b . resource:Q21174292 property:P780 ?b . ?b rdf:type ontology:Q2057971 }
ethylene glycol exposure Burt Topper
action filter_type
action intersection
action find
entity Burt Topper
relation cause of death
action find
entity ethylene glycol exposure
relation symptoms
type health problem
{'AND': [['Burt Topper', 'cause of death', {'concept': 'health problem'}], ['ethylene glycol exposure', 'symptoms', {'concept': 'health problem'}]]}
SELECT DISTINCT ?b WHERE { resource:Burt_Topper property:cause_of_death ?b . resource:ethylene_glycol_exposure property:symptoms ?b . ?b rdf:type ontology:health_problem }
[]
health problem
Q181754
SYSTEM
heart failure
Q181754
AND((Q1017087,P509,c(Q2057971)), (Q21174292,P780,c(Q2057971)))
action filter_type
action intersection
action find
entity Q1017087
relation P509
action find
entity Q21174292
relation P780
type Q2057971
The [ANSWER] was the cause of death of Burt Topper and can be a sign of ethylene glycol exposure
{'AND': [['Q1017087', 'P509', {'concept': 'Q2057971'}], ['Q21174292', 'P780', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?b WHERE { resource:Q1017087 property:P509 ?b . resource:Q21174292 property:P780 ?b . ?b rdf:type ontology:Q2057971 }
heart failure
The heart failure was the cause of death of Burt Topper and can be a sign of ethylene glycol exposure
heart failure
action filter_type
action intersection
action find
entity Burt Topper
relation cause of death
action find
entity ethylene glycol exposure
relation symptoms
type health problem
{'AND': [['Burt Topper', 'cause of death', {'concept': 'health problem'}], ['ethylene glycol exposure', 'symptoms', {'concept': 'health problem'}]]}
SELECT DISTINCT ?b WHERE { resource:Burt_Topper property:cause_of_death ?b . resource:ethylene_glycol_exposure property:symptoms ?b . ?b rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1574795 Q181754
P1995
Q1047113
USER
Which special fields do heart failure or Hand eczema specializes in ?
OR((Q181754,P1995,c(Q1047113)), (Q1574795,P1995,c(Q1047113)))
action filter_type
action union
action find
entity Q181754
relation P1995
action find
entity Q1574795
relation P1995
type Q1047113
{'OR': [['Q181754', 'P1995', {'concept': 'Q1047113'}], ['Q1574795', 'P1995', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?i WHERE { { ?u property:P1995 ?i . VALUES ( ?u ) { ( resource:Q181754 ) ( resource:Q1574795 ) } } . ?i rdf:type ontology:Q1047113 }
Hand eczema heart failure
action filter_type
action union
action find
entity heart failure
relation medical specialty
action find
entity Hand eczema
relation medical specialty
type special field
{'OR': [['heart failure', 'medical specialty', {'concept': 'special field'}], ['Hand eczema', 'medical specialty', {'concept': 'special field'}]]}
SELECT DISTINCT ?i WHERE { { ?u property:medical_specialty ?i . VALUES ( ?u ) { ( resource:heart_failure ) ( resource:Hand_eczema ) } } . ?i rdf:type ontology:special_field }
[]
special field
Q171171 Q10379
SYSTEM
dermatology, cardiology
Q171171 Q10379
OR((Q181754,P1995,c(Q1047113)), (Q1574795,P1995,c(Q1047113)))
action filter_type
action union
action find
entity Q181754
relation P1995
action find
entity Q1574795
relation P1995
type Q1047113
[ANSWERS] heart failure or Hand eczema specialize in
{'OR': [['Q181754', 'P1995', {'concept': 'Q1047113'}], ['Q1574795', 'P1995', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?i WHERE { { ?u property:P1995 ?i . VALUES ( ?u ) { ( resource:Q181754 ) ( resource:Q1574795 ) } } . ?i rdf:type ontology:Q1047113 }
dermatology cardiology
Dermatology and cardiology heart failure or Hand eczema specialize in
dermatology cardiology
action filter_type
action union
action find
entity heart failure
relation medical specialty
action find
entity Hand eczema
relation medical specialty
type special field
{'OR': [['heart failure', 'medical specialty', {'concept': 'special field'}], ['Hand eczema', 'medical specialty', {'concept': 'special field'}]]}
SELECT DISTINCT ?i WHERE { { ?u property:medical_specialty ?i . VALUES ( ?u ) { ( resource:heart_failure ) ( resource:Hand_eczema ) } } . ?i rdf:type ontology:special_field }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q181754
P509
Q502895 Q39367
USER
How many people and dog breeds died from heart failure ?
(c(Q502895),P509,Q181754) (c(Q39367),P509,Q181754)
action count
action union
action filter_type
action find_reverse
entity Q181754
relation P509
type Q502895
action filter_type
action find_reverse
entity Q181754
relation P509
type Q39367
[{'concept': 'Q502895'}, 'P509', 'Q181754'] [{'concept': 'Q39367'}, 'P509', 'Q181754']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:P509 resource:Q181754 . ?w rdf:type ontology:Q39367 } UNION { ?w rdf:type ontology:Q502895 . ?w property:P509 resource:Q181754 } }
heart failure
action count
action union
action filter_type
action find_reverse
entity heart failure
relation cause of death
type common name
action filter_type
action find_reverse
entity heart failure
relation cause of death
type dog breed
[{'concept': 'common name'}, 'cause of death', 'heart failure'] [{'concept': 'dog breed'}, 'cause of death', 'heart failure']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:cause_of_death resource:heart_failure . ?w rdf:type ontology:dog_breed } UNION { ?w rdf:type ontology:common_name . ?w property:cause_of_death resource:heart_failure } }
[]
common name dog breed
SYSTEM
338 people and 1 dog breeds
Q11454713 Q451830 Q11461045 Q6197387 Q271963 Q1520488 Q6238789 Q648366 Q4704849 Q326157 Q3290488 Q462629 Q467122 Q181407 Q157777 Q2655002 Q16019816 Q511124 Q1805782 Q1146351 Q3143375 Q236914 Q11572383 Q112307 Q1386097 Q602302 Q6075055 Q499583 Q132524 Q15977312 Q5677370 Q505831 Q859504 Q6498719 Q462656 Q982401 Q342774 Q5950 Q104148 Q82409 Q2604 Q231923 Q34189 Q543693 Q11383642 Q6304512 Q4164765 Q6186023 Q2414258 Q16491211 Q289631 Q204523 Q345182 Q151040 Q5577 Q14594727 Q16014451 Q316202 Q401864 Q5732864 Q150767 Q955307 Q526106 Q6197328 Q35286 Q13015173 Q5531454 Q2389215 Q433459 Q1797226 Q558368 Q5989294 Q350704 Q5326138 Q434889 Q6261322 Q7940510 Q310775 Q449664 Q74973 Q15992793 Q365633 Q2342184 Q710695 Q123371 Q5490012 Q313400 Q540874 Q4722601 Q104183 Q15452052 Q5660394 Q3355490 Q63189 Q436209 Q131004 Q4768460 Q3568502 Q321978 Q537722 Q4912656 Q432562 Q59729 Q16090881 Q1471618 Q7314 Q23068265 Q11369432 Q529258 Q53031 Q2152423 Q271931 Q5097140 Q465474 Q2648565 Q9916 Q34851 Q337145 Q103774 Q162389 Q455313 Q220520 Q5086041 Q442628 Q23481 Q4953905 Q106514 Q554577 Q52642 Q1956823 Q2024320 Q280229 Q34474 Q1052458 Q5289582 Q11359307 Q2614411 Q1508648 Q1691652 Q40701 Q330621 Q6312422 Q712817 Q3436512 Q446984 Q472487 Q3528672 Q80440 Q5302017 Q3181785 Q41136 Q374960 Q78931 Q118447 Q2681113 Q8209261 Q2149299 Q15993485 Q80596 Q178250 Q4984910 Q2452898 Q6137013 Q191716 Q16019801 Q100989 Q236708 Q4798779 Q561666 Q313525 Q271526 Q21585595 Q210285 Q1452797 Q6254432 Q450022 Q4714639 Q348979 Q4882948 Q539596 Q232245 Q456979 Q390768 Q240534 Q3229669 Q1452899 Q16019790 Q5171541 Q7519259 Q3517020 Q276216 Q442374 Q3109976 Q6195738 Q182455 Q1355209 Q34453 Q186492 Q200131 Q363371 Q5478721 Q2748374 Q7342065 Q3470468 Q16016466 Q1444495 Q85918 Q11569763 Q540244 Q454708 Q1249298 Q4678235 Q1856944 Q5273483 Q311317 Q558149 Q23794601 Q607935 Q5298245 Q2561138 Q2313270 Q3486418 Q186359 Q78983 Q794637 Q367129 Q234604 Q312657 Q6213323 Q2341356 Q506401 Q80760 Q1403472 Q3807076 Q55796 Q1680621 Q1797523 Q5095186 Q2551656 Q718617 Q19899749 Q557185 Q2496 Q3565843 Q5125255 Q11644640 Q456907 Q649899 Q5081434 Q311719 Q3807004 Q16013350 Q1677123 Q5920045 Q546592 Q15442474 Q63071 Q309643 Q6223155 Q24027089 Q1017087 Q3791180 Q2291028 Q963893 Q854908 Q387515 Q36789 Q3142946 Q5042394 Q5293939 Q7350771 Q319648 Q254748 Q2757537 Q1035 Q84412 Q16014418 Q4133063 Q1078468 Q1738832 Q3039327 Q1356064 Q4207699 Q11820 Q319867 Q15451712 Q16018786 Q1333051 Q16017773 Q5550767 Q273056 Q462465 Q489540 Q5498756 Q294555 Q4888822 Q16043538 Q4115951 Q1127623 Q445429 Q16856016 Q63152 Q444180 Q272383 Q17287343 Q504901 Q3005290 Q101764 Q108597 Q6390517 Q382406 Q11648912 Q4710253 Q1687883 Q4796826 Q333595 Q5995654 Q1737377 Q4973520 Q2481925 Q3293960 Q1977003 Q1160785 Q347473 Q61108 Q1064202 Q5549731 Q467364 Q3811608 Q5772497 Q202470 Q6260345 Q349346 Q3486426 Q560770 Q11449903 Q5366530 Q939557 Q979084
(c(Q502895),P509,Q181754) (c(Q39367),P509,Q181754)
action count
action union
action filter_type
action find_reverse
entity Q181754
relation P509
type Q502895
action filter_type
action find_reverse
entity Q181754
relation P509
type Q39367
[ANSWER]
[{'concept': 'Q502895'}, 'P509', 'Q181754'] [{'concept': 'Q39367'}, 'P509', 'Q181754']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:P509 resource:Q181754 . ?w rdf:type ontology:Q39367 } UNION { ?w rdf:type ontology:Q502895 . ?w property:P509 resource:Q181754 } }
Hiroshi Miyagawa Lilyan Chauvin Mitsuo Komatsubara Jim Pash James Van Allen Ralph Brazelton Peck John Henry Devereux Hank Snow Al Stump Ted Kennedy Margaret Early James Jones Ed Koch Robert Middleton Jan Dismas Zelenka Robin Olds Chris Ullo Semyon Lavochkin Rufus Thomas Allan Arbus Huntz Hall María de Villota Masakazu Tamai Lena Horne Ezra Taft Benson Jack Smith Irwin Gunsalus Joan Roberts Ayn Rand Theo Klouwer Harvey Kirck William Conrad Big Walter Horton Laura Borden Edward Samuel Rogers Edward Gorey Frankie Laine James Brown Vasily Smyslov Samuel Taylor Coleridge Pius XII Marian Anderson Pablo Neruda Ed Nelson Shinji Satō Judy Lynn Abdel Moneim Madbouly Jess Stearn Juanita Hansen Antônio Batista Vieira Norman Selfe Wild Man Fischer Elijah Muhammad Patriarch Alexius II Salvador Dalí Aaron Selber, Jr. Hermann Merkin Gordon A. Craig Ahmet Hadžipašić Herb Carneal Benjamin Britten H. R. F. Keating Andy Hallett Jim Padgett Warren G. Harding Toon Jintavej Gene Smith Gene Rayburn Kitty Carlisle Olavo Setúbal Gene Barry William A. Mitchell Max Steiner Earl W. Bascom Bob May John Trudeau Josef Anýž Jean-Claude Duvalier Miriam A. Ferguson Gerhard Mayer-Vorfelder Henry Braden Dana Andrews Stella Sigcau Bobbejaan Schoepen Hans Albert Einstein Frank Tripucka Lon Nol Robert A. Roe Alfred Enos Woodward Lillian Gish John Rogers Harold Cruse Bamse Dana Wynter Freddie King John Bodkin Adams Anne Howard Bailey William Ching Lon McCallister Jerry Wexler Billy Hall Alvino Rey Edward Kent John Victor Parker Paul Smith Igor Stravinsky Antal Náray Sadanari Hisamatsu Bunny Yeager Gillo Pontecorvo Major Owens Marilyn French Chieko N. Okazaki Milan Paumer Hashim Khan Dwight D. Eisenhower Elizabeth Taylor Coen van Vrijberghe de Coningh Ravi Shankar Tony Curtis Beverly Aadland John Browning Charlotte Kohler Isamu Noguchi Friedrich Dürrenmatt Brad Ecklund River Phoenix Edward Ashley-Cooper Al Oerter Myron Waldman Sergei Mamchur Prince Takahito Mikasa Aleksandr Solzhenitsyn Valentino Bompiani Dolours Price Shōkō Uemura Avraham Ravitz G. Wood Joe Wilder Joseph Strick Abraham Sofaer June Schofield Georgios Grivas Robert Waelder Louise Moillon Buddy Miles Tim McIntire Anna Akhmatova Douglas T. Jacobson John Howard Arthur Penn John J. Gilligan Franz Stangl Harold M. Ryan Lonnie Wright Aureliano Lessa Richard De Angelis Albert Seedman Arthur Miller Chester Gould Buddy McDonald Mildred Wolfe James Joseph Rowley Gene Roddenberry Ben Starr Hubert von Meyerinck Julie Harris Arthur Galston William Windom Lionel Hampton Vilma Bánky Scooter Newman David Schwarz Frederick Bayer John Reddell Irene Sharaff Alejandro R. Ruiz Ned Buntline Belita Woods Tessie O'Shea Virginia Mayo J. Lee Thompson Jeanne L. Noble Jeane Kirkpatrick Leonard Eron Howie Dallmar Don Safran Cornell Henry Mayer Simon Malley Ted D'Arms Irene Manning Hope Summers Hiromi Yanagihara Jim Horne Wilt Chamberlain Kalaparusha Maurice McIntyre Boris Yeltsin George S. Patton Antônio Carlos Jobim Yegor Letov Frances Horwich Jerome Moross Robert Bernstein Samuel Dash Eugene Hamilton Frank Yerby Hans Riegel Shintarō Kataoka John Taylor Gil Stratton Ferenc Ripka Ada Comstock Robert Drinan Dick Tufeld Isaac Stern Don Taylor Arthur Bye Arthur Shawcross Dorothea Holt Redmond Werner Felfe Rein van den Broek Rikiya Yasuoka Jean-Pierre Rampal Helmut Zilk Béla Bicsérdy Roy Rogers Betty Friedan Chuck Jones Joel Colton Leo Smit Bil Keane Buddy DeSylva Felix Frankfurter Janusz Kruk Peter Ustinov James J. Kilpatrick Yoná Magalhães Chiang Hsiao-wu Shozo Shimamoto Billy Taylor Richard Oswald Cowling B. K. S. Iyengar Ludwig Erhard Walter Francis O'Malley Claire Malis Mounet Satomi James P. Mitchell Carol Telbisz Charles P. Murray, Jr. Adlai Stevenson II Jane Froman John Yeon Jack McDuff Howard Judd Isao Tomita Robert Anderson Paul Schäfer Ed Gein John Bridgers Kathinka Heinefetter Burt Topper Kenji Eno Sjoerd Huisman Ronnie Barker László Bóka Samuel Okwaraji Henry Lee Lucas Larry Harmon Carlos Montalbán Donald A. Wallance Robert W Crawford Ray Kroc Jo Stafford Gilbert Gude Charles Darwin Wilhelm Reich Joe Lang Kershaw Malcolm Hamilton Alfred Drake Kenneth A. Roberts Lyle Talbot Erna Haffner Alla Kazanskaya Martin Van Buren Edmund Muskie Herbert Krause Johnnie High Elmo Hope Leon Gouré Gerhard Skrobek Nancy Parsons Esther Hautzig Lamont Johnson Frederick Sontag Paul Tibbets Benjamin Holman Spencer Leigh Hughes Wadih El Safi Constance Baker Motley Taylor Caldwell Charles M. Williams Drafi Deutscher Helen Forrest John J. Pershing Matt Kailey Jerald terHorst Joginder Singh Carolin van Bergen Dave Brubeck Kenneth N. Taylor Oliver Jackson Shōsei Suzuki Albert Fuller Jerry Wallace Art Frantz Ricardo Montalbán Ike Pappas Kay Deslys Eugenia Price Roger C. Carmel Marjorie Reynolds Nelson Gidding Daniel Fuchs Pandro S. Berman Alfred A. Knopf, Sr. Charles E. Chamberlain Geraldine Clinton Little Leona Helmsley Justine Johnstone Hisayuki Sasaki Grady Johnson John Taylor George Shearing Wando Marshall Thompson Seiichirō Uno Elmer E. Rasmuson Martin Koeman Jimmy Castor
338 people and 1 dog breeds
action count
action union
action filter_type
action find_reverse
entity heart failure
relation cause of death
type common name
action filter_type
action find_reverse
entity heart failure
relation cause of death
type dog breed
[{'concept': 'common name'}, 'cause of death', 'heart failure'] [{'concept': 'dog breed'}, 'cause of death', 'heart failure']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { ?w property:cause_of_death resource:heart_failure . ?w rdf:type ontology:dog_breed } UNION { ?w rdf:type ontology:common_name . ?w property:cause_of_death resource:heart_failure } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21174124 Q21174292
P780
Q1441305
USER
Which medical signs are symptoms of ethylene glycol exposure and RDX exposure ?
AND((Q21174292,P780,c(Q1441305)), (Q21174124,P780,c(Q1441305)))
action filter_type
action intersection
action find
entity Q21174292
relation P780
action find
entity Q21174124
relation P780
type Q1441305
{'AND': [['Q21174292', 'P780', {'concept': 'Q1441305'}], ['Q21174124', 'P780', {'concept': 'Q1441305'}]]}
SELECT DISTINCT ?e WHERE { resource:Q21174292 property:P780 ?e . resource:Q21174124 property:P780 ?e . ?e rdf:type ontology:Q1441305 }
RDX exposure ethylene glycol exposure
action filter_type
action intersection
action find
entity ethylene glycol exposure
relation symptoms
action find
entity RDX exposure
relation symptoms
type medical sign
{'AND': [['ethylene glycol exposure', 'symptoms', {'concept': 'medical sign'}], ['RDX exposure', 'symptoms', {'concept': 'medical sign'}]]}
SELECT DISTINCT ?e WHERE { resource:ethylene_glycol_exposure property:symptoms ?e . resource:RDX_exposure property:symptoms ?e . ?e rdf:type ontology:medical_sign }
[]
medical sign
Q21111972 Q186889 Q10916362 Q21112290 Q127076
SYSTEM
eye irritation, nausea, dizziness, skin irritation, vomiting
Q21111972 Q186889 Q10916362 Q21112290 Q127076
AND((Q21174292,P780,c(Q1441305)), (Q21174124,P780,c(Q1441305)))
action filter_type
action intersection
action find
entity Q21174292
relation P780
action find
entity Q21174124
relation P780
type Q1441305
[ANSWERS] are symptoms of ethylene glycol exposure and RDX exposure
{'AND': [['Q21174292', 'P780', {'concept': 'Q1441305'}], ['Q21174124', 'P780', {'concept': 'Q1441305'}]]}
SELECT DISTINCT ?e WHERE { resource:Q21174292 property:P780 ?e . resource:Q21174124 property:P780 ?e . ?e rdf:type ontology:Q1441305 }
eye irritation nausea dizziness skin irritation vomiting
Eye irritation, nausea, dizziness, skin irritation and vomiting are symptoms of ethylene glycol exposure and RDX exposure
eye irritation nausea dizziness skin irritation vomiting
action filter_type
action intersection
action find
entity ethylene glycol exposure
relation symptoms
action find
entity RDX exposure
relation symptoms
type medical sign
{'AND': [['ethylene glycol exposure', 'symptoms', {'concept': 'medical sign'}], ['RDX exposure', 'symptoms', {'concept': 'medical sign'}]]}
SELECT DISTINCT ?e WHERE { resource:ethylene_glycol_exposure property:symptoms ?e . resource:RDX_exposure property:symptoms ?e . ?e rdf:type ontology:medical_sign }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P828
Q796194 Q1441305
USER
Which medical signs do around the same number of medical procedures lead to as that medical sign ?
(c(Q1441305),P828,c(Q796194))
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q796194'}]
SELECT DISTINCT ?y WHERE { ?z property:P828 ?y . ?z rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q796194 }
[{'concept': 'medical sign'}, 'has cause', {'concept': 'medical procedure'}]
SELECT DISTINCT ?y WHERE { ?z property:has_cause ?y . ?z rdf:type ontology:medical_sign . ?y rdf:type ontology:medical_procedure }
[]
medical procedure medical sign
Comparative|More/Less|Single entity type|Clarification
Q186889
SYSTEM
Did you mean nausea ?
(c(Q1441305),P828,c(Q796194))
[ANSWER]
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q796194'}]
SELECT DISTINCT ?y WHERE { ?z property:P828 ?y . ?z rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q796194 }
Did you mean nausea ?
nausea
[{'concept': 'medical sign'}, 'has cause', {'concept': 'medical procedure'}]
SELECT DISTINCT ?y WHERE { ?z property:has_cause ?y . ?z rdf:type ontology:medical_sign . ?y rdf:type ontology:medical_procedure }
[]
Comparative Reasoning (All)
USER
No, I meant vomiting. Could you tell me the answer for that?
(c(Q1441305),P828,c(Q796194))
Q127076
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q796194'}]
[{'concept': 'medical sign'}, 'has cause', {'concept': 'medical procedure'}]
[]
Q1115038 Q4736316 Q189643
SYSTEM
runny nose, altered level of consciousness, delusion
Q5202953 Q1938763 Q4736316 Q1115038 Q189643 Q1404110 Q1162276 Q1566762 Q5893790 Q21402569 Q1758945
(c(Q1441305),P828,c(Q796194))
[ANSWERS] around the same number of medical procedures lead to as that medical sign
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q796194'}]
SELECT DISTINCT ?y WHERE { ?z property:P828 ?y . ?z rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q796194 }
Cœur en sabot fecal vomiting altered level of consciousness runny nose delusion greyout xerostomia steeple sign Honeycombing rice water diarrhea redout
Runny nose, altered level of consciousness and delusion around the same number of medical procedures lead to as that medical sign
runny nose altered level of consciousness delusion
[{'concept': 'medical sign'}, 'has cause', {'concept': 'medical procedure'}]
SELECT DISTINCT ?y WHERE { ?z property:has_cause ?y . ?z rdf:type ontology:medical_sign . ?y rdf:type ontology:medical_procedure }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P828
Q2144359 Q1190554 Q2057971
USER
Which health problems do atmost 1 environmental issues and events cause ?
(c(Q2057971),P828,c(Q2144359)|c(Q1190554))
action atmost
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
value 1
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?m WHERE { { ?m property:P828 ?e . ?e rdf:type ontology:Q2144359 . ?m rdf:type ontology:Q2057971 } UNION { ?m property:P828 ?e . ?m rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q1190554 } } GROUP BY ?m } . FILTER ( ?q <= 1 ) }
action atmost
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type event
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'event'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?m WHERE { { ?m property:has_cause ?e . ?e rdf:type ontology:environmental_issue . ?m rdf:type ontology:health_problem } UNION { ?m property:has_cause ?e . ?m rdf:type ontology:health_problem . ?e rdf:type ontology:event } } GROUP BY ?m } . FILTER ( ?q <= 1 ) }
[]
environmental issue event health problem
Q18556697 Q12214 Q19597369
SYSTEM
human immunodeficiency virus infectious disease, smallpox, Gram-negative bacterial infection
Q18553237 Q18553236 Q3591496 Q18553231 Q2042205 Q7157933 Q18553239 Q18553238 Q18556697 Q2447562 Q3091959 Q3776920 Q3381802 Q18553933 Q12656487 Q694552 Q2700304 Q2845432 Q316180 Q863725 Q147778 Q623031 Q1856914 Q646664 Q4958833 Q2140729 Q3541798 Q16006998 Q4867062 Q992139 Q327005 Q52856 Q190564 Q154882 Q127724 Q18554757 Q19972185 Q201989 Q18555052 Q2373700 Q12156 Q47790 Q5038165 Q7235947 Q4803677 Q18553273 Q1097957 Q18553274 Q3153686 Q193216 Q30953 Q16831900 Q124604 Q1048101 Q202173 Q812671 Q1243869 Q9430213 Q1048084 Q21082521 Q21082526 Q3493588 Q18553583 Q18555979 Q18554672 Q41083 Q4366062 Q18553191 Q18553197 Q744387 Q18553198 Q12204 Q522163 Q103177 Q134859 Q18554401 Q18554400 Q4797639 Q2982674 Q23037742 Q1936838 Q1526645 Q681970 Q18555383 Q2170663 Q247096 Q1713499 Q804521 Q18554338 Q18553439 Q83319 Q160649 Q5274956 Q2373361 Q469490 Q16242812 Q18553229 Q614279 Q1693598 Q6523346 Q2076966 Q155098 Q4413030 Q941770 Q11679861 Q1210303 Q7902650 Q6159042 Q2059411 Q809561 Q1890194 Q5459411 Q727028 Q1016605 Q19597369 Q156103 Q7107617 Q12090 Q4280605 Q2397106 Q1048858 Q217519 Q3264425 Q709360 Q3270160 Q422268 Q18557427 Q684810 Q7205992 Q18324719 Q4723931 Q5380626 Q18975606 Q2339038 Q18395602 Q5384031 Q11627066 Q31798 Q2933021 Q5161045 Q5548621 Q18557940 Q18554367 Q17162726 Q842428 Q769815 Q16775468 Q18553869 Q21505495 Q3281393 Q895297 Q18554485 Q18553216 Q1409081 Q17119372 Q12214 Q12199 Q153356 Q912766 Q26492834 Q18123741 Q1724539 Q3392410 Q1928978 Q18554418 Q18554419 Q326638 Q154874 Q18553284 Q18553285 Q1223924 Q6663796 Q18554027 Q1978084 Q18554029 Q133780 Q4137692 Q6279182 Q1416773 Q2589418 Q3030745 Q658873 Q18558102 Q4118581 Q160653 Q243257 Q3074499 Q207367 Q574905 Q19000448 Q585011 Q18558193 Q393477 Q745865 Q6853 Q3089469 Q1350035 Q356713 Q18553251 Q18553252 Q4690047 Q18553889 Q18554606 Q39222 Q223591 Q3197774 Q18924547 Q576179 Q154869 Q18553952 Q18553953 Q18553951 Q200779 Q931323 Q353172 Q2090711 Q18558169 Q2741820 Q481392 Q1432397 Q3049302 Q129104 Q18554767 Q18555290 Q18553170 Q42982 Q842169 Q8071861 Q47912 Q14375936 Q1030785 Q18553286 Q26695958 Q153861 Q5334259 Q327298 Q9376235 Q1878776 Q5319350 Q17126040 Q18554258 Q7834208 Q5609501 Q379418 Q18558134 Q18557482 Q21507057 Q632522 Q1553609 Q4651856 Q4845643 Q1194496 Q567660 Q7850856 Q1066011 Q18554229 Q5031732 Q4690011 Q18553227 Q36956 Q1607983 Q4979461 Q18554659 Q5506384 Q34879 Q970203 Q682798 Q18928086 Q2840 Q18975229 Q949694 Q1339986 Q4736375 Q154865 Q5182155 Q16918398 Q1476027 Q18554425 Q1347065 Q3508771 Q738292 Q3540280 Q203133 Q837054 Q3367106 Q16935263 Q134649 Q19001174 Q719656 Q7900355 Q192102 Q244404 Q76973 Q2625993 Q18966317 Q3084532 Q11542703 Q3108587 Q963944 Q52859 Q18553245 Q18553243 Q18553240 Q18554261 Q167264 Q1264268 Q1760607 Q2603200 Q176741 Q443929 Q18556140 Q18553742 Q298278 Q1128440 Q506616 Q326643 Q2068896 Q826522 Q21504985 Q705906 Q319315 Q3798547 Q68833 Q703961 Q639776 Q1290616 Q1750104 Q5196693 Q17071650 Q18554000 Q18554162 Q18555063 Q922927 Q101896 Q18554340 Q14870002 Q1034620 Q12125 Q6587253 Q14942021 Q6137239 Q18553440 Q18558124 Q18554306 Q7053975 Q19000421 Q221441 Q1367782 Q3902759
(c(Q2057971),P828,c(Q2144359)|c(Q1190554))
action atmost
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
value 1
[ANSWERS] atmost 1 environmental issues and events cause
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?m WHERE { { ?m property:P828 ?e . ?e rdf:type ontology:Q2144359 . ?m rdf:type ontology:Q2057971 } UNION { ?m property:P828 ?e . ?m rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q1190554 } } GROUP BY ?m } . FILTER ( ?q <= 1 ) }
mesocestoidiasis philophthalmiasis mercurial erythema lujo hemorrhagic fever Residual ovary syndrome peanut allergy baylisascariasis acanthocephaliasis human immunodeficiency virus infectious disease balantidiasis anisakiasis bacterial pneumonia Pthirus pubis infestation setariasis hymenolepiasis lymphogranuloma venereum Bolivian hemorrhagic fever ehrlichiosis Pseudorabies Bing–Neel syndrome liver cirrhosis liver cancer nocardiosis rickettsiosis Brazilian hemorrhagic fever fasciolopsiasis Tuberculosis of the adrenal glands borreliosis basidiobolomycosis human granulocytic anaplasmosis glanders Diabetic foot Huntington's disease Legionnaires' disease cataract dipetalonemiasis Tubo-ovarian abscess Lyme disease malt worker's lung Clostridial necrotizing enteritis malaria tetanus Carcinoma ex-pleomorphic adenoma Powassan encephalitis asbestos-related disease aneruptive fever intermittent claudication sennetsu fever Toluene toxicity trachoma dengue fever intracranial hypotension portal hypertension rickettsialpox hordeolum bacillary angiomatosis Treponematosis borna disease opisthorchiasis glucocorticoid-induced osteoporosis chromosomal duplication syndrome spirochetal diseases withdrawal disorder duodenal obstruction Plasmodium falciparum malaria syphilis Pneumococcal infection Indian tick typhus Israeli tick typhus Rocky Mountain spotted fever Far Eastern spotted fever tuberculosis Sydenham's chorea severe acute respiratory syndrome pertussis screw worm infectious disease hypodermyiasis arthritis mutilans lead-induced colic chicken egg allergy Diseases of poverty Surra contagious pustular dermatitis haemonchiasis Acrodynia Paracoccidioidomycosis megaesophagus bacterial vaginosis trichostrongylosis autosomal dominant disease typhoid fever typhus dientamoebiasis nut allergy Periventricular leukomalacia Amalgam tattoo Whitewater Arroyo hemorrhagic fever louping ill nasopharynx carcinoma Lentigo maligna melanoma cytomegalia leptospirosis wheat allergy proctitis hookworm infections dicrocoeliasis Uterine incarceration Japanese spotted fever Black piedra bartonellosis nutritional deficiency disease Flinders Island spotted fever bacterial infectious disease Burkitt lymphoma Gram-negative bacterial infection gastroenteritis Osteolathyrism Cholera mansonelliasis tauopathy hantavirus hemorrhagic fever bubonic plague Loxoscelism Von Willebrand disease actinobacillosis actinomycosis pancreatic cholera berylliosis Pneumococcal pneumonia Chapare hemorrhagic fever Algaemia Entomophthoramycosis Fusobacterium infectious disease Neurogenic bladder Vitreous touch syndrome Epstein–Barr virus infection West Nile fever chancroid caffeine intoxication conidiobolomycosis geotrichosis postgastrectomy syndrome respiratory syncytial virus infectious disease soil-transmitted helminthiasis ascariasis food allergy elephantiasis legionellosis fetal valproate syndrome complication of radiotherapy boutonneuse fever diphtheritic peritonitis intestinal botulism fetal nicotine spectrum disorder Haemophilus meningitis smallpox acquired immunodeficiency syndrome chlamydia postcholecystectomy syndrome mosaic variegated aneuploidy syndrome 1 infectious disease Congenital rubella syndrome pleural tuberculosis viral infectious disease louse-borne relapsing fever tick-borne relapsing fever Rift Valley fever yellow fever O'nyong'nyong fever Barmah Forest virus disease Papillomatosis Lobomycosis allescheriosis nerve compression syndrome pseudomembranous conjunctivitis plague heterophyiasis epileptic seizure granuloma inguinale pasteurellosis distomatosis Radiation burn monieziasis necatoriasis listeriosis chikungunya Fluoride toxicity infectious mononucleosis Clostridium difficile colitis Actinobacillus infectious disease Antley-Bixler syndrome gonococcal endophthalmia trench fever trichomoniasis hepatitis B sequelae Erethism Aspergilloma wound botulism infant botulism African tick-bite fever supine hypotensive syndrome inclusion conjunctivitis rabies gastroesophageal reflux disease klebsiellosis Rocio virus encephalitis egg allergy hepatitis C Murray Valley encephalitis Western equine encephalitis Eastern equine encephalitis genetic disease nephropathia epidemica parasitic protozoa infectious disease thelaziasis Venezuelan equine encephalitis Omsk hemorrhagic fever theileriasis Kyasanur forest disease human monocytic ehrlichiosis anthrax disease Brucella melitensis brucellosis ascaridiasis Astrakhan spotted fever type I hypersensitivity sparganosis Zika fever lung cancer hyperinsulinism demodicosis Balkan hemorrhagic fever gonococcal infectious diseases tularemia parasitic ectoparasitic infectious disease shigellosis endolymphatic hydrops lymphocytic choriomeningitis dysbaric osteonecrosis Transfusion associated circulatory overload fascioloidiasis transfusion hemosiderosis Grinker myelinopathy keratomalacia exposure keratitis radiation cystitis salmonella sepsis bacteriuria Canine parvovirus AIDS-related lymphoma rhinosporidiosis scrub typhus St. Louis encephalitis pericardial tuberculosis cowpox kernicterus due to isoimmunization Candidal intertrigo African histoplasmosis Kunjin encephalitis leprosy erysipeloid Bruns ataxia Brucella canis brucellosis fruit allergy Staphylococcal infection milk allergy bejel Tahyna virus encephalitis influenza Newcastle disease amebiasis encephalitozoonosis Alternariosis botulism Craniotabes chromosomal deletion syndrome lymphangitis tinea unguium epiglottitis neuro-anemia syndrome Japanese encephalitis trombiculiasis sleeping sickness Adenovirus infection parvovirus infectious disease Serratia infection diphtheria milker's nodule fascioliasis Ureaplasma infection skin cancer electric shock yaws Latrodectism Mumps virus infectious disease endemic typhus metagonimiasis pigmentary glaucoma melioidosis Diabetic foot ulcer Alkhurma hemorrhagic fever parasitic Ichthyosporea infectious disease dioctophymiasis echinostomiasis Marburg hemorrhagic fever stannosis loiasis viral pneumonia mumps dirofilariasis ostertagiasis chromosomal disease esophageal varix toxic shock syndrome drowning hepatitis E drug allergy thyroid cancer lewisite shock paratyphoid fever Colorado tick fever Haverhill fever bone fracture prion disease cat-scratch disease epidemic typhus Carrion's disease Cutaneous diphtheria infection Calcium channel blocker toxicity Brucella suis brucellosis Bordetella parapertussis whooping cough West Nile encephalitis primary amebic meningoencephalitis gonorrhea trichostrongyloidiasis Hot tub folliculitis Capillariasis common cold Queensland tick typhus Auto-brewery syndrome Hantavirus pulmonary syndrome autosomal recessive disease allergic asthma endocrine exophthalmos Siberian tick typhus Rubella virus infectious disease pellagra Gluten related disorders white piedra
Human immunodeficiency virus infectious disease, smallpox and Gram-negative bacterial infection atmost 1 environmental issues and events cause
human immunodeficiency virus infectious disease smallpox Gram-negative bacterial infection
action atmost
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type event
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'event'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?m WHERE { { ?m property:has_cause ?e . ?e rdf:type ontology:environmental_issue . ?m rdf:type ontology:health_problem } UNION { ?m property:has_cause ?e . ?m rdf:type ontology:health_problem . ?e rdf:type ontology:event } } GROUP BY ?m } . FILTER ( ?q <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1115038
P828
Q2057971
USER
How many health problems are the underlying cause of runny nose ?
(Q1115038,P828,c(Q2057971))
action count
action filter_type
action find
entity Q1115038
relation P828
type Q2057971
['Q1115038', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q1115038 property:P828 ?e . ?e rdf:type ontology:Q2057971 }
runny nose
action count
action filter_type
action find
entity runny nose
relation has cause
type health problem
['runny nose', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:runny_nose property:has_cause ?e . ?e rdf:type ontology:health_problem }
[]
health problem
SYSTEM
3
Q42982 Q2840 Q12125
(Q1115038,P828,c(Q2057971))
action count
action filter_type
action find
entity Q1115038
relation P828
type Q2057971
[ANSWER]
['Q1115038', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q1115038 property:P828 ?e . ?e rdf:type ontology:Q2057971 }
type I hypersensitivity influenza common cold
3
action count
action filter_type
action find
entity runny nose
relation has cause
type health problem
['runny nose', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:runny_nose property:has_cause ?e . ?e rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q202173
P828
Q2057971 Q2057971
USER
Which health problems do more number of health problems cause than hordeolum ?
(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 Q202173
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?s ) WHERE { ?w property:P828 ?p . ?p rdf:type ontology:Q2057971 . ?w rdf:type ontology:Q2057971 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q202173 property:P828 ?j . ?j rdf:type ontology:Q2057971 } } . FILTER ( ?s > ?m ) }
hordeolum
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity hordeolum
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?s ) WHERE { ?w property:has_cause ?p . ?p rdf:type ontology:health_problem . ?w rdf:type ontology:health_problem } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:hordeolum property:has_cause ?j . ?j rdf:type ontology:health_problem } } . FILTER ( ?s > ?m ) }
[]
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 Q202173
relation P828
type Q2057971
[ANSWERS] do more number of health problems cause than hordeolum
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?s ) WHERE { ?w property:P828 ?p . ?p rdf:type ontology:Q2057971 . ?w rdf:type ontology:Q2057971 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q202173 property:P828 ?j . ?j rdf:type ontology:Q2057971 } } . FILTER ( ?s > ?m ) }
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 and cataract do more number of health problems cause than hordeolum
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 hordeolum
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?s ) WHERE { ?w property:has_cause ?p . ?p rdf:type ontology:health_problem . ?w rdf:type ontology:health_problem } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:hordeolum property:has_cause ?j . ?j rdf:type ontology:health_problem } } . FILTER ( ?s > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q18553583
P828
Q2057971 Q2057971
USER
And what about withdrawal disorder?
(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 Q18553583
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?q ) WHERE { ?w rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q2057971 . ?w property:P828 ?d } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q18553583 property:P828 ?m . ?m rdf:type ontology:Q2057971 } } . FILTER ( ?q > ?b ) }
withdrawal disorder
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity withdrawal disorder
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?q ) WHERE { ?w rdf:type ontology:health_problem . ?d rdf:type ontology:health_problem . ?w property:has_cause ?d } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:withdrawal_disorder property:has_cause ?m . ?m rdf:type ontology:health_problem } } . FILTER ( ?q > ?b ) }
[]
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 Q18553583
relation P828
type Q2057971
[ANSWERS]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?q ) WHERE { ?w rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q2057971 . ?w property:P828 ?d } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q18553583 property:P828 ?m . ?m rdf:type ontology:Q2057971 } } . FILTER ( ?q > ?b ) }
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 withdrawal disorder
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?q ) WHERE { ?w rdf:type ontology:health_problem . ?d rdf:type ontology:health_problem . ?w property:has_cause ?d } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:withdrawal_disorder property:has_cause ?m . ?m rdf:type ontology:health_problem } } . FILTER ( ?q > ?b ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q181754
P509 P21
Q502895
USER
Which people died from heart failure and are a male ?
AND((c(Q502895),P509,Q181754), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q181754
relation P509
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q181754'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P509 resource:Q181754 . ?u property:P21 resource:Q6581097 }
male heart failure
action filter_type
action intersection
action find_reverse
entity heart failure
relation cause of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', 'heart failure'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:cause_of_death resource:heart_failure . ?u property:gender resource:male }
[]
common name
Q648366 Q333595 Q5950 Q15452052 Q5660394 Q63152 Q1452797 Q11461045 Q23481 Q11449903
SYSTEM
Some of them are Hank Snow, Ricardo Montalbán, James Brown, John Rogers, Harold Cruse, Drafi Deutscher, Frederick Bayer, Mitsuo Komatsubara, Friedrich Dürrenmatt, Seiichirō Uno
Q11454713 Q100989 Q11461045 Q382406 Q4798779 Q561666 Q271963 Q313525 Q1520488 Q80760 Q6238789 Q648366 Q1452797 Q4704849 Q1333051 Q326157 Q1797226 Q348979 Q462629 Q456979 Q181407 Q157777 Q80596 Q2655002 Q3229669 Q1452899 Q511124 Q1805782 Q1146351 Q16019790 Q3143375 Q1078468 Q11572383 Q15977312 Q1386097 Q602302 Q3517020 Q6075055 Q11369432 Q182455 Q1738832 Q6195738 Q7519259 Q1956823 Q5677370 Q505831 Q859504 Q1355209 Q34453 Q186492 Q200131 Q982401 Q342774 Q2341356 Q2748374 Q5950 Q7342065 Q3470468 Q82409 Q2604 Q3565843 Q1444495 Q34189 Q85918 Q11569763 Q11383642 Q4164765 Q540244 Q454708 Q6186023 Q3039327 Q16018786 Q16491211 Q5273483 Q204523 Q558149 Q210285 Q23794601 Q607935 Q2561138 Q462656 Q2313270 Q3486418 Q186359 Q1017087 Q78983 Q794637 Q151040 Q5577 Q118447 Q367129 Q14594727 Q16014451 Q312657 Q6213323 Q316202 Q506401 Q401864 Q5732864 Q5550767 Q150767 Q955307 Q387515 Q347473 Q526106 Q6197328 Q1403472 Q35286 Q3807076 Q55796 Q15993485 Q78931 Q5095186 Q560770 Q13015173 Q5531454 Q2389215 Q4714639 Q558368 Q19899749 Q5989294 Q557185 Q1680621 Q350704 Q5326138 Q434889 Q6261322 Q337145 Q7940510 Q11644640 Q456907 Q718617 Q649899 Q131004 Q311719 Q74973 Q3436512 Q16013350 Q1677123 Q5920045 Q546592 Q15442474 Q63071 Q467122 Q365633 Q309643 Q710695 Q123371 Q5490012 Q6223155 Q540874 Q4722601 Q1856944 Q5660394 Q311317 Q3791180 Q2291028 Q436209 Q6254432 Q963893 Q543693 Q313400 Q191716 Q36789 Q3142946 Q5042394 Q5293939 Q3568502 Q7350771 Q2551656 Q2757537 Q1035 Q84412 Q16019816 Q321978 Q16014418 Q537722 Q61108 Q4912656 Q854908 Q202470 Q5081434 Q1471618 Q1249298 Q6197387 Q11820 Q23068265 Q319867 Q289631 Q15451712 Q319648 Q16016466 Q349346 Q363371 Q53031 Q2496 Q2152423 Q16017773 Q4133063 Q465474 Q2648565 Q9916 Q489540 Q5498756 Q294555 Q4888822 Q16043538 Q4115951 Q103774 Q162389 Q1064202 Q220520 Q5171541 Q442628 Q16856016 Q4953905 Q106514 Q15452052 Q554577 Q52642 Q104148 Q2024320 Q11449903 Q23481 Q63152 Q34474 Q504901 Q1052458 Q8209261 Q2614411 Q6390517 Q1508648 Q11648912 Q4710253 Q1687883 Q280229 Q4796826 Q333595 Q40701 Q11359307 Q5995654 Q310775 Q2481925 Q1977003 Q330621 Q712817 Q3005290 Q272383 Q472487 Q3528672 Q1160785 Q432562 Q5302017 Q3181785 Q59729 Q41136 Q345182 Q374960 Q6260345 Q5772497 Q16090881 Q5366530 Q2681113 Q3486426 Q2149299 Q15992793 Q108597 Q178250 Q4984910 Q1691652 Q939557 Q6137013 Q979084 Q16019801 Q7314
AND((c(Q502895),P509,Q181754), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q181754
relation P509
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] died from heart failure and are a male
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q181754'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P509 resource:Q181754 . ?u property:P21 resource:Q6581097 }
Hiroshi Miyagawa Hubert von Meyerinck Mitsuo Komatsubara Oliver Jackson Arthur Galston William Windom James Van Allen Lionel Hampton Ralph Brazelton Peck Buddy DeSylva John Henry Devereux Hank Snow Frederick Bayer Al Stump Elmo Hope Ted Kennedy Olavo Setúbal Ned Buntline James Jones J. Lee Thompson Robert Middleton Jan Dismas Zelenka Arthur Miller Robin Olds Leonard Eron Howie Dallmar Semyon Lavochkin Rufus Thomas Allan Arbus Don Safran Huntz Hall Alfred Drake Masakazu Tamai Theo Klouwer Ezra Taft Benson Jack Smith Ted D'Arms Irwin Gunsalus Sadanari Hisamatsu Wilt Chamberlain Kenneth A. Roberts Jim Horne Simon Malley Myron Waldman Harvey Kirck William Conrad Big Walter Horton Kalaparusha Maurice McIntyre Boris Yeltsin George S. Patton Antônio Carlos Jobim Edward Gorey Frankie Laine Leo Smit Jerome Moross James Brown Robert Bernstein Samuel Dash Samuel Taylor Coleridge Pius XII Walter Francis O'Malley Frank Yerby Pablo Neruda Hans Riegel Shintarō Kataoka Shinji Satō Abdel Moneim Madbouly John Taylor Gil Stratton Jess Stearn Lyle Talbot Johnnie High Antônio Batista Vieira Dick Tufeld Wild Man Fischer Don Taylor David Schwarz Arthur Bye Arthur Shawcross Werner Felfe Edward Samuel Rogers Rein van den Broek Rikiya Yasuoka Jean-Pierre Rampal Burt Topper Helmut Zilk Béla Bicsérdy Patriarch Alexius II Salvador Dalí Harold M. Ryan Roy Rogers Aaron Selber, Jr. Hermann Merkin Chuck Jones Joel Colton Gordon A. Craig Bil Keane Ahmet Hadžipašić Herb Carneal Gerhard Skrobek Benjamin Britten H. R. F. Keating Samuel Okwaraji Pandro S. Berman Andy Hallett Jim Padgett Felix Frankfurter Warren G. Harding Janusz Kruk Peter Ustinov Albert Seedman Franz Stangl Chiang Hsiao-wu Marshall Thompson Toon Jintavej Gene Smith Gene Rayburn Alejandro R. Ruiz Gene Barry Richard Oswald Cowling William A. Mitchell B. K. S. Iyengar James J. Kilpatrick Max Steiner Earl W. Bascom Bob May John Trudeau Coen van Vrijberghe de Coningh Josef Anýž Mounet Satomi James P. Mitchell Billy Taylor Carol Telbisz John Bodkin Adams Adlai Stevenson II Gerhard Mayer-Vorfelder Robert Waelder John Yeon Jack McDuff Howard Judd Isao Tomita Robert Anderson Paul Schäfer Ed Koch Dana Andrews Ed Gein Bobbejaan Schoepen Hans Albert Einstein Frank Tripucka John Bridgers Robert A. Roe Alfred Enos Woodward Robert Drinan Harold Cruse Isaac Stern Kenji Eno Sjoerd Huisman Freddie King John Reddell Ronnie Barker Ed Nelson Lon Nol Gene Roddenberry Henry Lee Lucas Larry Harmon Carlos Montalbán Donald A. Wallance William Ching Robert W Crawford Shozo Shimamoto Gilbert Gude Charles Darwin Wilhelm Reich Chris Ullo Lon McCallister Joe Lang Kershaw Jerry Wexler Alfred A. Knopf, Sr. Billy Hall László Bóka Grady Johnson Charles P. Murray, Jr. Paul Smith Ferenc Ripka Jim Pash Martin Van Buren Antal Náray Edmund Muskie Norman Selfe Herbert Krause Ray Kroc Eugene Hamilton George Shearing Yegor Letov Gillo Pontecorvo Ludwig Erhard Major Owens Leon Gouré Malcolm Hamilton Milan Paumer Hashim Khan Dwight D. Eisenhower Lamont Johnson Frederick Sontag Paul Tibbets Benjamin Holman Spencer Leigh Hughes Wadih El Safi Ravi Shankar Tony Curtis Charles E. Chamberlain John Browning Cornell Henry Mayer Isamu Noguchi Charles M. Williams Brad Ecklund River Phoenix John Rogers Edward Ashley-Cooper Al Oerter Vasily Smyslov Sergei Mamchur Seiichirō Uno Friedrich Dürrenmatt Drafi Deutscher Aleksandr Solzhenitsyn Jerald terHorst Valentino Bompiani Aureliano Lessa Avraham Ravitz Kenneth N. Taylor G. Wood Shōsei Suzuki Albert Fuller Jerry Wallace Prince Takahito Mikasa Art Frantz Ricardo Montalbán Joseph Strick Shōkō Uemura Ike Pappas Jean-Claude Duvalier Roger C. Carmel Nelson Gidding Abraham Sofaer Georgios Grivas Joginder Singh John J. Pershing Buddy Miles Tim McIntire Daniel Fuchs Alvino Rey Douglas T. Jacobson John Howard Edward Kent Arthur Penn Elijah Muhammad John J. Gilligan John Taylor Hisayuki Sasaki John Victor Parker Elmer E. Rasmuson Lonnie Wright Wando Richard De Angelis Henry Braden Dave Brubeck Chester Gould Buddy McDonald Joe Wilder Martin Koeman James Joseph Rowley Jimmy Castor Ben Starr Igor Stravinsky
Hank Snow, Ricardo Montalbán, James Brown, John Rogers, Harold Cruse, Drafi Deutscher, Frederick Bayer, Mitsuo Komatsubara, Friedrich Dürrenmatt and Seiichirō Uno died from heart failure and are a male
Hank Snow Ricardo Montalbán James Brown John Rogers Harold Cruse Drafi Deutscher Frederick Bayer Mitsuo Komatsubara Friedrich Dürrenmatt Seiichirō Uno
action filter_type
action intersection
action find_reverse
entity heart failure
relation cause of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', 'heart failure'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:cause_of_death resource:heart_failure . ?u property:gender resource:male }
[]