Simple Question (Direct)
Simple Question
Q3127947
P21
Q290
USER
Which sex does Harry Young possess ?
(Q3127947,P21,c(Q290))
action filter_type
action find
entity Q3127947
relation P21
type Q290
['Q3127947', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3127947 property:P21 ?y . ?y rdf:type ontology:Q290 }
Harry Young
action filter_type
action find
entity Harry Young
relation gender
type sex
['Harry Young', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Harry_Young property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3127947,P21,c(Q290))
action filter_type
action find
entity Q3127947
relation P21
type Q290
[ANSWER]
['Q3127947', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3127947 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Harry Young
relation gender
type sex
['Harry Young', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Harry_Young property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1029
Q502895 Q1656682 Q12973014
USER
Which people were crew members of min number of events and sports teams ?
(c(Q1656682)|c(Q12973014),P1029,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[[{'concept': 'Q1656682'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q12973014 ) ( ontology:Q1656682 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P1029 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q1656682 } UNION { ?h property:P1029 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12973014 } } GROUP BY ?c } . FILTER ( ?y = ?u ) }
action argmin
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
[[{'concept': 'event'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:sports_team ) ( ontology:event ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:crew_member ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:event } UNION { ?h property:crew_member ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:sports_team } } GROUP BY ?c } . FILTER ( ?y = ?u ) }
[]
common name event sports team
Q364451 Q7327 Q1615
SYSTEM
Georgy Beregovoy, Yuri Gagarin, Neil Armstrong
Q227030 Q237470 Q41432 Q120793 Q21767 Q29527 Q2896833 Q49285 Q268089 Q513131 Q518012 Q1371854 Q1345924 Q471486 Q221615 Q51773 Q709634 Q1371289 Q717641 Q55177 Q554409 Q463833 Q235047 Q55178 Q470059 Q975283 Q8070347 Q632907 Q315737 Q472497 Q1407313 Q310924 Q261731 Q235580 Q1174077 Q254298 Q23012291 Q498775 Q313957 Q1064074 Q63610 Q254058 Q235567 Q215124 Q262359 Q448538 Q730170 Q537279 Q720182 Q719911 Q535157 Q456840 Q7327 Q935510 Q234306 Q363976 Q727902 Q2036814 Q497530 Q706939 Q375202 Q147581 Q1339046 Q23015616 Q358931 Q440266 Q912120 Q448547 Q455669 Q382184 Q461872 Q722667 Q166616 Q41575 Q378952 Q264460 Q1334023 Q182642 Q561878 Q520760 Q1384788 Q938350 Q502101 Q507894 Q5975593 Q1336455 Q944386 Q461807 Q957250 Q644029 Q159681 Q210268 Q611704 Q81129 Q466069 Q520166 Q382247 Q448167 Q1545374 Q706899 Q557082 Q725233 Q313543 Q235523 Q265261 Q215002 Q357468 Q534597 Q185560 Q728371 Q215009 Q318513 Q363250 Q467623 Q237879 Q721397 Q957368 Q975217 Q948673 Q180499 Q985049 Q461788 Q23015561 Q357510 Q14623220 Q948775 Q23012700 Q1338925 Q440251 Q375659 Q1162918 Q1926804 Q531065 Q24094 Q444299 Q706916 Q45137 Q355433 Q24176131 Q1068686 Q23012832 Q560360 Q375631 Q41632 Q252726 Q706965 Q708689 Q361859 Q520334 Q362819 Q720361 Q7086024 Q499628 Q362209 Q203026 Q704147 Q506349 Q268912 Q110450 Q704639 Q351839 Q379039 Q1338950 Q520618 Q433337 Q461840 Q488008 Q383515 Q360433 Q1371840 Q978562 Q3492123 Q376688 Q390344 Q457075 Q505439 Q29515 Q471513 Q446917 Q1394857 Q210184 Q41597 Q254985 Q1507223 Q450834 Q1239684 Q1373458 Q362902 Q281819 Q727572 Q557058 Q634822 Q539337 Q1018622 Q724552 Q215131 Q59664 Q44371 Q709921 Q1338912 Q3294252 Q466483 Q708452 Q798166 Q438844 Q523835 Q920936 Q104859 Q361415 Q465748 Q440178 Q240769 Q1385654 Q350420 Q4103224 Q372215 Q535280 Q312833 Q1376966 Q441017 Q23012293 Q706739 Q362180 Q4831087 Q1866915 Q707736 Q519268 Q232441 Q434555 Q229635 Q448491 Q573719 Q464166 Q32266 Q528943 Q1899032 Q461887 Q722679 Q1076962 Q17279874 Q345678 Q375065 Q345288 Q539385 Q3030934 Q447311 Q318965 Q826866 Q722127 Q519256 Q739214 Q1338348 Q460161 Q48998 Q471380 Q313399 Q210382 Q280301 Q143103 Q49064 Q557066 Q1372222 Q2036770 Q562168 Q233795 Q528832 Q716333 Q317382 Q25011 Q453764 Q314921 Q20119965 Q23015199 Q352137 Q17478723 Q462132 Q536632 Q935071 Q375566 Q720172 Q641389 Q1355634 Q722390 Q719926 Q660570 Q467732 Q347977 Q336810 Q45139 Q368793 Q719635 Q3197699 Q213076 Q213605 Q260217 Q472491 Q304171 Q3157177 Q1373573 Q519149 Q70468 Q344892 Q152298 Q24083 Q112284 Q707626 Q3194085 Q1266359 Q382176 Q376165 Q104865 Q346671 Q324774 Q454649 Q5970982 Q41606 Q1173930 Q348205 Q488043 Q928034 Q706859 Q468250 Q468258 Q720351 Q334084 Q312474 Q260329 Q77349 Q466513 Q342953 Q446531 Q706849 Q718729 Q297801 Q446692 Q74018 Q1322669 Q116962 Q74015 Q320068 Q956842 Q52923 Q2252 Q318934 Q447264 Q27336250 Q361932 Q644837 Q573473 Q463086 Q52495 Q52494 Q487622 Q574124 Q472683 Q457064 Q749845 Q360038 Q658221 Q557585 Q722513 Q1494855 Q374034 Q1333261 Q358525 Q350317 Q235266 Q5975489 Q294555 Q717654 Q215142 Q215140 Q281604 Q240708 Q197135 Q709935 Q152318 Q709931 Q379946 Q722142 Q335503 Q78552 Q718499 Q971200 Q45082 Q2899473 Q32305 Q705636 Q703321 Q12865 Q535172 Q555679 Q540379 Q365317 Q317792 Q21842 Q71248 Q21706101 Q724082 Q462853 Q448243 Q442233 Q289337 Q1338895 Q239960 Q232692 Q434546 Q643556 Q433046 Q24188587 Q448563 Q23012814 Q29648 Q446243 Q963226 Q461777 Q432752 Q431006 Q447304 Q493699 Q3329196 Q1376909 Q607394 Q1800097 Q2655329 Q938428 Q461821 Q434409 Q822249 Q1065133 Q725848 Q520384 Q535831 Q692263 Q1372276 Q430996 Q447057 Q720160 Q7454059 Q11993310 Q554415 Q325205 Q255764 Q732906 Q362998 Q451259 Q1323571 Q1338436 Q609639 Q49819 Q505530 Q2036753 Q539358 Q440303 Q17177 Q154269 Q1904202 Q501697 Q718630 Q216726 Q240701 Q362190 Q1385274 Q448520 Q720194 Q1341315 Q334463 Q266359 Q353687 Q491064 Q507046 Q348358 Q434232 Q730220 Q285944 Q313815 Q258385 Q519124 Q465724 Q362261 Q237473 Q956160 Q711010 Q364451 Q283544 Q446720 Q644705 Q620632 Q108886 Q378949 Q461860 Q473221 Q7911436 Q318542 Q995007 Q29618 Q1393554 Q360060 Q487984 Q722106 Q7468 Q460440 Q703865 Q1429300 Q725339 Q352069 Q319269 Q512266 Q201797 Q720124 Q1615 Q45080 Q110879 Q703819 Q358437 Q708489 Q708484 Q520176 Q465461 Q1384803 Q2032646 Q649109 Q49035 Q49269 Q357450 Q706978 Q157931 Q214974 Q49264 Q295873 Q448872 Q443994 Q719921 Q1064149 Q470256 Q386148 Q219569 Q3116390 Q240776 Q746108 Q592219 Q536777 Q3476196 Q433608 Q449706 Q705626 Q1591872 Q52046 Q461795 Q34091 Q375641 Q32295 Q57229 Q426836 Q725659 Q118490 Q381541 Q1240263 Q362220 Q382150 Q342338 Q448470 Q540108 Q29650 Q434205 Q446233 Q345658 Q19839428 Q521395 Q535234 Q502963 Q499636 Q449577 Q447334 Q19831446 Q1376469 Q5543066
(c(Q1656682)|c(Q12973014),P1029,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[ANSWERS]
[[{'concept': 'Q1656682'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q12973014 ) ( ontology:Q1656682 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P1029 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q1656682 } UNION { ?h property:P1029 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12973014 } } GROUP BY ?c } . FILTER ( ?y = ?u ) }
Mark Shuttleworth Anna Lee Fisher Robert L. Stewart Douglas G. Hurley Tracy Caldwell Dyson Jan Davis Benito Guerra, Jr. Sally Ride Dani Sordo Kenneth Cockrell Timothy Peake Michael R. Clifford Jeffrey Ashby Viktor Afanasyev Aleksandr Viktorenko Heidemarie Stefanyshyn-Piper Valery Korzun Mark N. Brown Loren Shriver Sunita Williams Barry E. Wilmore Vance D. Brand Barbara Morgan Stephanie Wilson Liu Wang Thierry Neuville Zhang Xiaoguang Leland D. Melvin Robert Crippen Valery Ryumin Terence T. Henricks Alan Bean Evgeny Tarelkin Claudie Haigneré David Leestma Margaret Rhea Seddon Nicolas Klinger Robert L. Gibson Sheikh Muszaphar Shukor Charles D. Walker Robert Satcher Patrick Baudry Nicole Stott Ulf Merbold Tamara E. Jernigan Boris Volynov Yuri Shargin Steven Swanson Mike Mullane Jeffrey A. Hoffman Valentin Lebedev Georgi Ivanov Yuri Gagarin Joe F. Edwards Chiaki Mukai Jack R. Lousma Sergei Treshchov Albert Sacco Brewster H. Shaw Dominic L. Pudwill Gorie Michael López-Alegría Yang Liwei Michel Tognini Volodymyr Korsia Garrett Reisman Dominic A. Antonelli Brian Duffy Pedro Duque Yevgeny Khrunov Vitaly Zholobov Gregory Chamitoff Charles E. Brady Thomas Reiter Susan J. Helms Kenneth D. Cameron Ellen S. Baker Ronald M. Sega John Glenn Michael Foreman Yuri Baturin Kent Rominger Carlos I. Noruega Andrei Borisenko Andy Thomas Takuya Onishi Lawrence J. DeLucas Wubbo Ockels Maksim Surayev Jerome Apt Robert J. Cenker Valery Bykovsky Richard E. Byrd James D. Halsell Jügderdemidiin Gürragchaa Vladimir Titov Gregory H. Johnson Scott Altman Ivan Bella Gregory J. Harbaugh Nicholas Patrick Liu Boming Bjarni Tryggvason Ronald Evans Peggy Whitson Janet L. Kavandi Ernst Messerschmid Guy Laliberté Robert A. Parker William Frederick Fisher Vasily Tsibliyev Gerhard Thiele Ken Mattingly Donald Pettit Oleg Grigoryevich Makarov Kalpana Chawla Jean-Pierre Haigneré Franco Malerba Sergei Revin Daniel W. Bursch Karol J. Bobko Sherwood C. Spring David Wolf Simone Scattolin Mark Kelly Adolf Schönberg Robert Curbeam Anders Jæger John Casper Michael Barratt Oleg Kononenko Daniel T. Barry Michael A. Baker Steve MacLean Paul W. Richards Aleksandr Panayotov Aleksandrov Satoshi Furukawa Lee Morin Georgy Dobrovolsky Brad Winderbaum Ott Tänak John Kennard Talgat Musabayev Daniel M. Tani Marsha Ivins Vitaly Sevastyanov Michael T. Good Vladimir Vasyutin Alexander Woollcott Mikhail Korniyenko Aleksandr Serebrov Steven R. Nagel Oleg Artemyev Andreas Mikkelsen John M. Grunsfeld Sergei Zalyotin Michael L. Gernhardt Andrew M. Allen Mary Ellen Weber Wally Schirra Rodolfo Neri Vela Jari-Matti Latvala Samantha Cristoforetti Roy D. Bridges Richard M. Linnehan Linda M. Godwin Jing Haipeng Anatoli Levchenko Jerry L. Ross Franklin Chang Díaz Richard A. Searfoss Frederick W. Leslie Yelena Serova Yury Usachov Edward Gibson Mads Østberg Piers Sellers Nancy J. Currie John D. Olivas Joseph P. Kerwin Luca Parmitano Dennis Tito Joan Higginbotham Vladimír Remek G. David Low Lev Dyomin Donald A. Thomas Thomas J. Hennen Arnoldo Tamayo Méndez Pierre J. Thuot Umberto Guidoni Donald H. Peterson James van Hoften Thomas Akers Byron K. Lichtenberg Jim Wetherbee Reinhard Furrer Julien Ingrassia Valentina Tereshkova William S. McArthur Sonny Carter Mark T. Vande Hei Aleksandr Pavlovich Aleksandrov Aleksandr Laveykin James H. Newman Gregory Olsen Robert L. Behnken Ken Bowersox Michael Collins Mirosław Hermaszewski Aleksei Gubarev Vyacheslav Zudov Julie Payette Nils Strindberg Salomon August Andrée Theodore Van Kirk Walter Cunningham Yury Vasilyevich Malyshev Gordon Cooper Kevin P. Chilton Ronald J. Garan Benjamin Veillas Scott E. Parazynski Mikhail Tyurin Aydyn Aimbetov L. Blaine Hammond Taylor Wang C. Gordon Fullerton Laurel Clark Georgy Grechko Eileen Collins Yuri Gidzenko Winston E. Scott Kathryn D. Sullivan Duane G. Carey Guion Bluford Mario Runco, Jr. Takao Doi Jean-François Clervoy Chris Hadfield Lorenzo Bertelli Roger Bruce Chaffee Stuart Roosa Aleksandr Kaleri Alfred Worden Michael S. Hopkins Anatoly Solovyev Fred Haise Bernt Balchen Randolph Bresnik Jake Garn James F. Reilly Thomas David Jones Henry Hartsfield Susan Kilrain Dafydd Williams Vladimir Shatalov Yi So-Yeon Igor Volk Norman Thagard Sandra Magnus Frederick D. Gregory Michael J. McCulley Richard N. Richards Eugene H. Trinh Shannon Lucid James S. Voss Jose M. Hernandez Christer Fuglesang Charles Bolden Sergei Avdeyev Vladimir Kovalyonok Eric Camilli Jan Tománek Boris Yegorov Hans-Kurt von Bremen Story Musgrave Paul J. Weitz Jean-Jacques Favier Koichi Wakata Terry Hart Nikolai Budarin Gregory T. Linteris Karl Gordon Henize William E. Thornton Steven Hawley Musa Manarov Fyodor Yurchikhin Deke Slayton Paul Lockhart Sébastien Ogier Lodewijk van den Berg Kjell N. Lindgren Pete Conrad Hans Schlegel Kenneth Ham Gennadi Sarafanov Martin Prokop Jack D. Fischer William A. Pailes Robert F. Overmyer Otto von Bülow Fei Junlong Gherman Titov James M. Kelly Charles Duke Don L. Lind Kathleen Rubins Philippe Perrin Daniel C. Burbank William B. Lenoir Vladimir Komarov Rick Husband William G. Gregory André Kuipers Norishige Kanai Kathryn P. Hire David C. Hilmers Viktor Gorbatko Anatoly Filipchenko Aleksandr Samokutyayev Stanley G. Love Vladimir Aksyonov Toktar Aubakirov David M. Walker Thomas Grenville Andriyan Nikolayev Joseph R. Tanner Abdul Ahad Mohmand Vladimir Dzhanibekov Yuri Malenchenko Aleksandr Ivanchenkov Kevin A. Ford John Oliver Creighton James Irwin Dumitru Prunariu James Dutton Kevin R. Kregel Claude Nicollier Dorothy M. Metcalf-Lindenburger Konstantin Feoktistov Maurizio Cheli Janice E. Voss Edwin Aldrin Jr. Joseph M. Acaba Clayton Anderson Chen Dong William Shepherd Gerald P. Carr Charles L. Veach Stephen Bowen Frank De Winne Dirk Frimout Anatoli Ivanishin Anthony W. England Nie Haisheng Roman Romanenko Roger K. Crouch Valery Rozhdestvensky Richard O. Covey Stephen Robinson Daniel Brandenstein Gary Payton Joe Engle Peter Wisoff Viktor Patsayev David M. Brown Liu Yang Kimiya Yui Paul Tibbets Donald E. Williams Ulrich Walter Reinhold Ewald Boris Morukov Shannon Walker Zhai Zhigang Leroy Chiao Svetlana Savitskaya Ed Lu Sultan bin Salman Al Saud Dmitri Kondratyev Scott Carpenter Franz Viehböck Jon McBride James A. Pawelczyk John Herrington Bert Acosta Stephen Frick Frank L. Culbertson Marc Garneau Bertalan Farkas Vladimir Solovyov Aleksandr Aleksandrovich Skvortsov Michael Foale Vasily Lazarev Valeri Polyakov Mary L. Cleave Alexander Gerst Raigo Mõlder Alan Blumlein Richard R. Arnold Lee Archambault Richard H. Truly Kathryn C. Thornton Jay C. Buckey Pamela Melroy Naoko Yamazaki Pyotr Klimuk Alvin Drew Leonid Popov Jake Morrison John L. Phillips Borja Rozada Patrick Forrester Millie Hughes-Fulford Oleg Novitskiy Timothy Creamer Valeri Kubasov Viktor Savinykh Rex J. Walheim Paul Scully-Power Sergey Ryazansky Guy Gardner Richard Hieb Carl J. Meade Alexander Misurkin Terrence W. Wilcutt Eric Boe Georgy Shonin Bernard A. Harris, Jr. Charles J. Precourt William Oefelein Thomas Marshburn Vladimir Dezhurov James Buchli Stephen S. Oswald Muhammed Faris Christopher Ferguson John M. Fabian Sergey Ryzhikov Ola Fløene Terry W. Virts Rakesh Sharma Yelena Kondakova Loren Acton Gennady Padalka Yury Artyukhin Kenneth S. Reightler, Jr. Robert D. Cabana John E. Blaha Charles Simonyi Andrew J. Feustel Robert C. Springer Yury Lonchakov Timothy Kopra Paolo Nespoli Alexey Leonov Martin J. Fettman John M. Lounge James P. Bagian Edward Higgins White K. Megan McArthur Scott Kelly Ronald A. Parise Roberto Vittori Michael Coats Knut Frænkel William C. McCool Nikolay Rukavishnikov Pham Tuan Ronald J. Grabe Owen K. Garriott Jack Swigert Michael E. Fossum Salizhan Sharipov Toyohiro Akiyama Sergei Krikalev Roberta Bondar George Nelson Anatoly Berezovoy Michael Fincke Helen Sharman Gennadi Manakov Aleksandr Poleshchuk Georgy Beregovoy Sergey Alexandrovich Volkov Yury Romanenko Carl E. Walz Aleksandr Lazutkin Harrison Schmitt Steven Smith Douglas H. Wheelock Mark L. Polansky Valeriy Gorban Michael P. Anderson Bryan D. O'Connor Bonnie J. Dunbar John-David F. Bartoe Leonid Kizim Anatoly Artsebarsky Gregory C. Johnson Catherine Coleman William R. Pogue Michael J. Bloomfield William F. Readdy Brent W. Jett Léopold Eyharts Richard Garriott Thomas Pesquet F. Drew Gaffney Frederick Hauck Neil Armstrong Charles Camarda Gus Grissom Scott J. Horowitz Bill Nelson Yury Onufriyenko Oleg Atkov Robert S. Kimbrough Yury Glazkov Samuel T. Durrance Sidney M. Gutierrez James C. Adamson Wendy B. Lawrence Ellen Ochoa Soichi Noguchi Frederick W. Sturckow Pavel Belyayev Klaus-Dietrich Flade Lisa Nowak Edgar Mitchell Valeri Tokarev Joseph P. Allen S. David Griggs Charles D. Gemar Gennadi Strekalov Curtis Brown Ilan Ramon Gregory Reid Wiseman Karen L. Nyberg Mark C. Lee Anton Shkaplerov Richard Mastracchio Scott D. Tingle Bruce McCandless II Donn F. Eisele Wang Yaping Hayden Paddon Christopher Cassidy Robert Thirsk Mae C. Jemison Akihiko Hoshide Michael J. Massimino Sigmund Jähn Dale Gardner Aleksandr Nikolayevich Balandin Pavel Popovich Aleksei Yeliseyev Donald R. McMonagle Alan G. Poindexter Leonid Kadeniuk Oleg Kotov Steven Lindsey Bruce E. Melnick Charles O. Hobaugh Jean-Loup Chrétien Aleksandr Aleksandrovich Volkov Vladislav Volkov Cécile Dionne Mamoru Mohri Konstantin Kozeyev Richard F. Gordon Andreas Mogensen Vladimir Lyakhov George D. Zamka Yvonne Dionne Jerry M. Linenger George Otto Noville
Georgy Beregovoy Yuri Gagarin Neil Armstrong
action argmin
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
[[{'concept': 'event'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:sports_team ) ( ontology:event ) } } GROUP BY ?q } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:crew_member ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:event } UNION { ?h property:crew_member ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:sports_team } } GROUP BY ?c } . FILTER ( ?y = ?u ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7327
P106
Q12737077
USER
What do that person do for a living ?
(Q7327,P106,c(Q12737077))
action filter_type
action find
entity Q7327
relation P106
type Q12737077
['Q7327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q7327 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Yuri Gagarin
action filter_type
action find
entity Yuri Gagarin
relation occupation
type occupation
['Yuri Gagarin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Yuri_Gagarin property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q7327
SYSTEM
Did you mean Yuri Gagarin ?
Q364451 Q7327 Q1615
(Q364451,P106,c(Q12737077)) (Q7327,P106,c(Q12737077)) (Q1615,P106,c(Q12737077))
[ANSWER]
['Q364451', 'P106', {'concept': 'Q12737077'}] ['Q7327', 'P106', {'concept': 'Q12737077'}] ['Q1615', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q7327 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Georgy Beregovoy Yuri Gagarin Neil Armstrong
Did you mean Yuri Gagarin ?
Yuri Gagarin
['Georgy Beregovoy', 'occupation', {'concept': 'occupation'}] ['Yuri Gagarin', 'occupation', {'concept': 'occupation'}] ['Neil Armstrong', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Yuri_Gagarin property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7327,P106,c(Q12737077))
['Q7327', 'P106', {'concept': 'Q12737077'}]
['Yuri Gagarin', 'occupation', {'concept': 'occupation'}]
[]
Q1930187 Q11631 Q2095549
SYSTEM
journalist, astronaut, aviator
Q1930187 Q11631 Q2095549 Q189290
(Q7327,P106,c(Q12737077))
action filter_type
action find
entity Q7327
relation P106
type Q12737077
[ANSWERS]
['Q7327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q7327 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
journalist astronaut aviator officer
journalist astronaut aviator
action filter_type
action find
entity Yuri Gagarin
relation occupation
type occupation
['Yuri Gagarin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Yuri_Gagarin property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7327
P106
Q502895
USER
Do Yuri Gagarin have the profession of those occupations ?
(Q7327,P106,Q1930187) (Q7327,P106,Q11631) (Q7327,P106,Q2095549)
action is_in
entity prev_answer
action find
entity Q7327
relation P106
['Q7327', 'P106', 'Q1930187'] ['Q7327', 'P106', 'Q11631'] ['Q7327', 'P106', 'Q2095549']
ASK WHERE { resource:Q7327 property:P106 ?s . VALUES ( ?s ) { ( resource:Q1930187 ) ( resource:Q11631 ) ( resource:Q2095549 ) } }
Yuri Gagarin
action is_in
entity prev_answer
action find
entity Yuri Gagarin
relation occupation
['Yuri Gagarin', 'occupation', 'journalist'] ['Yuri Gagarin', 'occupation', 'astronaut'] ['Yuri Gagarin', 'occupation', 'aviator']
ASK WHERE { resource:Yuri_Gagarin property:occupation ?s . VALUES ( ?s ) { ( resource:journalist ) ( resource:astronaut ) ( resource:aviator ) } }
[]
common name
SYSTEM
YES
(Q7327,P106,Q1930187) (Q7327,P106,Q11631) (Q7327,P106,Q2095549)
action is_in
entity prev_answer
action find
entity Q7327
relation P106
[ANSWER]
['Q7327', 'P106', 'Q1930187'] ['Q7327', 'P106', 'Q11631'] ['Q7327', 'P106', 'Q2095549']
ASK WHERE { resource:Q7327 property:P106 ?s . VALUES ( ?s ) { ( resource:Q1930187 ) ( resource:Q11631 ) ( resource:Q2095549 ) } }
Yes
action is_in
entity prev_answer
action find
entity Yuri Gagarin
relation occupation
['Yuri Gagarin', 'occupation', 'journalist'] ['Yuri Gagarin', 'occupation', 'astronaut'] ['Yuri Gagarin', 'occupation', 'aviator']
ASK WHERE { resource:Yuri_Gagarin property:occupation ?s . VALUES ( ?s ) { ( resource:journalist ) ( resource:astronaut ) ( resource:aviator ) } }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q7327
Q12737077
USER
And which occupation?
(Q7327,P106,c(Q12737077))
action filter_type
action find
entity Q7327
relation P106
type Q12737077
['Q7327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q7327 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Yuri Gagarin
action filter_type
action find
entity Yuri Gagarin
relation occupation
type occupation
['Yuri Gagarin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Yuri_Gagarin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1930187 Q11631 Q2095549
SYSTEM
journalist, astronaut, aviator
Q1930187 Q11631 Q189290 Q2095549
(Q7327,P106,c(Q12737077))
action filter_type
action find
entity Q7327
relation P106
type Q12737077
[ANSWERS]
['Q7327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q7327 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
journalist astronaut officer aviator
journalist astronaut aviator
action filter_type
action find
entity Yuri Gagarin
relation occupation
type occupation
['Yuri Gagarin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Yuri_Gagarin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q467644
P169
Q502895 Q2001305 Q4830453
USER
How many people are the chief executives of greater number of television channels or business enterprises than Alexey Miller ?
(c(Q2001305)|c(Q4830453),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q467644
relation P169
type Q2001305
type Q4830453
[[{'concept': 'Q2001305'}, {'concept': 'Q4830453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?b WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2001305 ) ( ontology:Q4830453 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P169 resource:Q467644 . { VALUES ( ?g ) { ( ontology:Q2001305 ) ( ontology:Q4830453 ) } . ?t rdf:type ?g } } } . FILTER ( ?j > ?z ) }
Alexey Miller
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Alexey Miller
relation chief executive officer
type television channel
type business enterprise
[[{'concept': 'television channel'}, {'concept': 'business enterprise'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?b WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:television_channel ) ( ontology:business_enterprise ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:chief_executive_officer resource:Alexey_Miller . { VALUES ( ?g ) { ( ontology:television_channel ) ( ontology:business_enterprise ) } . ?t rdf:type ?g } } } . FILTER ( ?j > ?z ) }
[]
common name television channel business enterprise
SYSTEM
46
Q19896671 Q19896679 Q23416738 Q4117176 Q26722512 Q19803807 Q55183 Q4980260 Q18342983 Q19665536 Q9000717 Q418622 Q1392181 Q8421760 Q19594969 Q5619555 Q346081 Q3318585 Q19664216 Q16193869 Q2324303 Q12044833 Q26903671 Q293679 Q472330 Q1692250 Q20962527 Q18233674 Q1223089 Q16195575 Q14927550 Q11875054 Q1680807 Q8992399 Q19854934 Q7608884 Q317521 Q5273200 Q20215432 Q4482287 Q2468051 Q17988783 Q3023213 Q776008 Q6113311 Q22096796
(c(Q2001305)|c(Q4830453),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q467644
relation P169
type Q2001305
type Q4830453
[ANSWER]
[[{'concept': 'Q2001305'}, {'concept': 'Q4830453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?b WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2001305 ) ( ontology:Q4830453 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P169 resource:Q467644 . { VALUES ( ?g ) { ( ontology:Q2001305 ) ( ontology:Q4830453 ) } . ?t rdf:type ?g } } } . FILTER ( ?j > ?z ) }
Tim Jenkins Zaw Thet Jason Barnard Robert Kotick Antoni Cases Steven H. Gunby Susan Wojcicki Bryan Morrison Patrick Pouyanné Dan Siroker Lei Jun Akio Toyoda Muhtar Kent Jay Walder Ulrich Spiesshofer Gunvor Ulstein Christophe de Margerie Mohamed Hassan Bensalah Jason Kothari Sophie Turner Laing Jørgen Vig Knudstorp Petr Dvořák Shubham Badal Al-Waleed bin Talal Howard Schultz Kjeld Kirk Kristiansen Alex Algard Wu Xiaohui Dieter von Holtzbrinck Muzzammil Hassan Michael Lynton Lauri Kivinen James McNerney Yoshitaka Kitao Lincoln Leong Stephen Chan Elon Musk Dick Millman Scott Ernest Yuri Fedutinov Steve O'Rourke Haruna Yukawa Dennis Woodside Nasser Al-Khelaifi Jack J. Pelton Lewis Von Thaer
46
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Alexey Miller
relation chief executive officer
type television channel
type business enterprise
[[{'concept': 'television channel'}, {'concept': 'business enterprise'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?b WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:television_channel ) ( ontology:business_enterprise ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:chief_executive_officer resource:Alexey_Miller . { VALUES ( ?g ) { ( ontology:television_channel ) ( ontology:business_enterprise ) } . ?t rdf:type ?g } } } . FILTER ( ?j > ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3166537 Q7327
P166
Q618779
USER
Which awards were received by Yuri Gagarin or Jean-Joseph Taillasson ?
OR((Q7327,P166,c(Q618779)), (Q3166537,P166,c(Q618779)))
action filter_type
action union
action find
entity Q7327
relation P166
action find
entity Q3166537
relation P166
type Q618779
{'OR': [['Q7327', 'P166', {'concept': 'Q618779'}], ['Q3166537', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q618779 . { ?r property:P166 ?k . VALUES ( ?r ) { ( resource:Q7327 ) ( resource:Q3166537 ) } } }
Jean-Joseph Taillasson Yuri Gagarin
action filter_type
action union
action find
entity Yuri Gagarin
relation award received
action find
entity Jean-Joseph Taillasson
relation award received
type award
{'OR': [['Yuri Gagarin', 'award received', {'concept': 'award'}], ['Jean-Joseph Taillasson', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:award . { ?r property:award_received ?k . VALUES ( ?r ) { ( resource:Yuri_Gagarin ) ( resource:Jean-Joseph_Taillasson ) } } }
[]
award
Q694401 Q185493 Q1601710 Q633799 Q2646561 Q458911 Q2660844 Q178473 Q4315048 Q26205110
SYSTEM
Some of them are Order of Karl Marx, Order of Lenin, Hero of Socialist Labor, Hero of Socialist Labor of Czechoslovakia, Order of the Star of Africa, Order of the Flag of the Republic of Hungary, Order of Klement Gottwald, Hero of the Soviet Union, Order of Playa Girón, Medal "For Impeccable Service", 3rd class
Q694401 Q2660844 Q185493 Q633799 Q2646561 Q178473 Q1601710 Q458911 Q4315048 Q576434 Q26205110
OR((Q7327,P166,c(Q618779)), (Q3166537,P166,c(Q618779)))
action filter_type
action union
action find
entity Q7327
relation P166
action find
entity Q3166537
relation P166
type Q618779
[ANSWERS]
{'OR': [['Q7327', 'P166', {'concept': 'Q618779'}], ['Q3166537', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q618779 . { ?r property:P166 ?k . VALUES ( ?r ) { ( resource:Q7327 ) ( resource:Q3166537 ) } } }
Order of Karl Marx Order of Klement Gottwald Order of Lenin Hero of Socialist Labor of Czechoslovakia Order of the Star of Africa Hero of the Soviet Union Hero of Socialist Labor Order of the Flag of the Republic of Hungary Order of Playa Girón Prix de Rome Medal "For Impeccable Service", 3rd class
Order of Karl Marx Order of Lenin Hero of Socialist Labor Hero of Socialist Labor of Czechoslovakia Order of the Star of Africa Order of the Flag of the Republic of Hungary Order of Klement Gottwald Hero of the Soviet Union Order of Playa Girón Medal "For Impeccable Service", 3rd class
action filter_type
action union
action find
entity Yuri Gagarin
relation award received
action find
entity Jean-Joseph Taillasson
relation award received
type award
{'OR': [['Yuri Gagarin', 'award received', {'concept': 'award'}], ['Jean-Joseph Taillasson', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:award . { ?r property:award_received ?k . VALUES ( ?r ) { ( resource:Yuri_Gagarin ) ( resource:Jean-Joseph_Taillasson ) } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1027
Q1002697 Q192350 Q618779
USER
How many awards are given by around 1 periodical literatures and ministries ?
(c(Q618779),P1027,c(Q1002697)|c(Q192350))
action count
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
action find_tuple_counts
relation P1027
type Q618779
type Q192350
value 1
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q1002697'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q192350 ) } . ?i rdf:type ?h } GROUP BY ?z } . FILTER ( ?v = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation conferred by
type award
type periodical literature
action find_tuple_counts
relation conferred by
type award
type ministry
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'periodical literature'}, {'concept': 'ministry'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?z WHERE { VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:ministry ) } . ?i rdf:type ?h } GROUP BY ?z } . FILTER ( ?v = 1 ) }
[]
periodical literature ministry award
SYSTEM
13
Q21126541 Q1124948 Q11897474 Q81466 Q5580323 Q1793320 Q1299116 Q1702885 Q2883115 Q729513 Q11796431 Q12327571 Q1145980
(c(Q618779),P1027,c(Q1002697)|c(Q192350))
action count
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
action find_tuple_counts
relation P1027
type Q618779
type Q192350
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q1002697'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q192350 ) } . ?i rdf:type ?h } GROUP BY ?z } . FILTER ( ?v = 1 ) }
Kirkus Prize Ricardo Zamora Trophy State Award for Public Information Miguel de Cervantes Prize Goldsmiths Prize Kurt Vorhofer Award Manfred Wörner Medal Medal for Merit to Culture Premio Nacional de Poesía Pichichi Trophy Bene Merito Medal Montanas Litteraturpris National Artist of Thailand
13
action count
action approx
action union
action find_tuple_counts
relation conferred by
type award
type periodical literature
action find_tuple_counts
relation conferred by
type award
type ministry
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'periodical literature'}, {'concept': 'ministry'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?z WHERE { VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:ministry ) } . ?i rdf:type ?h } GROUP BY ?z } . FILTER ( ?v = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q35798 Q618779 Q618779
USER
Which awards are parts of min number of executive branches and awards ?
(c(Q618779),P361,c(Q35798)|c(Q618779))
action argmin
action union
action find_tuple_counts
relation P361
type Q618779
type Q35798
action find_tuple_counts
relation P361
type Q618779
type Q618779
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q35798'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { VALUES ( ?m ) { ( ontology:Q35798 ) ( ontology:Q618779 ) } . ?p rdf:type ?m } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) ?y WHERE { VALUES ( ?d ) { ( ontology:Q35798 ) ( ontology:Q618779 ) } . ?q rdf:type ?d } GROUP BY ?y } . FILTER ( ?e = ?i ) }
action argmin
action union
action find_tuple_counts
relation part of
type award
type executive branch
action find_tuple_counts
relation part of
type award
type award
[{'concept': 'award'}, 'part of', [{'concept': 'executive branch'}, {'concept': 'award'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { VALUES ( ?m ) { ( ontology:executive_branch ) ( ontology:award ) } . ?p rdf:type ?m } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) ?y WHERE { VALUES ( ?d ) { ( ontology:executive_branch ) ( ontology:award ) } . ?q rdf:type ?d } GROUP BY ?y } . FILTER ( ?e = ?i ) }
[]
executive branch award award
Q1285970 Q5305703 Q20890225
SYSTEM
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series, Drama Desk Award for Outstanding Actress in a Musical, Gouden Televizier-Ring
Q20890225 Q2359546 Q1700510 Q2665874 Q674146 Q5305711 Q20749418 Q1156958 Q14539726 Q14539720 Q20824563 Q3019357 Q21071120 Q5305703 Q225085 Q20890482 Q17142885 Q17142884 Q13452531 Q48705 Q14539974 Q17142883 Q17142882 Q1638103 Q1285970 Q17142889 Q17142888 Q2547676 Q5305701 Q22135199 Q279820 Q14539884 Q5243452 Q5243453 Q5243450 Q5243451 Q5243456 Q5243457 Q5243454 Q5243455 Q372370 Q29597 Q900414 Q13452524 Q2050658 Q2296147 Q17142895 Q17142892 Q1071326 Q900494 Q17142891 Q13452528 Q17142881 Q20890462 Q11858223 Q140146 Q900369 Q1562531 Q5243445 Q15046324 Q5243447 Q5243446 Q15046323 Q14606210 Q5243449 Q5243448 Q14606194 Q4896813 Q657973 Q27639027 Q5593745 Q3404375 Q545970 Q2294693 Q1353326 Q3895781 Q1505691 Q900385 Q3910742 Q4243717 Q18011734 Q21524720 Q13422138 Q1549393 Q15271575 Q20890467 Q696246 Q655056 Q17351855 Q645595 Q900352 Q10855195 Q24137 Q900447 Q17142896 Q24241 Q23091 Q20890475 Q20890472 Q17142894 Q153144 Q4896676 Q21071119 Q20890200 Q22668611 Q27639015 Q3774289 Q20890445 Q981339 Q1170507 Q4065707 Q4896642 Q900424 Q4835656 Q4835657 Q4835654 Q4835655 Q4835652 Q4835650 Q17355204 Q27496509 Q10855271 Q20890454 Q84000 Q6952053 Q5593817 Q14539729 Q3019369 Q17142886 Q20749420 Q278244 Q278240 Q3019365 Q3019364
(c(Q618779),P361,c(Q35798)|c(Q618779))
action argmin
action union
action find_tuple_counts
relation P361
type Q618779
type Q35798
action find_tuple_counts
relation P361
type Q618779
type Q618779
[ANSWERS]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q35798'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { VALUES ( ?m ) { ( ontology:Q35798 ) ( ontology:Q618779 ) } . ?p rdf:type ?m } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) ?y WHERE { VALUES ( ?d ) { ( ontology:Q35798 ) ( ontology:Q618779 ) } . ?q rdf:type ?d } GROUP BY ?y } . FILTER ( ?e = ?i ) }
Gouden Televizier-Ring Wim Sonneveldprijs Golden Leopard Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture Leopard of Honour Drama Desk Award for Outstanding Featured Actor in a Musical King's Medal of Merit in Gold Order of the Paulownia Flowers Officer of the Order of Merit of the Italian Republic Knight of the Order of Merit of the Italian Republic Michelin star Daytime Emmy Award for Outstanding Lead Actress in a Drama Series Toronto International Film Festival Award for Best Canadian First Feature Film Drama Desk Award for Outstanding Actress in a Musical César Award for Best Cinematography award for the best or most iconic program in the history of Dutch television 2000 Golden Globes 1999 Golden Globes Commandeur des Arts et des Lettres‎ César Award for Most Promising Actor Knight Grand Cross of the Order of Merit of the Italian Republic 1998 Golden Globes 1997 Golden Globes British Fashion Awards Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series 2003 Golden Globes 2002 Golden Globes Croix de guerre 1939–1945 Drama Desk Award for Outstanding Actor in a Play Collar of the Order pro merito Melitensi Golden Calf Grand Officer of the Order of Merit of the Italian Republic Daytime Emmy Award for Outstanding Talk Show Daytime Emmy Award for Outstanding Talk Show Entertainment Daytime Emmy Award for Outstanding Morning Program Daytime Emmy Award for Outstanding Supporting Actress in a Drama Series Daytime Emmy Award for Outstanding Younger Actor in a Drama Series Daytime Emmy Award for Outstanding Younger Actress in a Drama Series Daytime Emmy Award for Outstanding Talk Show Host Daytime Emmy Award for Outstanding Talk Show Informative Knight's Cross César Award for Most Promising Actress César Award for Best Foreign Film Officier des Arts et des Lettres‎ 2009–10 ISU Speed Skating World Cup – Men's 1000 metres Drama Desk Award for Outstanding One-Person Show 2007 Golden Globes 2005 Golden Globes Un Certain Regard César Award for Best Actor 2004 Golden Globes Chevalier de l'ordre des Arts et des Lettres‎ 1996 Golden Globes Zilveren Televizier-Ster (female presenter) Daytime Emmy Award for Outstanding Performer in an Animated Program Zafenat-Paneach César Award for Best Writing Dr H.P. Heineken Prize for Biochemistry and Biophysics Daytime Emmy Award for Outstanding Drama Series Writing Team Daytime Emmy Award for Outstanding Lifestyle/Culinary Show Host Daytime Emmy Award for Outstanding Game Show Host Daytime Emmy Award for Outstanding Game/Audience Participation Show Daytime Emmy Award for Outstanding Drama Series Directing Team Officer of the Order of Distinction Daytime Emmy Award for Outstanding Supporting Actor in a Drama Series Daytime Emmy Award for Outstanding Legal/Courtroom Program Commander of the Order of Distinction Best Sports Movie ESPY Award Medal of Valor Zilveren Televizier-Ster (female actor) Grammy Award for Best Album Notes Prix Athanase-David César Award for Best Original Screenplay Independent Spirit Award for Best Supporting Male Friedrich Glauser Award Best Direction Award Robert Award for Best Danish Film César Award for Best Costume Design Special Jury Prize Gordon Bennett Trophy Grand Cross of the Imperial Order of Leopold Gold Medal for Human Rights Knight of the National Order of Merit Grand Officer Sport Australia Hall of Fame Televizier Aanstormend Talent Award Order of the Chrysanthemum César Award for Best First Feature Film adidas Golden Glove César Award for Best Film César Award for Best Production Design Officer of the Legion of Honour César Award for Best Director César Award for Best Editing 2008 Golden Globes César Award for Best Actress César Award for Best Music Written for a Film Viva Star De Bewondering 2006 Golden Globes César Award for Best Animated Film Best Game ESPY Award Toronto International Film Festival Award for Best Canadian Film Gouden Stuiver Gold Cross of Valour Zilveren Televizier-Ster (male actor) Grammy Award for Best Classical Album Zilveren Televizier-Tulp MTV Video Music Award for Best Overall Performance Independent Spirit Award for Best Screenplay Ribbon of the Order of St. Andrew Best Female Athlete ESPY Award César Award for Best Supporting Actor BIFA Award for Best Supporting Actor BIFA Award for Best Supporting Actress BIFA Award for Best Performance by an Actor in a British Independent Film BIFA Award for Best Performance by an Actress in a British Independent Film BIFA Award for Best Foreign Independent Film BIFA Award for Best British Independent Film Adidas Golden Ball Seiun Award for Best Translated Novel Knight of the Legion of Honour Zilveren Televizier-Ster (male presenter) César Award for Best Supporting Actress NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special Grammy Award for Best Arrangement, Instrumental and Vocals Commander of the Order of Merit of the Italian Republic Daytime Emmy Award for Outstanding Children's Animated Program 2001 Golden Globes King's Medal of Merit in Silver Dr A.H. Heineken Prize for Art C.L. de Carvalho-Heineken Prize for Cognitive Science Daytime Emmy Award for Outstanding Drama Series Daytime Emmy Award for Outstanding Lead Actor in a Drama Series
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Drama Desk Award for Outstanding Actress in a Musical Gouden Televizier-Ring
action argmin
action union
action find_tuple_counts
relation part of
type award
type executive branch
action find_tuple_counts
relation part of
type award
type award
[{'concept': 'award'}, 'part of', [{'concept': 'executive branch'}, {'concept': 'award'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?r WHERE { VALUES ( ?m ) { ( ontology:executive_branch ) ( ontology:award ) } . ?p rdf:type ?m } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) ?y WHERE { VALUES ( ?d ) { ( ontology:executive_branch ) ( ontology:award ) } . ?q rdf:type ?d } GROUP BY ?y } . FILTER ( ?e = ?i ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1285970 Q5305703 Q20890225
P166
Q502895
USER
Which people received the award titled those ones ?
(c(Q502895),P166,Q1285970) (c(Q502895),P166,Q5305703) (c(Q502895),P166,Q20890225)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q5305703'] [{'concept': 'Q502895'}, 'P166', 'Q20890225']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P166 ?p . VALUES ( ?p ) { ( resource:Q20890225 ) ( resource:Q2359546 ) ( resource:Q1700510 ) } }
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Drama Desk Award for Outstanding Actress in a Musical Gouden Televizier-Ring
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'common name'}, 'award received', 'Gouden Televizier-Ring']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:award_received ?p . VALUES ( ?p ) { ( resource:Gouden_Televizier-Ring ) ( resource:Wim_Sonneveldprijs ) ( resource:Golden_Leopard ) } }
[]
common name
Q112307 Q270324 Q270324
SYSTEM
Patti LuPone for 2nd, 3rd, Lena Horne for 1st
Q299309 Q109324 Q109324 Q355125 Q267796 Q270324 Q270324 Q270324 Q112307 Q294144 Q439457 Q439457 Q439457 Q212545 Q2666043 Q13407 Q2277299 Q2095821
(c(Q502895),P166,Q1285970) (c(Q502895),P166,Q5305703) (c(Q502895),P166,Q20890225)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q5305703'] [{'concept': 'Q502895'}, 'P166', 'Q20890225']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P166 ?p . VALUES ( ?p ) { ( resource:Q20890225 ) ( resource:Q2359546 ) ( resource:Q1700510 ) } }
Peter MacNicol Christopher Lloyd Christopher Lloyd Harry Morgan Natalia Makarova Patti LuPone Patti LuPone Patti LuPone Lena Horne Lea Salonga Donna Murphy Donna Murphy Donna Murphy Natasha Richardson Wim Kan Willem Duys Martine Bijl Toon Hermans
Lena Horne Patti LuPone Patti LuPone
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'common name'}, 'award received', 'Gouden Televizier-Ring']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:award_received ?p . VALUES ( ?p ) { ( resource:Gouden_Televizier-Ring ) ( resource:Wim_Sonneveldprijs ) ( resource:Golden_Leopard ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q270324
P161
Q838948
USER
Which works of art do that person star in ?
(c(Q838948),P161,Q270324)
action filter_type
action find_reverse
entity Q270324
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q270324']
SELECT DISTINCT ?y WHERE { ?y property:P161 resource:Q270324 . ?y rdf:type ontology:Q838948 }
Patti LuPone
action filter_type
action find_reverse
entity Patti LuPone
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patti LuPone']
SELECT DISTINCT ?y WHERE { ?y property:cast_member resource:Patti_LuPone . ?y rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q270324
SYSTEM
Did you mean Patti LuPone ?
Q112307 Q270324 Q270324
(c(Q838948),P161,Q112307) (c(Q838948),P161,Q270324) (c(Q838948),P161,Q270324)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q112307'] [{'concept': 'Q838948'}, 'P161', 'Q270324'] [{'concept': 'Q838948'}, 'P161', 'Q270324']
SELECT DISTINCT ?y WHERE { ?y property:P161 resource:Q270324 . ?y rdf:type ontology:Q838948 }
Lena Horne Patti LuPone Patti LuPone
Did you mean Patti LuPone ?
Patti LuPone
[{'concept': 'work of art'}, 'cast member', 'Lena Horne'] [{'concept': 'work of art'}, 'cast member', 'Patti LuPone'] [{'concept': 'work of art'}, 'cast member', 'Patti LuPone']
SELECT DISTINCT ?y WHERE { ?y property:cast_member resource:Patti_LuPone . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P161,Q270324)
[{'concept': 'Q838948'}, 'P161', 'Q270324']
[{'concept': 'work of art'}, 'cast member', 'Patti LuPone']
[]
Q207482 Q211373 Q1150713
SYSTEM
1941, Driving Miss Daisy, Summer of Sam
Q7711838 Q1150713 Q785434 Q488041 Q960668 Q5447871 Q3896119 Q207482 Q964779 Q211373
(c(Q838948),P161,Q270324)
action filter_type
action find_reverse
entity Q270324
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q270324']
SELECT DISTINCT ?y WHERE { ?y property:P161 resource:Q270324 . ?y rdf:type ontology:Q838948 }
The 24 Hour Woman Summer of Sam City by the Sea Witness State and Main Fighting Back Parker 1941 Heist Driving Miss Daisy
1941 Driving Miss Daisy Summer of Sam
action filter_type
action find_reverse
entity Patti LuPone
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patti LuPone']
SELECT DISTINCT ?y WHERE { ?y property:cast_member resource:Patti_LuPone . ?y rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q937857 Q2095549
P106
Q502895
USER
Which people have career as aviator and association football player ?
AND((c(Q502895),P106,Q2095549), (c(Q502895),P106,Q937857))
action filter_type
action intersection
action find_reverse
entity Q2095549
relation P106
action find_reverse
entity Q937857
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q2095549'], [{'concept': 'Q502895'}, 'P106', 'Q937857']]}
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q2095549 . ?n property:P106 resource:Q937857 . ?n rdf:type ontology:Q502895 }
association football player aviator
action filter_type
action intersection
action find_reverse
entity aviator
relation occupation
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'aviator'], [{'concept': 'common name'}, 'occupation', 'association football player']]}
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:aviator . ?n property:occupation resource:association_football_player . ?n rdf:type ontology:common_name }
[]
common name
Q589132 Q16740540 Q15088835 Q769165 Q511838 Q464850
SYSTEM
Romualdas Marcinkus, Ugo Ciabattini, Felice Scandone, Luigi Barbesino, Rino Corso Fougier, Essam Abd El Fatah
Q589132 Q16740540 Q15088835 Q769165 Q511838 Q464850
AND((c(Q502895),P106,Q2095549), (c(Q502895),P106,Q937857))
action filter_type
action intersection
action find_reverse
entity Q2095549
relation P106
action find_reverse
entity Q937857
relation P106
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q2095549'], [{'concept': 'Q502895'}, 'P106', 'Q937857']]}
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q2095549 . ?n property:P106 resource:Q937857 . ?n rdf:type ontology:Q502895 }
Romualdas Marcinkus Ugo Ciabattini Felice Scandone Luigi Barbesino Rino Corso Fougier Essam Abd El Fatah
Romualdas Marcinkus Ugo Ciabattini Felice Scandone Luigi Barbesino Rino Corso Fougier Essam Abd El Fatah
action filter_type
action intersection
action find_reverse
entity aviator
relation occupation
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'aviator'], [{'concept': 'common name'}, 'occupation', 'association football player']]}
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:aviator . ?n property:occupation resource:association_football_player . ?n rdf:type ontology:common_name }
[]