Simple Question (Direct)
Simple Question
Q16843886
P22
Q502895
USER
Which person was the father of Sidney Meadows ?
(Q16843886,P22,c(Q502895))
action filter_type
action find
entity Q16843886
relation P22
type Q502895
['Q16843886', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q16843886 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Sidney Meadows
action filter_type
action find
entity Sidney Meadows
relation father
type common name
['Sidney Meadows', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Sidney_Meadows property:father ?r . ?r rdf:type ontology:common_name }
[]
common name
Q18733989
SYSTEM
Philip Meadows
Q18733989
(Q16843886,P22,c(Q502895))
action filter_type
action find
entity Q16843886
relation P22
type Q502895
In [ANSWER] was the father of Sidney Meadows
['Q16843886', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q16843886 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Philip Meadows
In Philip Meadows was the father of Sidney Meadows
Philip Meadows
action filter_type
action find
entity Sidney Meadows
relation father
type common name
['Sidney Meadows', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Sidney_Meadows property:father ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18733989
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q18733989)
action filter_type
action find_reverse
entity Q18733989
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q18733989']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q18733989 . ?f rdf:type ontology:Q502895 }
Philip Meadows
action filter_type
action find_reverse
entity Philip Meadows
relation child
type common name
[{'concept': 'common name'}, 'child', 'Philip Meadows']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Philip_Meadows . ?f rdf:type ontology:common_name }
[]
common name
Q18733979
SYSTEM
Philip Meadows
Q18733979
(c(Q502895),P40,Q18733989)
action filter_type
action find_reverse
entity Q18733989
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q18733989']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q18733989 . ?f rdf:type ontology:Q502895 }
Philip Meadows
Philip Meadows has that one as a child
Philip Meadows
action filter_type
action find_reverse
entity Philip Meadows
relation child
type common name
[{'concept': 'common name'}, 'child', 'Philip Meadows']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Philip_Meadows . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18733979 Q18733989
P40
Q502895
USER
Is Philip Meadows a successor of Philip Meadows ?
(Q18733979,P40,Q18733989)
action is_in
entity Q18733989
action find
entity Q18733979
relation P40
['Q18733979', 'P40', 'Q18733989']
ASK WHERE { resource:Q18733979 property:P40 resource:Q18733989 }
Philip Meadows Philip Meadows
action is_in
entity Philip Meadows
action find
entity Philip Meadows
relation child
['Philip Meadows', 'child', 'Philip Meadows']
ASK WHERE { resource:Philip_Meadows property:child resource:Philip_Meadows }
[]
common name
SYSTEM
YES
(Q18733979,P40,Q18733989)
action is_in
entity Q18733989
action find
entity Q18733979
relation P40
[ANSWER]
['Q18733979', 'P40', 'Q18733989']
ASK WHERE { resource:Q18733979 property:P40 resource:Q18733989 }
Yes
action is_in
entity Philip Meadows
action find
entity Philip Meadows
relation child
['Philip Meadows', 'child', 'Philip Meadows']
ASK WHERE { resource:Philip_Meadows property:child resource:Philip_Meadows }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1029
Q502895 Q2235308 Q12973014
USER
Which people were the team members of min number of ship types or sports teams ?
(c(Q2235308)|c(Q12973014),P1029,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?x ) WHERE { { ?i rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2235308 . ?l property:P1029 ?i } UNION { ?l property:P1029 ?i . ?i rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12973014 } } GROUP BY ?i } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2235308 ) ( ontology:Q12973014 ) } } GROUP BY ?z } } }
action argmin
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?x ) WHERE { { ?i rdf:type ontology:common_name . ?l rdf:type ontology:ship_type . ?l property:crew_member ?i } UNION { ?l property:crew_member ?i . ?i rdf:type ontology:common_name . ?l rdf:type ontology:sports_team } } GROUP BY ?i } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:ship_type ) ( ontology:sports_team ) } } GROUP BY ?z } } }
[]
common name ship type 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 Q927249 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 Q107667 Q448547 Q455669 Q382184 Q461872 Q722667 Q166616 Q41575 Q378952 Q264460 Q1334023 Q182642 Q561878 Q349365 Q520760 Q1384788 Q938350 Q111240 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 Q948775 Q23012700 Q1338925 Q440251 Q375659 Q1162918 Q1926804 Q531065 Q24094 Q444299 Q706916 Q45137 Q355433 Q17519 Q24176131 Q1068686 Q23012832 Q560360 Q375631 Q41632 Q252726 Q706965 Q708689 Q361859 Q520334 Q362819 Q720361 Q7086024 Q18762 Q499628 Q362209 Q203026 Q4715991 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 Q158486 Q4103224 Q372215 Q535280 Q312833 Q1376966 Q441017 Q23012293 Q706739 Q362180 Q4831087 Q1866915 Q707736 Q519268 Q232441 Q434555 Q229635 Q448491 Q573719 Q464166 Q32266 Q19242 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 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 Q344892 Q152298 Q24083 Q112284 Q707626 Q3194085 Q1266359 Q382176 Q376165 Q104865 Q346671 Q229674 Q324774 Q454649 Q5970982 Q41606 Q1173930 Q348205 Q488043 Q928034 Q706859 Q468250 Q468258 Q720351 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 Q49284 Q12865 Q535172 Q555679 Q540379 Q365317 Q317792 Q21842 Q71248 Q21706101 Q724082 Q462853 Q316417 Q448243 Q442233 Q289337 Q1338895 Q239960 Q232692 Q434546 Q643556 Q433046 Q24188587 Q448563 Q23012814 Q29648 Q446243 Q364476 Q963226 Q461777 Q432752 Q431006 Q447304 Q493699 Q3329196 Q1376909 Q607394 Q1800097 Q2655329 Q315730 Q938428 Q25981 Q461821 Q434409 Q822249 Q1065133 Q725848 Q520384 Q535831 Q692263 Q1372276 Q430996 Q278656 Q447057 Q720160 Q382202 Q7454059 Q11993310 Q554415 Q325205 Q255764 Q732906 Q363506 Q362998 Q451259 Q1323571 Q1338436 Q609639 Q174979 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 Q466075 Q708489 Q708484 Q520176 Q465461 Q1384803 Q2032646 Q649109 Q49035 Q49269 Q357450 Q706978 Q157931 Q214974 Q49264 Q295873 Q448872 Q443994 Q719921 Q317643 Q1064149 Q470256 Q386148 Q219569 Q3116390 Q240776 Q746108 Q592219 Q536777 Q3476196 Q433608 Q449706 Q705626 Q1591872 Q52046 Q461795 Q34091 Q375641 Q32295 Q57229 Q426836 Q725659 Q382013 Q118490 Q381541 Q1240263 Q362220 Q382150 Q342338 Q448470 Q540108 Q29650 Q434205 Q446233 Q345658 Q19839428 Q521395 Q535234 Q502963 Q499636 Q449577 Q320047 Q447334 Q19831446 Q1376469 Q5543066
(c(Q2235308)|c(Q12973014),P1029,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[ANSWERS] were the team members of min number of ship types or sports teams
[[{'concept': 'Q2235308'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?x ) WHERE { { ?i rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2235308 . ?l property:P1029 ?i } UNION { ?l property:P1029 ?i . ?i rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12973014 } } GROUP BY ?i } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2235308 ) ( ontology:Q12973014 ) } } GROUP BY ?z } } }
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 Oleg Skripochka 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 John Young 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 Ellison Onizuka Yuri Baturin Kent Rominger Carlos I. Noruega Jim Lovell 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 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 Anousheh Ansari 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 Frank Borman Andreas Mikkelsen John M. Grunsfeld Sergei Zalyotin Aleksey Ovchinin 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 Eugene Cernan 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 Bill Anders 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 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 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 Christa McAuliffe 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 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 Judith Resnik 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 Thomas P. Stafford 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 James McDivitt 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 Ronald McNair Terrence W. Wilcutt Michael J. Smith Eric Boe Georgy Shonin Bernard A. Harris, Jr. Charles J. Precourt William Oefelein Thomas Marshburn Vladimir Dezhurov James Buchli Stephen S. Oswald Muhammed Faris David Scott Christopher Ferguson John M. Fabian Jeffrey Williams Sergey Ryzhikov Ola Fløene Terry W. Virts Rakesh Sharma Yelena Kondakova Loren Acton Rusty Schweickart Gennady Padalka Yury Artyukhin Kenneth S. Reightler, Jr. Robert D. Cabana John E. Blaha Alan Shepard 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 Pavel Vinogradov 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 Marcos Pontes 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 Gregory Jarvis 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 Dick Scobee George D. Zamka Yvonne Dionne Jerry M. Linenger George Otto Noville
Georgy Beregovoy, Yuri Gagarin and Neil Armstrong were the team members of min number of ship types or sports teams
Georgy Beregovoy Yuri Gagarin Neil Armstrong
action argmin
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
[[{'concept': 'ship type'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?x ) WHERE { { ?i rdf:type ontology:common_name . ?l rdf:type ontology:ship_type . ?l property:crew_member ?i } UNION { ?l property:crew_member ?i . ?i rdf:type ontology:common_name . ?l rdf:type ontology:sports_team } } GROUP BY ?i } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?d ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:ship_type ) ( ontology:sports_team ) } } GROUP BY ?z } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q5994
P1303
Q34379 Q502895
USER
How many musical instruments can lesser number of people perform with than piano ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q5994
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P1303 ?v . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 } GROUP BY ?v } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P1303 resource:Q5994 . ?u rdf:type ontology:Q502895 } } }
piano
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:instrument ?v . ?e rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument } GROUP BY ?v } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:instrument resource:piano . ?u rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q5994
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P1303 ?v . ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 } GROUP BY ?v } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P1303 resource:Q5994 . ?u rdf:type ontology:Q502895 } } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:instrument ?v . ?e rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument } GROUP BY ?v } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:instrument resource:piano . ?u rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2563510
P1303
Q34379 Q502895
USER
And how about steel-string acoustic guitar?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 resource:Q2563510 . ?u rdf:type ontology:Q502895 } } . FILTER ( ?z < ?p ) }
steel-string acoustic guitar
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument resource:steel-string_acoustic_guitar . ?u rdf:type ontology:common_name } } . FILTER ( ?z < ?p ) }
[]
musical instrument common name
SYSTEM
49
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 resource:Q2563510 . ?u rdf:type ontology:Q502895 } } . FILTER ( ?z < ?p ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
49
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument resource:steel-string_acoustic_guitar . ?u rdf:type ontology:common_name } } . FILTER ( ?z < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6737124
P35
Q502895 Q15617994 Q35798
USER
How many people are the heads of state of less number of administrative territories or executive branches than Maithripala Sirisena ?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q6737124
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:Q35798 ) ( ontology:Q15617994 ) } . ?z rdf:type ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P35 resource:Q6737124 . { { ?a rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q35798 } } } } . FILTER ( ?f < ?i ) }
Maithripala Sirisena
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Maithripala Sirisena
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:executive_branch ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?z rdf:type ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:head_of_state resource:Maithripala_Sirisena . { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:executive_branch } } } } . FILTER ( ?f < ?i ) }
[]
common name designation for an administrative territorial entity executive branch
SYSTEM
192
Q2573 Q2571 Q19830768 Q19830761 Q2494376 Q67345 Q19464383 Q19830715 Q16105901 Q171977 Q151667 Q1359023 Q310775 Q157651 Q6809265 Q13631996 Q13014 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q19831432 Q151312 Q151087 Q267745 Q19810371 Q58056 Q400961 Q38987 Q94941 Q157812 Q444290 Q19216 Q16849387 Q20875 Q154444 Q2610 Q19831452 Q155002 Q250087 Q9439 Q1354851 Q335323 Q2542 Q2540 Q379203 Q735387 Q122304 Q154936 Q156617 Q555531 Q157789 Q976974 Q6707612 Q290786 Q773874 Q886786 Q7244117 Q502185 Q6127060 Q2594 Q570155 Q161958 Q154998 Q182266 Q2646 Q156187 Q151305 Q76437 Q189186 Q335310 Q157793 Q93427 Q19830746 Q3910 Q11753 Q57509 Q157099 Q34464 Q362618 Q334923 Q157776 Q2677 Q188409 Q102139 Q3518013 Q8467 Q2601 Q2602 Q2607 Q39619 Q270645 Q29213 Q570195 Q69569 Q156572 Q335033 Q163945 Q30487 Q223183 Q213791 Q2551 Q84204 Q156502 Q511888 Q257425 Q58600 Q468847 Q77233 Q160318 Q210329 Q84475 Q153940 Q57232 Q1455923 Q613051 Q6127112 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q354705 Q154041 Q19831457 Q2569 Q156494 Q2563 Q1982245 Q2567 Q152463 Q157781 Q1855372 Q299629 Q11726 Q17488307 Q1354229 Q187697 Q371854 Q72856 Q161059 Q62483 Q661663 Q19861344 Q7726 Q72898 Q150620 Q1260 Q313355 Q2582 Q6225811 Q17582456 Q541507 Q57360 Q172083 Q153586 Q704339 Q310000 Q2667 Q159585 Q450675 Q37731 Q154460 Q43915 Q1356927 Q334111 Q19628885 Q84263 Q2538 Q33168 Q296054 Q360462 Q57521 Q380187 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q150652 Q150712 Q57634 Q19831445 Q22368 Q51672 Q333824 Q65917 Q2628 Q19831449
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q6737124
relation P35
type Q15617994
type Q35798
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:Q35798 ) ( ontology:Q15617994 ) } . ?z rdf:type ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P35 resource:Q6737124 . { { ?a rdf:type ontology:Q15617994 } UNION { ?a rdf:type ontology:Q35798 } } } } . FILTER ( ?f < ?i ) }
Gustav Heinemann Walter Scheel Thomas Currie Jonathan Lambert Edmund Lawrence John William, Duke of Jülich-Cleves-Berg John Woolley Robert Ben Madison Paul Delprat Tokugawa Ieyasu Ferdinand I of Bulgaria Raul Khadjimba Jean-Claude Duvalier Gustáv Husák Mehbooba Mufti Chennamaneni Vidyasagar Rao Franz Jonas Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Giuseppe Bertoleoni Frederick IX of Denmark Jérôme Bonaparte William Deane Vít Jedlička Christopher of Bavaria Ahmad bin Yahya Tony Tan Keng Yam Frederick VII of Denmark Frederick III of Denmark Louis, King of Etruria Ma Ying-jeou Jam Nizamuddin II Edward VII Grand Duke Michael Alexandrovich of Russia Willi Stoph Carlo II Bertoleoni Frederick VI of Denmark Bill Hayden Queen Victoria John Kerr William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Khieu Samphan William McKell Nitish Kumar Arnulf of Carinthia Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Lydia Emerencia Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Andrey Vorobyov Jam Feruzudin Theodor Heuss John II, Duke of Cleves Eric of Pomerania Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Christian IX of Denmark Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Christian V of Denmark Archduke John of Austria King Louis I of Talossa Albert II Heinz Fischer Atifete Jahjaga Louis the Child Philip III of Spain Adolph I, Duke of Cleves Abu Bakr John, King of Denmark Wilhelm II Yevgeny Shevchuk Margrethe II of Denmark N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Rose Francine Rogombé Tarja Halonen John I, Duke of Cleves Sardar Muhammad Yaqoob Khan Christian VII of Denmark William Slim, 1st Viscount Slim Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Johannes Rau Theodor Körner Emil Hácha Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Frederick III, Elector of Saxony Norodom Sihanouk Yuan Shikai Michael Hainisch Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Frederick Ballantyne Frederick II of Denmark Tonino Bertoleoni Karl Carstens Antonín Novotný Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Christian VIII of Denmark Tamim bin Hamad Al Thani Léon M'ba Karl Renner Aleksandr Zakharchenko Peter Hollingworth François Duvalier Antonín Zápotocký Rudolf Kirchschläger Frederick IV of Denmark William, Duke of Jülich-Cleves-Berg Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Adolf Schärf Henry I the Fowler Kurt Waldheim Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Arkadi Ghukasyan Hamad bin Khalifa Al Thani Omar Bongo Christian IV of Denmark John III, Duke of Cleves Ludvík Svoboda Paul von Hindenburg Boris III of Bulgaria Francis Uthman ibn Affan Christian II of Denmark Otto I the Great Ninian Stephen Sunjong of the Korean Empire Michael Bates Wilhelm Miklas Joachim Gauck Kalvakuntla Chandrashekar Klement Gottwald Bako Sahakyan Ali Bongo Ondimba Ahmed Mahamoud Silanyo Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Wilhelm I of Germany Charles the Fat Hashim Thaçi Mariangela Bertoleoni Chen Shui-bian Herod the Great William Sidney, 1st Viscount De L'Isle Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
192
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Maithripala Sirisena
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:executive_branch ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?z rdf:type ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:head_of_state resource:Maithripala_Sirisena . { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a rdf:type ontology:executive_branch } } } } . FILTER ( ?f < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q57376
P35
Q502895 Q15617994 Q35798
USER
And how about Jigme Khesar Namgyel Wangchuck?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q57376
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?i rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P35 resource:Q57376 . { { ?r rdf:type ontology:Q15617994 } UNION { ?r rdf:type ontology:Q35798 } } } } . FILTER ( ?z < ?w ) }
Jigme Khesar Namgyel Wangchuck
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Jigme Khesar Namgyel Wangchuck
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?s WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?i rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:head_of_state resource:Jigme_Khesar_Namgyel_Wangchuck . { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r rdf:type ontology:executive_branch } } } } . FILTER ( ?z < ?w ) }
[]
common name designation for an administrative territorial entity executive branch
SYSTEM
192
Q2573 Q2571 Q19830768 Q19830761 Q2494376 Q67345 Q19464383 Q19830715 Q16105901 Q171977 Q151667 Q1359023 Q310775 Q157651 Q6809265 Q13631996 Q13014 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q19831432 Q151312 Q151087 Q267745 Q19810371 Q58056 Q400961 Q38987 Q94941 Q157812 Q444290 Q19216 Q16849387 Q20875 Q154444 Q2610 Q19831452 Q155002 Q250087 Q9439 Q1354851 Q335323 Q2542 Q2540 Q379203 Q735387 Q122304 Q154936 Q156617 Q555531 Q157789 Q976974 Q6707612 Q290786 Q773874 Q886786 Q7244117 Q502185 Q6127060 Q2594 Q570155 Q161958 Q154998 Q182266 Q2646 Q156187 Q151305 Q76437 Q189186 Q335310 Q157793 Q93427 Q19830746 Q3910 Q11753 Q57509 Q157099 Q34464 Q362618 Q334923 Q157776 Q2677 Q188409 Q102139 Q3518013 Q8467 Q2601 Q2602 Q2607 Q39619 Q270645 Q29213 Q570195 Q69569 Q156572 Q335033 Q163945 Q30487 Q223183 Q213791 Q2551 Q84204 Q156502 Q511888 Q257425 Q58600 Q468847 Q77233 Q160318 Q210329 Q84475 Q153940 Q57232 Q1455923 Q613051 Q6127112 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q354705 Q154041 Q19831457 Q2569 Q156494 Q2563 Q1982245 Q2567 Q152463 Q157781 Q1855372 Q299629 Q11726 Q17488307 Q1354229 Q187697 Q371854 Q72856 Q161059 Q62483 Q661663 Q19861344 Q7726 Q72898 Q150620 Q1260 Q313355 Q2582 Q6225811 Q17582456 Q541507 Q57360 Q172083 Q153586 Q704339 Q310000 Q2667 Q159585 Q450675 Q37731 Q154460 Q43915 Q1356927 Q334111 Q19628885 Q84263 Q2538 Q33168 Q296054 Q360462 Q57521 Q380187 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q150652 Q150712 Q57634 Q19831445 Q22368 Q51672 Q333824 Q65917 Q2628 Q19831449
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q57376
relation P35
type Q15617994
type Q35798
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?i rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P35 resource:Q57376 . { { ?r rdf:type ontology:Q15617994 } UNION { ?r rdf:type ontology:Q35798 } } } } . FILTER ( ?z < ?w ) }
Gustav Heinemann Walter Scheel Thomas Currie Jonathan Lambert Edmund Lawrence John William, Duke of Jülich-Cleves-Berg John Woolley Robert Ben Madison Paul Delprat Tokugawa Ieyasu Ferdinand I of Bulgaria Raul Khadjimba Jean-Claude Duvalier Gustáv Husák Mehbooba Mufti Chennamaneni Vidyasagar Rao Franz Jonas Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Giuseppe Bertoleoni Frederick IX of Denmark Jérôme Bonaparte William Deane Vít Jedlička Christopher of Bavaria Ahmad bin Yahya Tony Tan Keng Yam Frederick VII of Denmark Frederick III of Denmark Louis, King of Etruria Ma Ying-jeou Jam Nizamuddin II Edward VII Grand Duke Michael Alexandrovich of Russia Willi Stoph Carlo II Bertoleoni Frederick VI of Denmark Bill Hayden Queen Victoria John Kerr William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Khieu Samphan William McKell Nitish Kumar Arnulf of Carinthia Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Lydia Emerencia Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Andrey Vorobyov Jam Feruzudin Theodor Heuss John II, Duke of Cleves Eric of Pomerania Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Christian IX of Denmark Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Christian V of Denmark Archduke John of Austria King Louis I of Talossa Albert II Heinz Fischer Atifete Jahjaga Louis the Child Philip III of Spain Adolph I, Duke of Cleves Abu Bakr John, King of Denmark Wilhelm II Yevgeny Shevchuk Margrethe II of Denmark N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Rose Francine Rogombé Tarja Halonen John I, Duke of Cleves Sardar Muhammad Yaqoob Khan Christian VII of Denmark William Slim, 1st Viscount Slim Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Johannes Rau Theodor Körner Emil Hácha Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Frederick III, Elector of Saxony Norodom Sihanouk Yuan Shikai Michael Hainisch Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Frederick Ballantyne Frederick II of Denmark Tonino Bertoleoni Karl Carstens Antonín Novotný Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Christian VIII of Denmark Tamim bin Hamad Al Thani Léon M'ba Karl Renner Aleksandr Zakharchenko Peter Hollingworth François Duvalier Antonín Zápotocký Rudolf Kirchschläger Frederick IV of Denmark William, Duke of Jülich-Cleves-Berg Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Adolf Schärf Henry I the Fowler Kurt Waldheim Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Arkadi Ghukasyan Hamad bin Khalifa Al Thani Omar Bongo Christian IV of Denmark John III, Duke of Cleves Ludvík Svoboda Paul von Hindenburg Boris III of Bulgaria Francis Uthman ibn Affan Christian II of Denmark Otto I the Great Ninian Stephen Sunjong of the Korean Empire Michael Bates Wilhelm Miklas Joachim Gauck Kalvakuntla Chandrashekar Klement Gottwald Bako Sahakyan Ali Bongo Ondimba Ahmed Mahamoud Silanyo Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Wilhelm I of Germany Charles the Fat Hashim Thaçi Mariangela Bertoleoni Chen Shui-bian Herod the Great William Sidney, 1st Viscount De L'Isle Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
192
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Jigme Khesar Namgyel Wangchuck
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?s WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?i rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:head_of_state resource:Jigme_Khesar_Namgyel_Wangchuck . { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r rdf:type ontology:executive_branch } } } } . FILTER ( ?z < ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1643978
P136
Q1792379
USER
What can be considered as category for New Year's Eve Punch ?
(Q1643978,P136,c(Q1792379))
action filter_type
action find
entity Q1643978
relation P136
type Q1792379
['Q1643978', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q1643978 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
New Year's Eve Punch
action filter_type
action find
entity New Year's Eve Punch
relation genre
type art genre
["New Year's Eve Punch", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:New_Year's_Eve_Punch property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Q842256
SYSTEM
musical film
Q842256
(Q1643978,P136,c(Q1792379))
action filter_type
action find
entity Q1643978
relation P136
type Q1792379
A [ANSWER] can be considered as category for New Year's Eve Punch
['Q1643978', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q1643978 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
musical film
A musical film can be considered as category for New Year's Eve Punch
musical film
action filter_type
action find
entity New Year's Eve Punch
relation genre
type art genre
["New Year's Eve Punch", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:New_Year's_Eve_Punch property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q18733989
P21 P22
Q502895
USER
Which people have Philip Meadows as father and have the gender as male ?
AND((c(Q502895),P22,Q18733989), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18733989
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q18733989'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q18733989 . ?t property:P21 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
male Philip Meadows
action filter_type
action intersection
action find_reverse
entity Philip Meadows
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Philip Meadows'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t property:father resource:Philip_Meadows . ?t property:gender resource:male . ?t rdf:type ontology:common_name }
[]
common name
Q16843886
SYSTEM
Sidney Meadows
Q16843886
AND((c(Q502895),P22,Q18733989), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18733989
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Philip Meadows as father and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q18733989'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q18733989 . ?t property:P21 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
Sidney Meadows
Sidney Meadows have Philip Meadows as father and have the gender as male
Sidney Meadows
action filter_type
action intersection
action find_reverse
entity Philip Meadows
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Philip Meadows'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t property:father resource:Philip_Meadows . ?t property:gender resource:male . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q579767 Q16843886
P40
Q502895
USER
Which people have Sidney Meadows or King Wei of Qi as a child ?
OR((c(Q502895),P40,Q16843886), (c(Q502895),P40,Q579767))
action filter_type
action union
action find_reverse
entity Q16843886
relation P40
action find_reverse
entity Q579767
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q16843886'], [{'concept': 'Q502895'}, 'P40', 'Q579767']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Q16843886 ) ( resource:Q579767 ) } . ?o property:P40 ?a } . ?o rdf:type ontology:Q502895 }
King Wei of Qi Sidney Meadows
action filter_type
action union
action find_reverse
entity Sidney Meadows
relation child
action find_reverse
entity King Wei of Qi
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Sidney Meadows'], [{'concept': 'common name'}, 'child', 'King Wei of Qi']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Sidney_Meadows ) ( resource:King_Wei_of_Qi ) } . ?o property:child ?a } . ?o rdf:type ontology:common_name }
[]
common name
Q18733989 Q589297
SYSTEM
Philip Meadows, Duke Huan of Tian Qi
Q18733989 Q589297
OR((c(Q502895),P40,Q16843886), (c(Q502895),P40,Q579767))
action filter_type
action union
action find_reverse
entity Q16843886
relation P40
action find_reverse
entity Q579767
relation P40
type Q502895
[ANSWERS] have Sidney Meadows or King Wei of Qi as a child
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q16843886'], [{'concept': 'Q502895'}, 'P40', 'Q579767']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Q16843886 ) ( resource:Q579767 ) } . ?o property:P40 ?a } . ?o rdf:type ontology:Q502895 }
Philip Meadows Duke Huan of Tian Qi
Philip Meadows and Duke Huan of Tian Qi have Sidney Meadows or King Wei of Qi as a child
Philip Meadows Duke Huan of Tian Qi
action filter_type
action union
action find_reverse
entity Sidney Meadows
relation child
action find_reverse
entity King Wei of Qi
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Sidney Meadows'], [{'concept': 'common name'}, 'child', 'King Wei of Qi']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Sidney_Meadows ) ( resource:King_Wei_of_Qi ) } . ?o property:child ?a } . ?o rdf:type ontology:common_name }
[]