Simple Question (Direct)
Simple Question
Q3229669
P509
Q2057971
USER
What lead to the death of Leonard Eron ?
(Q3229669,P509,c(Q2057971))
action filter_type
action find
entity Q3229669
relation P509
type Q2057971
['Q3229669', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { resource:Q3229669 property:P509 ?d . ?d rdf:type ontology:Q2057971 }
Leonard Eron
action filter_type
action find
entity Leonard Eron
relation cause of death
type health problem
['Leonard Eron', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { resource:Leonard_Eron property:cause_of_death ?d . ?d rdf:type ontology:health_problem }
[]
health problem
Q181754
SYSTEM
heart failure
Q181754
(Q3229669,P509,c(Q2057971))
action filter_type
action find
entity Q3229669
relation P509
type Q2057971
[ANSWER] lead to the death of Leonard Eron
['Q3229669', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { resource:Q3229669 property:P509 ?d . ?d rdf:type ontology:Q2057971 }
heart failure
Heart failure lead to the death of Leonard Eron
heart failure
action filter_type
action find
entity Leonard Eron
relation cause of death
type health problem
['Leonard Eron', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { resource:Leonard_Eron property:cause_of_death ?d . ?d rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181754
P1995
Q1047113
USER
Which special field is the medical speciality of that health problem ?
(Q181754,P1995,c(Q1047113))
action filter_type
action find
entity Q181754
relation P1995
type Q1047113
['Q181754', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q181754 property:P1995 ?i . ?i rdf:type ontology:Q1047113 }
heart failure
action filter_type
action find
entity heart failure
relation medical specialty
type special field
['heart failure', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:heart_failure property:medical_specialty ?i . ?i rdf:type ontology:special_field }
[]
special field
Q10379
SYSTEM
cardiology
Q10379
(Q181754,P1995,c(Q1047113))
action filter_type
action find
entity Q181754
relation P1995
type Q1047113
[ANSWER] is the medical speciality of that health problem
['Q181754', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q181754 property:P1995 ?i . ?i rdf:type ontology:Q1047113 }
cardiology
Cardiology is the medical speciality of that health problem
cardiology
action filter_type
action find
entity heart failure
relation medical specialty
type special field
['heart failure', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:heart_failure property:medical_specialty ?i . ?i rdf:type ontology:special_field }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q2736 Q181754
P509 P641
Q502895
USER
Which people had heart failure as the cause of death and are not linked with association football ?
AND((c(Q502895),P509,Q181754), NOT((c(Q502895),P641,Q2736)))
action filter_type
action difference
action find_reverse
entity Q181754
relation P509
action find_reverse
entity Q2736
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q181754'], {'NOT': [[{'concept': 'Q502895'}, 'P641', 'Q2736']]}]}
SELECT DISTINCT ?o WHERE { ?o property:P509 resource:Q181754 . FILTER NOT EXISTS { ?o property:P641 resource:Q2736 } . ?o rdf:type ontology:Q502895 }
association football heart failure
action filter_type
action difference
action find_reverse
entity heart failure
relation cause of death
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', 'heart failure'], {'NOT': [[{'concept': 'common name'}, 'sport', 'association football']]}]}
SELECT DISTINCT ?o WHERE { ?o property:cause_of_death resource:heart_failure . FILTER NOT EXISTS { ?o property:sport resource:association_football } . ?o rdf:type ontology:common_name }
[]
common name
Q3811608 Q3568502 Q204523 Q150767 Q4882948 Q6238789 Q5125255 Q467122 Q16014451 Q11644640
SYSTEM
Some of them are Justine Johnstone, William Ching, Wild Man Fischer, Benjamin Britten, Belita Woods, John Henry Devereux, Claire Malis, Ed Koch, Hermann Merkin, Mounet Satomi
Q11454713 Q451830 Q11461045 Q2313270 Q6197387 Q100989 Q4798779 Q236708 Q499583 Q271963 Q313525 Q271526 Q1520488 Q21585595 Q6238789 Q648366 Q1452797 Q4704849 Q326157 Q3290488 Q1797226 Q348979 Q5989294 Q4882948 Q539596 Q232245 Q462629 Q467122 Q24027089 Q181407 Q157777 Q2496 Q151040 Q240534 Q16019816 Q1452899 Q511124 Q1805782 Q1146351 Q9916 Q3143375 Q1078468 Q236914 Q11572383 Q367129 Q112307 Q7519259 Q1386097 Q16018786 Q602302 Q272383 Q276216 Q6075055 Q59729 Q561666 Q442374 Q182455 Q6223155 Q1738832 Q1035 Q6195738 Q132524 Q15977312 Q5677370 Q505831 Q859504 Q16016466 Q6498719 Q186492 Q462656 Q982401 Q342774 Q5478721 Q2748374 Q5950 Q104148 Q3470468 Q82409 Q2604 Q1355209 Q3005290 Q231923 Q34189 Q85918 Q5549731 Q543693 Q11383642 Q6304512 Q4164765 Q540244 Q454708 Q6186023 Q3039327 Q108597 Q4678235 Q2414258 Q16491211 Q5273483 Q204523 Q558149 Q210285 Q23794601 Q3293960 Q607935 Q5298245 Q2561138 Q5302017 Q200131 Q489540 Q5490012 Q345182 Q3486418 Q186359 Q1017087 Q78983 Q794637 Q2655002 Q5577 Q118447 Q5171541 Q14594727 Q16014451 Q312657 Q6213323 Q2341356 Q316202 Q506401 Q401864 Q5732864 Q15442474 Q150767 Q955307 Q347473 Q526106 Q6197328 Q1403472 Q35286 Q3807076 Q61108 Q15993485 Q1249298 Q450022 Q16856016 Q2342184 Q560770 Q13015173 Q5531454 Q2389215 Q446984 Q4714639 Q558368 Q19899749 Q1471618 Q557185 Q1680621 Q350704 Q55796 Q5326138 Q434889 Q6261322 Q3565843 Q5125255 Q7940510 Q11644640 Q1797523 Q310775 Q131004 Q3528672 Q74973 Q15992793 Q80760 Q11449903 Q1444495 Q5920045 Q546592 Q6254432 Q63071 Q5498756 Q456979 Q365633 Q5095186 Q710695 Q1856944 Q462465 Q123371 Q34453 Q313400 Q540874 Q4722601 Q104183 Q15452052 Q5660394 Q63189 Q3791180 Q2291028 Q436209 Q5042394 Q963893 Q11569763 Q1127623 Q191716 Q36789 Q4768460 Q3109976 Q311317 Q5293939 Q390768 Q3568502 Q7350771 Q2551656 Q254748 Q2757537 Q330621 Q455313 Q309643 Q3229669 Q321978 Q16014418 Q537722 Q382406 Q4133063 Q4912656 Q432562 Q202470 Q5081434 Q5366530 Q7314 Q1356064 Q7342065 Q4207699 Q11820 Q23068265 Q319867 Q11369432 Q15451712 Q319648 Q17287343 Q529258 Q349346 Q363371 Q53031 Q1333051 Q2152423 Q271931 Q5097140 Q101764 Q465474 Q2681113 Q3142946 Q2648565 Q16019790 Q34851 Q337145 Q294555 Q4888822 Q16043538 Q4115951 Q103774 Q162389 Q1064202 Q220520 Q5086041 Q442628 Q23481 Q4953905 Q106514 Q445429 Q554577 Q854908 Q52642 Q1956823 Q84412 Q63152 Q444180 Q280229 Q40701 Q433459 Q504901 Q1052458 Q5289582 Q11359307 Q2614411 Q6390517 Q1508648 Q11648912 Q4710253 Q1687883 Q1691652 Q456907 Q4796826 Q5550767 Q333595 Q34474 Q5995654 Q649899 Q1737377 Q4973520 Q2481925 Q4984910 Q1977003 Q234604 Q6312422 Q712817 Q3436512 Q3517020 Q718617 Q311719 Q1160785 Q273056 Q467364 Q80440 Q3807004 Q3811608 Q3181785 Q374960 Q41136 Q6260345 Q78931 Q472487 Q5772497 Q16090881 Q16017773 Q449664 Q3486426 Q8209261 Q2149299 Q16013350 Q80596 Q178250 Q1677123 Q289631 Q2452898 Q6137013 Q979084 Q16019801
AND((c(Q502895),P509,Q181754), NOT((c(Q502895),P641,Q2736)))
action filter_type
action difference
action find_reverse
entity Q181754
relation P509
action find_reverse
entity Q2736
relation P641
type Q502895
[ANSWERS] had heart failure as the cause of death and are not linked with association football
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q181754'], {'NOT': [[{'concept': 'Q502895'}, 'P641', 'Q2736']]}]}
SELECT DISTINCT ?o WHERE { ?o property:P509 resource:Q181754 . FILTER NOT EXISTS { ?o property:P641 resource:Q2736 } . ?o rdf:type ontology:Q502895 }
Hiroshi Miyagawa Lilyan Chauvin Mitsuo Komatsubara Rein van den Broek Jim Pash Hubert von Meyerinck Arthur Galston Julie Harris Joan Roberts James Van Allen Lionel Hampton Vilma Bánky Ralph Brazelton Peck Scooter Newman John Henry Devereux Hank Snow Frederick Bayer Al Stump Ted Kennedy Margaret Early Olavo Setúbal Ned Buntline William A. Mitchell Belita Woods Tessie O'Shea Virginia Mayo James Jones Ed Koch Kathinka Heinefetter Robert Middleton Jan Dismas Zelenka Ludwig Erhard Patriarch Alexius II Jeane Kirkpatrick Chris Ullo Howie Dallmar Semyon Lavochkin Rufus Thomas Allan Arbus Dwight D. Eisenhower Huntz Hall Alfred Drake María de Villota Masakazu Tamai Roy Rogers Lena Horne Simon Malley Ezra Taft Benson Johnnie High Jack Smith John J. Pershing Irene Manning Irwin Gunsalus Edward Kent William Windom Hope Summers Wilt Chamberlain John Bridgers Kenneth A. Roberts Charles Darwin Jim Horne Ayn Rand Theo Klouwer Harvey Kirck William Conrad Big Walter Horton Eugene Hamilton Laura Borden George S. Patton Edward Samuel Rogers Edward Gorey Frankie Laine Frances Horwich Jerome Moross James Brown Vasily Smyslov Samuel Dash Samuel Taylor Coleridge Pius XII Kalaparusha Maurice McIntyre Joginder Singh Marian Anderson Pablo Neruda Hans Riegel Geraldine Clinton Little Ed Nelson Shinji Satō Judy Lynn Abdel Moneim Madbouly John Taylor Gil Stratton Jess Stearn Lyle Talbot Dave Brubeck Ada Comstock Juanita Hansen Antônio Batista Vieira Dick Tufeld Wild Man Fischer Don Taylor David Schwarz Arthur Bye Marjorie Reynolds Arthur Shawcross Dorothea Holt Redmond Werner Felfe Douglas T. Jacobson Antônio Carlos Jobim Lamont Johnson Frank Tripucka Elijah Muhammad Rikiya Yasuoka Jean-Pierre Rampal Burt Topper Helmut Zilk Béla Bicsérdy Robin Olds Salvador Dalí Harold M. Ryan Cornell Henry Mayer Aaron Selber, Jr. Hermann Merkin Chuck Jones Joel Colton Leo Smit Gordon A. Craig Bil Keane Ahmet Hadžipašić Herb Carneal Robert Anderson Benjamin Britten H. R. F. Keating Pandro S. Berman Andy Hallett Jim Padgett Felix Frankfurter Warren G. Harding Janusz Kruk Alfred A. Knopf, Sr. Albert Seedman Ferenc Ripka Irene Sharaff Charles M. Williams Stella Sigcau Marshall Thompson Toon Jintavej Gene Smith Gene Rayburn Louise Moillon Alejandro R. Ruiz Gene Barry Richard Oswald Cowling Paul Smith B. K. S. Iyengar James J. Kilpatrick Max Steiner Peter Ustinov Earl W. Bascom Bob May John Trudeau Walter Francis O'Malley Claire Malis Josef Anýž Mounet Satomi Yoná Magalhães Jean-Claude Duvalier John Bodkin Adams Tim McIntire Gerhard Mayer-Vorfelder Henry Braden Buddy DeSylva Seiichirō Uno Frank Yerby Howard Judd Isao Tomita John Reddell Paul Schäfer Frederick Sontag J. Lee Thompson Dana Andrews Chiang Hsiao-wu Bobbejaan Schoepen Robert Drinan Esther Hautzig Hans Albert Einstein Boris Yeltsin Lon Nol Robert A. Roe Alfred Enos Woodward Lillian Gish John Rogers Harold Cruse Dana Wynter Kenji Eno Sjoerd Huisman Freddie King Carlos Montalbán Ronnie Barker Shintarō Kataoka Constance Baker Motley Gene Roddenberry Henry Lee Lucas Anne Howard Bailey Hiromi Yanagihara Isaac Stern Donald A. Wallance Jeanne L. Noble William Ching Robert W Crawford Shozo Shimamoto Jo Stafford Gilbert Gude Abraham Sofaer Beverly Aadland Ed Gein Leonard Eron Lon McCallister Joe Lang Kershaw Jerry Wexler Oliver Jackson Malcolm Hamilton Billy Hall Alvino Rey Grady Johnson Charles P. Murray, Jr. Elmer E. Rasmuson Igor Stravinsky Erna Haffner Robert Bernstein Alla Kazanskaya Martin Van Buren Antal Náray Edmund Muskie Sadanari Hisamatsu Herbert Krause Ray Kroc Matt Kailey Bunny Yeager George Shearing Yegor Letov Gillo Pontecorvo Elmo Hope Major Owens Marilyn French Chieko N. Okazaki Carolin van Bergen Milan Paumer Lonnie Wright Larry Harmon Hashim Khan Don Safran Elizabeth Taylor Coen van Vrijberghe de Coningh Paul Tibbets Benjamin Holman Spencer Leigh Hughes Wadih El Safi Ravi Shankar Tony Curtis Charles E. Chamberlain John Browning Charlotte Kohler Isamu Noguchi Friedrich Dürrenmatt Brad Ecklund River Phoenix Taylor Caldwell Edward Ashley-Cooper László Bóka Al Oerter Myron Waldman Wilhelm Reich Drafi Deutscher Helen Forrest Prince Takahito Mikasa Joseph Strick Kitty Carlisle Jerald terHorst Valentino Bompiani Dolours Price Shōkō Uemura Avraham Ravitz Kenneth N. Taylor G. Wood Shōsei Suzuki Albert Fuller Jerry Wallace Joe Wilder James P. Mitchell Art Frantz Gerhard Skrobek Ricardo Montalbán Aleksandr Solzhenitsyn Ike Pappas Carol Telbisz Kay Deslys Eugenia Price Roger C. Carmel Buddy McDonald Nelson Gidding Betty Friedan June Schofield Georgios Grivas Robert Waelder Ted D'Arms Billy Taylor Adlai Stevenson II Daniel Fuchs Nancy Parsons Leona Helmsley Anna Akhmatova Jane Froman Justine Johnstone John Howard John J. Gilligan Arthur Penn John Taylor Franz Stangl Buddy Miles Hisayuki Sasaki John Victor Parker Leon Gouré Miriam A. Ferguson Wando Aureliano Lessa Richard De Angelis John Yeon Arthur Miller Chester Gould Jack McDuff Norman Selfe Mildred Wolfe James Joseph Rowley Jimmy Castor Ben Starr
Justine Johnstone, William Ching, Wild Man Fischer, Benjamin Britten, Belita Woods, John Henry Devereux, Claire Malis, Ed Koch, Hermann Merkin and Mounet Satomi had heart failure as the cause of death and are not linked with association football
Justine Johnstone William Ching Wild Man Fischer Benjamin Britten Belita Woods John Henry Devereux Claire Malis Ed Koch Hermann Merkin Mounet Satomi
action filter_type
action difference
action find_reverse
entity heart failure
relation cause of death
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', 'heart failure'], {'NOT': [[{'concept': 'common name'}, 'sport', 'association football']]}]}
SELECT DISTINCT ?o WHERE { ?o property:cause_of_death resource:heart_failure . FILTER NOT EXISTS { ?o property:sport resource:association_football } . ?o rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person an inhabitant of ?
(Q6238789,P27,c(Q15617994))
['Q6238789', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6238789 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['John Henry Devereux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:John_Henry_Devereux property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q3811608
SYSTEM
Did you mean Justine Johnstone ?
(Q3811608,P27,c(Q15617994)) (Q3568502,P27,c(Q15617994)) (Q204523,P27,c(Q15617994)) (Q150767,P27,c(Q15617994)) (Q4882948,P27,c(Q15617994)) (Q6238789,P27,c(Q15617994)) (Q5125255,P27,c(Q15617994)) (Q467122,P27,c(Q15617994)) (Q16014451,P27,c(Q15617994)) (Q11644640,P27,c(Q15617994))
[ANSWER]
['Q3811608', 'P27', {'concept': 'Q15617994'}] ['Q3568502', 'P27', {'concept': 'Q15617994'}] ['Q204523', 'P27', {'concept': 'Q15617994'}] ['Q150767', 'P27', {'concept': 'Q15617994'}] ['Q4882948', 'P27', {'concept': 'Q15617994'}] ['Q6238789', 'P27', {'concept': 'Q15617994'}] ['Q5125255', 'P27', {'concept': 'Q15617994'}] ['Q467122', 'P27', {'concept': 'Q15617994'}] ['Q16014451', 'P27', {'concept': 'Q15617994'}] ['Q11644640', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6238789 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Justine Johnstone ?
Justine Johnstone
['Justine Johnstone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['William Ching', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Wild Man Fischer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Benjamin Britten', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Belita Woods', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['John Henry Devereux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Claire Malis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ed Koch', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Hermann Merkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mounet Satomi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:John_Henry_Devereux property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant John Henry Devereux. Could you tell me the answer for that?
(Q6238789,P27,c(Q15617994))
Q6238789
['Q6238789', 'P27', {'concept': 'Q15617994'}]
['John Henry Devereux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q6238789,P27,c(Q15617994))
[ANSWER]
['Q6238789', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6238789 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['John Henry Devereux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:John_Henry_Devereux property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q3568502
P161 P364
Q838948
USER
Which works of art do William Ching star in and were originally created in English language ?
AND((c(Q838948),P161,Q3568502), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3568502
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3568502'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q3568502 . ?i property:P364 resource:Q1860 . ?i rdf:type ontology:Q838948 }
English William Ching
action filter_type
action intersection
action find_reverse
entity William Ching
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'William Ching'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:William_Ching . ?i property:original_language_of_work resource:English . ?i rdf:type ontology:work_of_art }
[]
work of art
Q3220624 Q2917211 Q3228227 Q3824771 Q2031626 Q1305455 Q2056799
SYSTEM
The Magnificent Matador, Scared Stiff, The Moonlighter, The Wistful Widow of Wagon Gap, Pat and Mike, In a Lonely Place, Give a Girl a Break
Q3220624 Q2917211 Q3228227 Q3824771 Q2031626 Q1305455 Q2056799
AND((c(Q838948),P161,Q3568502), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3568502
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
William Ching star in [ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3568502'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q3568502 . ?i property:P364 resource:Q1860 . ?i rdf:type ontology:Q838948 }
The Magnificent Matador Scared Stiff The Moonlighter The Wistful Widow of Wagon Gap Pat and Mike In a Lonely Place Give a Girl a Break
William Ching star in The Magnificent Matador, Scared Stiff, The Moonlighter, The Wistful Widow of Wagon Gap, Pat and Mike, In a Lonely Place and Give a Girl a Break
The Magnificent Matador Scared Stiff The Moonlighter The Wistful Widow of Wagon Gap Pat and Mike In a Lonely Place Give a Girl a Break
action filter_type
action intersection
action find_reverse
entity William Ching
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'William Ching'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:William_Ching . ?i property:original_language_of_work resource:English . ?i rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3220624
P57
Q502895
USER
Who directed that work of art ?
(Q3220624,P57,c(Q502895))
action filter_type
action find
entity Q3220624
relation P57
type Q502895
['Q3220624', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q3220624 property:P57 ?t }
The Magnificent Matador
action filter_type
action find
entity The Magnificent Matador
relation director
type common name
['The Magnificent Matador', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:The_Magnificent_Matador property:director ?t }
[]
common name
Clarification for simple ques.
Q2031626
SYSTEM
Did you mean Pat and Mike ?
Q3220624 Q2917211 Q3228227 Q3824771 Q2031626 Q1305455 Q2056799
(Q3220624,P57,c(Q502895)) (Q2917211,P57,c(Q502895)) (Q3228227,P57,c(Q502895)) (Q3824771,P57,c(Q502895)) (Q2031626,P57,c(Q502895)) (Q1305455,P57,c(Q502895)) (Q2056799,P57,c(Q502895))
[ANSWER]
['Q3220624', 'P57', {'concept': 'Q502895'}] ['Q2917211', 'P57', {'concept': 'Q502895'}] ['Q3228227', 'P57', {'concept': 'Q502895'}] ['Q3824771', 'P57', {'concept': 'Q502895'}] ['Q2031626', 'P57', {'concept': 'Q502895'}] ['Q1305455', 'P57', {'concept': 'Q502895'}] ['Q2056799', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q3220624 property:P57 ?t }
The Magnificent Matador Scared Stiff The Moonlighter The Wistful Widow of Wagon Gap Pat and Mike In a Lonely Place Give a Girl a Break
Did you mean Pat and Mike ?
Pat and Mike
['The Magnificent Matador', 'director', {'concept': 'common name'}] ['Scared Stiff', 'director', {'concept': 'common name'}] ['The Moonlighter', 'director', {'concept': 'common name'}] ['The Wistful Widow of Wagon Gap', 'director', {'concept': 'common name'}] ['Pat and Mike', 'director', {'concept': 'common name'}] ['In a Lonely Place', 'director', {'concept': 'common name'}] ['Give a Girl a Break', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:The_Magnificent_Matador property:director ?t }
[]
Simple Question (Coreferenced)
USER
No, I meant The Magnificent Matador. Could you tell me the answer for that?
(Q3220624,P57,c(Q502895))
Q3220624
['Q3220624', 'P57', {'concept': 'Q502895'}]
['The Magnificent Matador', 'director', {'concept': 'common name'}]
[]
Q51466
SYSTEM
Budd Boetticher
Q51466
(Q3220624,P57,c(Q502895))
action filter_type
action find
entity Q3220624
relation P57
type Q502895
[ANSWER] directed that work of art
['Q3220624', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q3220624 property:P57 ?t }
Budd Boetticher
Budd Boetticher directed that work of art
Budd Boetticher
action filter_type
action find
entity The Magnificent Matador
relation director
type common name
['The Magnificent Matador', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:The_Magnificent_Matador property:director ?t }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q749629
P725
Q502895 Q15416
USER
Which television programs did greater number of people do the dubbing for than Kid vs. Kat ?
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q749629
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?h ) WHERE { ?z property:P725 ?f . ?z rdf:type ontology:Q15416 . ?f rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q749629 property:P725 ?j . ?j rdf:type ontology:Q15416 } } . FILTER ( ?h > ?k ) }
Kid vs. Kat
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Kid vs. Kat
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?h ) WHERE { ?z property:voice_actor ?f . ?z rdf:type ontology:television_program . ?f rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Kid_vs._Kat property:voice_actor ?j . ?j rdf:type ontology:television_program } } . FILTER ( ?h > ?k ) }
[]
common name television program
Q23558 Q15863567 Q15863577
SYSTEM
House, K-On!, K-On!!
Q689114 Q467722 Q2042834 Q239937 Q23558 Q15863567 Q1857269 Q951078 Q15176855 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q483106 Q633432 Q12019559 Q18558839 Q428130 Q5139461 Q18559016 Q17183708 Q18575654 Q15039539 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q749629
relation P725
type Q15416
[ANSWERS] greater number of people did the dubbing for than Kid vs. Kat
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?h ) WHERE { ?z property:P725 ?f . ?z rdf:type ontology:Q15416 . ?f rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q749629 property:P725 ?j . ?j rdf:type ontology:Q15416 } } . FILTER ( ?h > ?k ) }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie Pokémon House K-On! Rio: Rainbow Gate! Hellsing Wizard Barristers: Benmashi Cecil The Big O 101 Dalmatians: The Series Reynard the Fox Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Soul Eater Darker than Black Wacky Races Gravity Falls Shimmer and Shine Freezing The Emperor's New School Free! Soul Eater Not! Sonic X Engage Planet Kiss Dum Berserk The 7D Trigun The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
House, K-On! and K-On!! greater number of people did the dubbing for than Kid vs. Kat
House K-On! K-On!!
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Kid vs. Kat
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?h ) WHERE { ?z property:voice_actor ?f . ?z rdf:type ontology:television_program . ?f rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Kid_vs._Kat property:voice_actor ?j . ?j rdf:type ontology:television_program } } . FILTER ( ?h > ?k ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5590 Q1305455
P58
Q502895
USER
Which people served as the screenwriter for In a Lonely Place or Four Lions ?
OR((Q1305455,P58,c(Q502895)), (Q5590,P58,c(Q502895)))
action filter_type
action union
action find
entity Q1305455
relation P58
action find
entity Q5590
relation P58
type Q502895
{'OR': [['Q1305455', 'P58', {'concept': 'Q502895'}], ['Q5590', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q1305455 ) ( resource:Q5590 ) } . ?v property:P58 ?e } . ?e rdf:type ontology:Q502895 }
Four Lions In a Lonely Place
action filter_type
action union
action find
entity In a Lonely Place
relation screenwriter
action find
entity Four Lions
relation screenwriter
type common name
{'OR': [['In a Lonely Place', 'screenwriter', {'concept': 'common name'}], ['Four Lions', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:In_a_Lonely_Place ) ( resource:Four_Lions ) } . ?v property:screenwriter ?e } . ?e rdf:type ontology:common_name }
[]
common name
Q3048171 Q1778440 Q1286383
SYSTEM
Jesse Armstrong, Dorothy B. Hughes, Edmund H. North
Q3048171 Q1778440 Q1286383
OR((Q1305455,P58,c(Q502895)), (Q5590,P58,c(Q502895)))
action filter_type
action union
action find
entity Q1305455
relation P58
action find
entity Q5590
relation P58
type Q502895
[ANSWERS] served as the screenwriter for In a Lonely Place or Four Lions
{'OR': [['Q1305455', 'P58', {'concept': 'Q502895'}], ['Q5590', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:Q1305455 ) ( resource:Q5590 ) } . ?v property:P58 ?e } . ?e rdf:type ontology:Q502895 }
Jesse Armstrong Dorothy B. Hughes Edmund H. North
Jesse Armstrong, Dorothy B. Hughes and Edmund H. North served as the screenwriter for In a Lonely Place or Four Lions
Jesse Armstrong Dorothy B. Hughes Edmund H. North
action filter_type
action union
action find
entity In a Lonely Place
relation screenwriter
action find
entity Four Lions
relation screenwriter
type common name
{'OR': [['In a Lonely Place', 'screenwriter', {'concept': 'common name'}], ['Four Lions', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?v ) { ( resource:In_a_Lonely_Place ) ( resource:Four_Lions ) } . ?v property:screenwriter ?e } . ?e rdf:type ontology:common_name }
[]