Simple Question (Direct)
Simple Question
Q1694131
P734
Q82799
USER
Who is associated with Johann Gottfried Müller ?
(Q1694131,P734,c(Q82799))
action filter_type
action find
entity Q1694131
relation P734
type Q82799
['Q1694131', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q1694131 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Johann Gottfried Müller
action filter_type
action find
entity Johann Gottfried Müller
relation family name
type name
['Johann Gottfried Müller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Gottfried_Müller property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q8157228
SYSTEM
Müller
Q8157228
(Q1694131,P734,c(Q82799))
action filter_type
action find
entity Q1694131
relation P734
type Q82799
Wilhelm [ANSWER] is associated with Johann Gottfried [ANSWER]
['Q1694131', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q1694131 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Müller
Wilhelm Müller is associated with Johann Gottfried Müller
Müller
action filter_type
action find
entity Johann Gottfried Müller
relation family name
type name
['Johann Gottfried Müller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Gottfried_Müller property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1694131
P19
Q486972
USER
Which human settlement was that person born in ?
(Q8157228,P19,c(Q486972))
action filter_type
action find
entity Q1694131
relation P19
type Q486972
['Q8157228', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q1694131 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Johann Gottfried Müller
action filter_type
action find
entity Johann Gottfried Müller
relation place of birth
type human settlement
['Müller', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Johann_Gottfried_Müller property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q157480
SYSTEM
Ebersbach
Q157480
(Q8157228,P19,c(Q486972))
action filter_type
action find
entity Q1694131
relation P19
type Q486972
That person was born in [ANSWER]
['Q8157228', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q1694131 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Ebersbach
That person was born in Ebersbach
Ebersbach
action filter_type
action find
entity Johann Gottfried Müller
relation place of birth
type human settlement
['Müller', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Johann_Gottfried_Müller property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q826866
P1029
Q502895 Q40218 Q1656682
USER
Which people were the crew members of approximately the same number of spacecrafts or events as Bernt Balchen ?
(c(Q40218)|c(Q1656682),P1029,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action count
action filter_multi_types
action find_reverse
entity Q826866
relation P1029
type Q40218
type Q1656682
[[{'concept': 'Q40218'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:P1029 ?w . ?e rdf:type ontology:Q40218 . ?w rdf:type ontology:Q502895 } UNION { ?e property:P1029 ?w . ?w rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1656682 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P1029 resource:Q826866 . { { ?m rdf:type ontology:Q40218 } UNION { ?m rdf:type ontology:Q1656682 } } } } . FILTER ( ?g = ?l ) }
Bernt Balchen
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type event
action count
action filter_multi_types
action find_reverse
entity Bernt Balchen
relation crew member
type spacecraft
type event
[[{'concept': 'spacecraft'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:crew_member ?w . ?e rdf:type ontology:spacecraft . ?w rdf:type ontology:common_name } UNION { ?e property:crew_member ?w . ?w rdf:type ontology:common_name . ?e rdf:type ontology:event } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:crew_member resource:Bernt_Balchen . { { ?m rdf:type ontology:spacecraft } UNION { ?m rdf:type ontology:event } } } } . FILTER ( ?g = ?l ) }
[]
common name spacecraft event
Q364451 Q1615 Q434546
SYSTEM
Georgy Beregovoy, Neil Armstrong, Pyotr Klimuk
Q227030 Q237470 Q41432 Q120793 Q97007 Q21767 Q29527 Q2896833 Q49285 Q268089 Q513131 Q518012 Q704398 Q1371854 Q1345924 Q471486 Q221615 Q51773 Q709634 Q1371289 Q717641 Q11813619 Q55177 Q554409 Q463833 Q235047 Q55178 Q975283 Q632907 Q315737 Q172001 Q257778 Q472497 Q1407313 Q261731 Q235580 Q1174077 Q254298 Q153242 Q23012291 Q498775 Q313957 Q554538 Q1064074 Q63610 Q254058 Q235567 Q215124 Q262359 Q448538 Q730170 Q537279 Q720182 Q719911 Q535157 Q456840 Q935510 Q234306 Q727902 Q2036814 Q497530 Q706939 Q61395 Q375202 Q1339046 Q173190 Q362174 Q23015616 Q358931 Q440266 Q912120 Q448547 Q455669 Q382184 Q17541629 Q461872 Q70928 Q722667 Q166616 Q41575 Q378952 Q264460 Q1334023 Q561878 Q18431930 Q520760 Q1384788 Q938350 Q502101 Q507894 Q78499 Q5975593 Q1336455 Q121797 Q944386 Q461807 Q957250 Q644029 Q210268 Q611704 Q81129 Q466069 Q520166 Q382247 Q448167 Q1545374 Q706899 Q725233 Q313543 Q235523 Q265261 Q215002 Q357468 Q534597 Q185560 Q728371 Q215009 Q318513 Q363250 Q467623 Q237879 Q115985 Q721397 Q957368 Q975217 Q948673 Q180499 Q985049 Q461788 Q23015561 Q357510 Q14623220 Q948775 Q719441 Q23012700 Q1338925 Q82798 Q440251 Q375659 Q3183604 Q1400906 Q1162918 Q1926804 Q531065 Q82864 Q24094 Q173317 Q444299 Q706916 Q45137 Q355433 Q716981 Q24176131 Q1068686 Q23012832 Q560360 Q375631 Q41632 Q252726 Q671886 Q706965 Q708689 Q1693251 Q361859 Q520334 Q362819 Q1680121 Q720361 Q7086024 Q499628 Q362209 Q203026 Q704147 Q445419 Q506349 Q268912 Q704639 Q351839 Q379039 Q1338950 Q520618 Q433337 Q488008 Q383515 Q529119 Q360433 Q1371840 Q15613580 Q978562 Q23664664 Q3492123 Q171294 Q376688 Q457075 Q505439 Q731751 Q29515 Q471513 Q115552 Q1394857 Q210184 Q41597 Q254985 Q1507223 Q450834 Q1239684 Q1373458 Q362902 Q281819 Q727572 Q557058 Q634822 Q539337 Q1018622 Q453542 Q724552 Q215131 Q59664 Q709921 Q1338912 Q3294252 Q23663985 Q466483 Q708452 Q798166 Q82667 Q438844 Q523835 Q920936 Q104859 Q361415 Q465748 Q440178 Q240769 Q719413 Q1385654 Q350420 Q4103224 Q372215 Q535280 Q1376966 Q441017 Q23012293 Q706739 Q362180 Q4831087 Q1866915 Q707736 Q519268 Q232441 Q434555 Q229635 Q448491 Q573719 Q116294 Q464166 Q32266 Q510394 Q528943 Q1899032 Q961419 Q977386 Q461887 Q722679 Q1076962 Q17279874 Q461881 Q345678 Q375065 Q345288 Q539385 Q3030934 Q447311 Q7322657 Q318965 Q826866 Q722127 Q68329 Q519256 Q739214 Q1338348 Q460161 Q48998 Q471380 Q1365511 Q313399 Q210382 Q280301 Q143103 Q49064 Q557066 Q971052 Q1372222 Q2036770 Q562168 Q233795 Q528832 Q716333 Q317382 Q25011 Q453764 Q70033 Q314921 Q1361680 Q20119965 Q23015199 Q17478723 Q462132 Q4252659 Q361113 Q935071 Q375566 Q720172 Q641389 Q1355634 Q722390 Q719926 Q660570 Q467732 Q347977 Q336810 Q172783 Q45139 Q368793 Q64052 Q719635 Q3197699 Q213605 Q260217 Q472491 Q304171 Q3157177 Q1373573 Q519149 Q70468 Q24083 Q112284 Q707626 Q3194085 Q1266359 Q382176 Q376165 Q346671 Q324774 Q454649 Q5970982 Q41606 Q1173930 Q348205 Q488043 Q928034 Q706859 Q468250 Q468258 Q720351 Q1448596 Q1878433 Q334084 Q260329 Q77349 Q2093835 Q124809 Q466513 Q342953 Q446531 Q578675 Q706849 Q3180801 Q1914370 Q718729 Q297801 Q446692 Q74018 Q1322669 Q116962 Q74015 Q956842 Q52923 Q2252 Q318934 Q447264 Q27336250 Q73081 Q616303 Q361932 Q573473 Q23664678 Q463086 Q52495 Q52494 Q487622 Q574124 Q457064 Q749845 Q360038 Q658221 Q557585 Q722513 Q1494855 Q374034 Q1333261 Q358525 Q350317 Q1853048 Q5975489 Q294555 Q717654 Q17542124 Q215142 Q215140 Q281604 Q240708 Q709935 Q152318 Q709931 Q3339766 Q379946 Q722142 Q247508 Q78552 Q82901 Q718499 Q971200 Q45082 Q2899473 Q32305 Q705636 Q703321 Q12865 Q535172 Q555679 Q540379 Q365317 Q317792 Q21842 Q71248 Q21706101 Q85493 Q724082 Q171310 Q462853 Q1333070 Q448243 Q442233 Q289337 Q1338895 Q239960 Q232692 Q434546 Q643556 Q433046 Q24188587 Q448563 Q23012814 Q29648 Q446243 Q963226 Q461777 Q3189408 Q432752 Q431006 Q447304 Q493699 Q3329196 Q1376909 Q607394 Q1800097 Q2655329 Q141651 Q938428 Q87102 Q461821 Q434409 Q23664692 Q822249 Q17385517 Q1065133 Q725848 Q520384 Q535831 Q692263 Q1372276 Q430996 Q447057 Q720160 Q7454059 Q11993310 Q554415 Q23664385 Q325205 Q255764 Q732906 Q362998 Q451259 Q1323571 Q1338436 Q609639 Q49819 Q505530 Q2036753 Q539358 Q440303 Q2279606 Q17177 Q1904202 Q501697 Q718630 Q216726 Q240701 Q362190 Q1385274 Q448520 Q720194 Q1341315 Q334463 Q266359 Q353687 Q491064 Q348358 Q434232 Q730220 Q1985717 Q285944 Q313815 Q258385 Q519124 Q465724 Q362261 Q237473 Q956160 Q466522 Q711010 Q364451 Q283544 Q446720 Q644705 Q620632 Q108886 Q378949 Q461860 Q473221 Q7911436 Q318542 Q995007 Q29618 Q1393554 Q360060 Q23664799 Q487984 Q722106 Q7468 Q2050429 Q84178 Q703865 Q1429300 Q725339 Q352069 Q319269 Q512266 Q201797 Q720124 Q1615 Q45080 Q703819 Q358437 Q708489 Q708484 Q520176 Q7146575 Q977664 Q465461 Q1384803 Q2032646 Q649109 Q49035 Q49269 Q357450 Q706978 Q214974 Q49264 Q295873 Q448872 Q443994 Q719921 Q1064149 Q470256 Q386148 Q219569 Q3116390 Q240776 Q746108 Q592219 Q536777 Q3476196 Q433608 Q449706 Q1591872 Q52046 Q1872734 Q461795 Q34091 Q375641 Q32295 Q57229 Q426836 Q725659 Q171302 Q172838 Q381541 Q1240263 Q362220 Q906626 Q75810 Q382150 Q64684 Q342338 Q448470 Q540108 Q29650 Q434205 Q446233 Q345658 Q19839428 Q521395 Q535234 Q502963 Q499636 Q449577 Q723989 Q447334 Q19831446 Q1376469 Q171319 Q442910 Q5543066
(c(Q40218)|c(Q1656682),P1029,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action count
action filter_multi_types
action find_reverse
entity Q826866
relation P1029
type Q40218
type Q1656682
[ANSWERS] were the crew members of approximately the same number of spacecrafts or events as Bernt Balchen
[[{'concept': 'Q40218'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:P1029 ?w . ?e rdf:type ontology:Q40218 . ?w rdf:type ontology:Q502895 } UNION { ?e property:P1029 ?w . ?w rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1656682 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P1029 resource:Q826866 . { { ?m rdf:type ontology:Q40218 } UNION { ?m rdf:type ontology:Q1656682 } } } } . FILTER ( ?g = ?l ) }
Mark Shuttleworth Anna Lee Fisher Robert L. Stewart Douglas G. Hurley Alexandre Imperatori Tracy Caldwell Dyson Jan Davis Benito Guerra, Jr. Sally Ride Dani Sordo Kenneth Cockrell Timothy Peake Nicolas Lapierre Michael R. Clifford Jeffrey Ashby Viktor Afanasyev Aleksandr Viktorenko Heidemarie Stefanyshyn-Piper Valery Korzun Mark N. Brown Loren Shriver Paul-Loup Chatin Sunita Williams Barry E. Wilmore Vance D. Brand Barbara Morgan Stephanie Wilson Thierry Neuville Leland D. Melvin Robert Crippen Tiago Monteiro Danny Watts Valery Ryumin Terence T. Henricks Evgeny Tarelkin Claudie Haigneré David Leestma Margaret Rhea Seddon Sam Bird Nicolas Klinger Robert L. Gibson Sheikh Muszaphar Shukor Nicolas Minassian 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 Joe F. Edwards Chiaki Mukai Sergei Treshchov Albert Sacco Brewster H. Shaw Dominic L. Pudwill Gorie André Lotterer Michael López-Alegría Michel Tognini Gianmaria Bruni Ho-Pin Tung Volodymyr Korsia Garrett Reisman Dominic A. Antonelli Brian Duffy Pedro Duque Yevgeny Khrunov Vitaly Zholobov Vincent Capillaire Gregory Chamitoff Daniel Abt Charles E. Brady Thomas Reiter Susan J. Helms Kenneth D. Cameron Ellen S. Baker Ronald M. Sega Michael Foreman Matt Rao Yuri Baturin Kent Rominger Carlos I. Noruega Andrei Borisenko Andy Thomas Alexander Wurz Takuya Onishi Lawrence J. DeLucas Mathias Beche Wubbo Ockels Maksim Surayev Jerome Apt Robert J. Cenker Richard E. Byrd James D. Halsell Jügderdemidiin Gürragchaa Vladimir Titov Gregory H. Johnson Scott Altman Ivan Bella Gregory J. Harbaugh Nicholas Patrick 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 Simon Trummer 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 Olivier Pla Anders Jæger John Casper Kamui Kobayashi Michael Barratt Oleg Kononenko Jonny Kane Tom Dillmann Daniel T. Barry Michael A. Baker Steve MacLean Bruno Senna Paul W. Richards Stéphane Sarrazin Aleksandr Panayotov Aleksandrov Satoshi Furukawa Lee Morin Georgy Dobrovolsky Filipe Albuquerque Brad Winderbaum Ott Tänak John Kennard Talgat Musabayev Daniel M. Tani Marsha Ivins Vitaly Sevastyanov Nicolas Prost Michael T. Good Vladimir Vasyutin Nick Tandy Alexander Woollcott Mikhail Korniyenko Aleksandr Serebrov James Calado Steven R. Nagel Oleg Artemyev Andreas Mikkelsen John M. Grunsfeld Sergei Zalyotin Michael L. Gernhardt Andy Priaulx Andrew M. Allen Mary Ellen Weber Rodolfo Neri Vela Jari-Matti Latvala Samantha Cristoforetti Roy D. Bridges Richard M. Linnehan Linda M. Godwin Anatoli Levchenko Jerry L. Ross James Rossiter Franklin Chang Díaz Richard A. Searfoss Gustavo Menezes Frederick W. Leslie Ed Brown Yelena Serova Vitantonio Liuzzi Yury Usachov Mads Østberg Piers Sellers Marino Franchitti Nancy J. Currie John D. Olivas Neel Jani 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 Davide Rigon Jim Wetherbee Reinhard Furrer Julien Ingrassia William S. McArthur Sonny Carter Mark T. Vande Hei Billy Johnson Aleksandr Pavlovich Aleksandrov Aleksandr Laveykin James H. Newman Mark Webber Gregory Olsen Robert L. Behnken Ken Bowersox Michael Collins Mirosław Hermaszewski Aleksei Gubarev Vyacheslav Zudov Julie Payette David Heinemeier Hansson Nils Strindberg Salomon August Andrée Theodore Van Kirk Walter Cunningham Yury Vasilyevich Malyshev 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 Marcel Fässler Kathryn D. Sullivan Duane G. Carey Scott Sharp Guion Bluford Mario Runco, Jr. John Martin Roberto Merhi Takao Doi Jean-François Clervoy Chris Hadfield Lorenzo Bertelli Mike Conway Roger Bruce Chaffee Stuart Roosa Aleksandr Kaleri Alfred Worden Michael S. Hopkins Anatoly Solovyev Ricardo González Fred Haise Bernt Balchen Randolph Bresnik Stefan Mücke Jake Garn James F. Reilly Thomas David Jones Henry Hartsfield Susan Kilrain Dafydd Williams Nelson Panciatici Vladimir Shatalov Yi So-Yeon Igor Volk Norman Thagard Sandra Magnus Frederick D. Gregory Ryan Dalziel Michael J. McCulley Richard N. Richards Eugene H. Trinh Shannon Lucid James S. Voss Jose M. Hernandez Christer Fuglesang Charles Bolden Sergei Avdeyev Marc Lieb Vladimir Kovalyonok Nathanaël Berthon Eric Camilli Jan Tománek Hans-Kurt von Bremen Story Musgrave Kirill Ladygin Brendon Hartley 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 Lucas di Grassi Paul Lockhart Sébastien Ogier René Rast Lodewijk van den Berg Kjell N. Lindgren Hans Schlegel Kenneth Ham Gennadi Sarafanov Martin Prokop Jack D. Fischer William A. Pailes Robert F. Overmyer Otto von Bülow James M. Kelly Charles Duke Don L. Lind Kathleen Rubins Philippe Perrin Daniel C. Burbank William B. Lenoir 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 Harry Tincknell Pipo Derani Thomas Grenville Joseph R. Tanner Abdul Ahad Mohmand Pierre Ragues Mathéo Tuscher Vladimir Dzhanibekov Yuri Malenchenko Aleksandr Ivanchenkov Benoît Tréluyer Kevin A. Ford Johannes van Overbeek Oliver Webb John Oliver Creighton James Irwin Dumitru Prunariu James Dutton Kevin R. Kregel Claude Nicollier Dorothy M. Metcalf-Lindenburger Maurizio Cheli Janice E. Voss Edwin Aldrin Jr. Joseph M. Acaba Clayton Anderson Chen Dong Pierre Kaffer Stéphane Richelmi William Shepherd Charles L. Veach Chris Cumming Stephen Bowen Frank De Winne Dirk Frimout Anatoli Ivanishin Anthony W. England 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 Michael Christensen Kimiya Yui Paul Tibbets Donald E. Williams Viktor Shaitar Ulrich Walter Reinhold Ewald Boris Morukov Shannon Walker Leroy Chiao Svetlana Savitskaya Ed Lu Nick Leventis Sultan bin Salman Al Saud Dmitri Kondratyev Marco Bonanomi Franz Viehböck Vitaly Petrov 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 Richard Lietz Alan Blumlein Sébastien Buemi Richard R. Arnold Oliver Jarvis 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 Julien Canal Valeri Kubasov Viktor Savinykh Rex J. Walheim Paul Scully-Power Sergey Ryazansky Guy Gardner Richard Hieb Carl J. Meade Alexander Misurkin Roman Rusinov Terrence W. Wilcutt Dominik Kraihamer Eric Boe Georgy Shonin David Cheng Bernard A. Harris, Jr. Matthew Howson 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 Maurizio Mediani 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 Jon Fogarty Paolo Nespoli 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 Jack Swigert Michael E. Fossum Salizhan Sharipov Nicki Thiim Toyohiro Akiyama Sergei Krikalev Roberta Bondar George Nelson Anatoly Berezovoy Michael Fincke Helen Sharman Gennadi Manakov Gustavo Yacamán 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 Yutaka Yamagishi Anatoly Artsebarsky Gregory C. Johnson Catherine Coleman Paolo Ruberti Christian Klien 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 Scott J. Horowitz Bill Nelson Yury Onufriyenko Oleg Atkov Robert S. Kimbrough Richard Bradley Marco Sørensen Yury Glazkov Samuel T. Durrance Sidney M. Gutierrez James C. Adamson Wendy B. Lawrence Ellen Ochoa Soichi Noguchi Frederick W. Sturckow 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 Hayden Paddon Christopher Cassidy Loïc Duval Robert Thirsk Mae C. Jemison Akihiko Hoshide Michael J. Massimino Sigmund Jähn Dale Gardner Aleksandr Nikolayevich Balandin Kazuki Nakajima Nelson Piquet Jr. Aleksei Yeliseyev Donald R. McMonagle Alan G. Poindexter Romain Dumas Nick Heidfeld Leonid Kadeniuk Timo Bernhard 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 Tsugio Matsuda George D. Zamka Yvonne Dionne Jerry M. Linenger Anthony Davidson Darren Turner George Otto Noville
Georgy Beregovoy, Neil Armstrong and Pyotr Klimuk were the crew members of approximately the same number of spacecrafts or events as Bernt Balchen
Georgy Beregovoy Neil Armstrong Pyotr Klimuk
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type event
action count
action filter_multi_types
action find_reverse
entity Bernt Balchen
relation crew member
type spacecraft
type event
[[{'concept': 'spacecraft'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { { ?e property:crew_member ?w . ?e rdf:type ontology:spacecraft . ?w rdf:type ontology:common_name } UNION { ?e property:crew_member ?w . ?w rdf:type ontology:common_name . ?e rdf:type ontology:event } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:crew_member resource:Bernt_Balchen . { { ?m rdf:type ontology:spacecraft } UNION { ?m rdf:type ontology:event } } } } . FILTER ( ?g = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26640 Q1694131
P47 P27
Q1048835
USER
Which political territories are the countries of citizenship of Johann Gottfried Müller or are adjacent to Burón ?
OR((Q1694131,P27,c(Q1048835)), (Q26640,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1694131
relation P27
action find
entity Q26640
relation P47
type Q1048835
{'OR': [['Q1694131', 'P27', {'concept': 'Q1048835'}], ['Q26640', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . { { resource:Q1694131 property:P27 ?i } UNION { resource:Q26640 property:P47 ?i } } }
Burón Johann Gottfried Müller
action filter_type
action union
action find
entity Johann Gottfried Müller
relation country of citizenship
action find
entity Burón
relation shares border with
type political territorial entity
{'OR': [['Johann Gottfried Müller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Burón', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . { { resource:Johann_Gottfried_Müller property:country_of_citizenship ?i } UNION { resource:Burón property:shares_border_with ?i } } }
[]
political territorial entity
Q26592 Q1753102 Q183 Q141219 Q1640150 Q1635220
SYSTEM
Boca de Huérgano, Riaño, Germany, Maraña, Oseja de Sajambre, Posada de Valdeón
Q26592 Q1753102 Q183 Q141219 Q1640150 Q1635220
OR((Q1694131,P27,c(Q1048835)), (Q26640,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1694131
relation P27
action find
entity Q26640
relation P47
type Q1048835
[ANSWERS] are the countries of citizenship of Johann Gottfried Müller or are adjacent to Burón
{'OR': [['Q1694131', 'P27', {'concept': 'Q1048835'}], ['Q26640', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . { { resource:Q1694131 property:P27 ?i } UNION { resource:Q26640 property:P47 ?i } } }
Boca de Huérgano Riaño Germany Maraña Oseja de Sajambre Posada de Valdeón
Boca de Huérgano, Riaño, Germany, Maraña, Oseja de Sajambre and Posada de Valdeón are the countries of citizenship of Johann Gottfried Müller or are adjacent to Burón
Boca de Huérgano Riaño Germany Maraña Oseja de Sajambre Posada de Valdeón
action filter_type
action union
action find
entity Johann Gottfried Müller
relation country of citizenship
action find
entity Burón
relation shares border with
type political territorial entity
{'OR': [['Johann Gottfried Müller', 'country of citizenship', {'concept': 'political territorial entity'}], ['Burón', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . { { resource:Johann_Gottfried_Müller property:country_of_citizenship ?i } UNION { resource:Burón property:shares_border_with ?i } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with that political territory ?
(Q183,P530,c(Q15617994))
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q423030 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1635220
SYSTEM
Did you mean Posada de Valdeón ?
(Q26592,P530,c(Q15617994)) (Q1753102,P530,c(Q15617994)) (Q183,P530,c(Q15617994)) (Q141219,P530,c(Q15617994)) (Q1640150,P530,c(Q15617994)) (Q1635220,P530,c(Q15617994))
[ANSWER]
['Q26592', 'P530', {'concept': 'Q15617994'}] ['Q1753102', 'P530', {'concept': 'Q15617994'}] ['Q183', 'P530', {'concept': 'Q15617994'}] ['Q141219', 'P530', {'concept': 'Q15617994'}] ['Q1640150', 'P530', {'concept': 'Q15617994'}] ['Q1635220', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q423030 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Posada de Valdeón ?
Posada de Valdeón
['Boca de Huérgano', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Riaño', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Maraña', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Oseja de Sajambre', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Posada de Valdeón', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(Q183,P530,c(Q15617994))
Q183
['Q183', 'P530', {'concept': 'Q15617994'}]
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q423030 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q41
P530
Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with around the same number of political territories as Greece ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q41
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?q property:P530 ?p . ?p rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q41 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?g ) }
Greece
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Greece
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?q property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Greece property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?g ) }
[]
designation for an administrative territorial entity political territorial entity
Q55 Q148 Q17
SYSTEM
Netherlands, People's Republic of China, Japan
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q41
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with around the same number of political territories as Greece
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?q property:P530 ?p . ?p rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q41 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?g ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
Netherlands, People's Republic of China and Japan hold diplomatic relationship with around the same number of political territories as Greece
Netherlands People's Republic of China Japan
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Greece
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?o ) WHERE { ?q property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Greece property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q45
P530
Q15617994 Q1048835
USER
And also tell me about Portugal?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q45
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:P530 ?c . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q45 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?x ) }
Portugal
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Portugal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:diplomatic_relation ?c . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Portugal property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?x ) }
[]
designation for an administrative territorial entity political territorial entity
Q55 Q148 Q17
SYSTEM
Netherlands, People's Republic of China, Japan
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q45
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:P530 ?c . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q45 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?x ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
Netherlands People's Republic of China Japan
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Portugal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { ?q property:diplomatic_relation ?c . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Portugal property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q434053
P206
Q355304 Q337567 Q1048835
USER
How many political territories are situated close to greater number of watercourses or still waterss than Garafía ?
(c(Q1048835),P206,c(Q355304)|c(Q337567))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action count
action filter_multi_types
action find
entity Q434053
relation P206
type Q355304
type Q337567
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?k ) WHERE { { ?b property:P206 ?r . ?r rdf:type ontology:Q355304 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P206 ?r . ?r rdf:type ontology:Q337567 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:Q355304 } UNION { ?j rdf:type ontology:Q337567 } } . resource:Q434053 property:P206 ?j } } . FILTER ( ?k > ?l ) }
Garafía
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action count
action filter_multi_types
action find
entity Garafía
relation located next to body of water
type watercourse
type still waters
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?k ) WHERE { { ?b property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:located_next_to_body_of_water ?r . ?r rdf:type ontology:still_waters . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:watercourse } UNION { ?j rdf:type ontology:still_waters } } . resource:Garafía property:located_next_to_body_of_water ?j } } . FILTER ( ?k > ?l ) }
[]
watercourse still waters political territorial entity
SYSTEM
22
Q2044159 Q4359878 Q4524665 Q40 Q1905388 Q4408930 Q2898 Q11294004 Q4321529 Q1768232 Q1606460 Q1628788 Q24342199 Q13424648 Q4469165 Q505610 Q994034 Q586584 Q615916 Q643919 Q207176 Q597201
(c(Q1048835),P206,c(Q355304)|c(Q337567))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action count
action filter_multi_types
action find
entity Q434053
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?k ) WHERE { { ?b property:P206 ?r . ?r rdf:type ontology:Q355304 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P206 ?r . ?r rdf:type ontology:Q337567 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:Q355304 } UNION { ?j rdf:type ontology:Q337567 } } . resource:Q434053 property:P206 ?j } } . FILTER ( ?k > ?l ) }
Llanybydder Pisocine Szychtory Austria L'Alcúdia de Crespins Sasiv Rostock District Newport City Nuśmice Trillo Malpica de Tajo El Puente del Arzobispo City and County of Cardiff Troitske Uhrynów Flintshire Variazh Nînovîci, Vasilivka Torfaen County Borough Monmouthshire Lake of the Woods, Ontario
22
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action count
action filter_multi_types
action find
entity Garafía
relation located next to body of water
type watercourse
type still waters
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?k ) WHERE { { ?b property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:located_next_to_body_of_water ?r . ?r rdf:type ontology:still_waters . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { { ?j rdf:type ontology:watercourse } UNION { ?j rdf:type ontology:still_waters } } . resource:Garafía property:located_next_to_body_of_water ?j } } . FILTER ( ?k > ?l ) }
[]