Simple Question (Direct)
Simple Question
Q389535
P86
Q502895
USER
Who composed Shootfighter: Fight to the Death ?
(Q389535,P86,c(Q502895))
action filter_type
action find
entity Q389535
relation P86
type Q502895
['Q389535', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q389535 property:P86 ?v }
Shootfighter: Fight to the Death
action filter_type
action find
entity Shootfighter: Fight to the Death
relation composer
type common name
['Shootfighter: Fight to the Death', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Shootfighter:_Fight_to_the_Death property:composer ?v }
[]
common name
Q519282
SYSTEM
Joel Goldsmith
Q519282
(Q389535,P86,c(Q502895))
action filter_type
action find
entity Q389535
relation P86
type Q502895
[ANSWER] composed Shootfighter: Fight to the Death
['Q389535', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q389535 property:P86 ?v }
Joel Goldsmith
Joel Goldsmith composed Shootfighter: Fight to the Death
Joel Goldsmith
action filter_type
action find
entity Shootfighter: Fight to the Death
relation composer
type common name
['Shootfighter: Fight to the Death', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Shootfighter:_Fight_to_the_Death property:composer ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389535
P364
Q34770
USER
Which language was used originally for the creation of Shootfighter: Fight to the Death ?
(Q389535,P364,c(Q34770))
action filter_type
action find
entity Q389535
relation P364
type Q34770
['Q389535', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q389535 property:P364 ?t . ?t rdf:type ontology:Q34770 }
Shootfighter: Fight to the Death
action filter_type
action find
entity Shootfighter: Fight to the Death
relation original language of work
type language
['Shootfighter: Fight to the Death', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Shootfighter:_Fight_to_the_Death property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q389535,P364,c(Q34770))
action filter_type
action find
entity Q389535
relation P364
type Q34770
[ANSWER] was used originally for the creation of Shootfighter: Fight to the Death
['Q389535', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q389535 property:P364 ?t . ?t rdf:type ontology:Q34770 }
English
English was used originally for the creation of Shootfighter: Fight to the Death
English
action filter_type
action find
entity Shootfighter: Fight to the Death
relation original language of work
type language
['Shootfighter: Fight to the Death', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Shootfighter:_Fight_to_the_Death property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
How many languages adopt atmost 2 notations and writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:P282 ?c . ?p rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2001982 } UNION { ?p property:P282 ?c . ?c rdf:type ontology:Q8192 . ?p rdf:type ontology:Q34770 } } GROUP BY ?p } . FILTER ( ?e <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:writing_system ?c . ?p rdf:type ontology:language . ?c rdf:type ontology:notation } UNION { ?p property:writing_system ?c . ?c rdf:type ontology:writing_system . ?p rdf:type ontology:language } } GROUP BY ?p } . FILTER ( ?e <= 2 ) }
[]
notation writing system language
SYSTEM
57
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:P282 ?c . ?p rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2001982 } UNION { ?p property:P282 ?c . ?c rdf:type ontology:Q8192 . ?p rdf:type ontology:Q34770 } } GROUP BY ?p } . FILTER ( ?e <= 2 ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
57
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:writing_system ?c . ?p rdf:type ontology:language . ?c rdf:type ontology:notation } UNION { ?p property:writing_system ?c . ?c rdf:type ontology:writing_system . ?p rdf:type ontology:language } } GROUP BY ?p } . FILTER ( ?e <= 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14623220
P1029
Q502895 Q20027951 Q2235308
USER
Which people were the team members of less number of aircraft power classes or ship types than Adolf Schönberg ?
(c(Q20027951)|c(Q2235308),P1029,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q14623220
relation P1029
type Q20027951
type Q2235308
[[{'concept': 'Q20027951'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P1029 resource:Q14623220 . { VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q2235308 ) } . ?s rdf:type ?b } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?i ) { ( ontology:Q2235308 ) ( ontology:Q20027951 ) } . ?v rdf:type ?i } GROUP BY ?n } }
Adolf Schönberg
action less
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Adolf Schönberg
relation crew member
type aircraft power class
type ship type
[[{'concept': 'aircraft power class'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:crew_member resource:Adolf_Schönberg . { VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:ship_type ) } . ?s rdf:type ?b } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?i ) { ( ontology:ship_type ) ( ontology:aircraft_power_class ) } . ?v rdf:type ?i } GROUP BY ?n } }
[]
common name aircraft power class ship type
Q364451 Q7327 Q1615
SYSTEM
Georgy Beregovoy, Yuri Gagarin, Neil Armstrong
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 Q470059 Q975283 Q8070347 Q927249 Q632907 Q315737 Q172001 Q257778 Q472497 Q1407313 Q310924 Q261731 Q235580 Q1174077 Q254298 Q153242 Q23012291 Q498775 Q313957 Q554538 Q1064074 Q63610 Q254058 Q235567 Q215124 Q262359 Q448538 Q730170 Q537279 Q720182 Q719911 Q535157 Q456840 Q7327 Q935510 Q234306 Q363976 Q727902 Q2036814 Q497530 Q706939 Q61395 Q375202 Q147581 Q1339046 Q173190 Q362174 Q23015616 Q358931 Q440266 Q912120 Q107667 Q448547 Q455669 Q382184 Q17541629 Q461872 Q70928 Q722667 Q166616 Q41575 Q378952 Q264460 Q1334023 Q182642 Q561878 Q349365 Q18431930 Q520760 Q1384788 Q938350 Q111240 Q502101 Q507894 Q78499 Q5975593 Q1336455 Q121797 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 Q115985 Q721397 Q957368 Q975217 Q948673 Q180499 Q985049 Q461788 Q23015561 Q357510 Q948775 Q719441 Q23012700 Q1338925 Q82798 Q440251 Q375659 Q3183604 Q1400906 Q1162918 Q1926804 Q531065 Q82864 Q24094 Q173317 Q444299 Q706916 Q45137 Q355433 Q716981 Q17519 Q24176131 Q1068686 Q23012832 Q560360 Q375631 Q41632 Q252726 Q671886 Q706965 Q708689 Q1693251 Q361859 Q520334 Q362819 Q1680121 Q720361 Q7086024 Q18762 Q499628 Q362209 Q203026 Q4715991 Q704147 Q445419 Q506349 Q268912 Q110450 Q704639 Q351839 Q379039 Q1338950 Q520618 Q433337 Q461840 Q488008 Q383515 Q529119 Q360433 Q1371840 Q15613580 Q978562 Q23664664 Q3492123 Q171294 Q376688 Q390344 Q457075 Q505439 Q731751 Q29515 Q471513 Q446917 Q115552 Q1394857 Q210184 Q41597 Q254985 Q1507223 Q450834 Q1239684 Q1373458 Q362902 Q281819 Q727572 Q557058 Q634822 Q539337 Q1018622 Q453542 Q724552 Q215131 Q59664 Q44371 Q709921 Q1338912 Q3294252 Q23663985 Q466483 Q708452 Q798166 Q82667 Q438844 Q523835 Q920936 Q104859 Q361415 Q465748 Q440178 Q240769 Q719413 Q1385654 Q350420 Q158486 Q4103224 Q372215 Q535280 Q312833 Q1376966 Q441017 Q23012293 Q706739 Q362180 Q4831087 Q1866915 Q707736 Q519268 Q232441 Q434555 Q229635 Q448491 Q573719 Q116294 Q464166 Q32266 Q19242 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 Q352137 Q17478723 Q462132 Q536632 Q4252659 Q361113 Q935071 Q375566 Q720172 Q641389 Q1355634 Q722390 Q719926 Q660570 Q467732 Q347977 Q336810 Q172783 Q45139 Q368793 Q64052 Q719635 Q3197699 Q213076 Q213605 Q260217 Q472491 Q304171 Q3157177 Q1373573 Q519149 Q70468 Q344892 Q152298 Q24083 Q112284 Q707626 Q3194085 Q1266359 Q382176 Q376165 Q104865 Q346671 Q229674 Q324774 Q454649 Q5970982 Q41606 Q1173930 Q348205 Q488043 Q928034 Q706859 Q468250 Q468258 Q720351 Q1448596 Q1878433 Q334084 Q312474 Q260329 Q77349 Q2093835 Q124809 Q466513 Q342953 Q446531 Q578675 Q706849 Q3180801 Q1914370 Q718729 Q297801 Q446692 Q74018 Q1322669 Q116962 Q74015 Q320068 Q956842 Q52923 Q2252 Q318934 Q447264 Q27336250 Q73081 Q616303 Q361932 Q644837 Q573473 Q23664678 Q463086 Q52495 Q52494 Q487622 Q574124 Q472683 Q457064 Q749845 Q360038 Q658221 Q557585 Q722513 Q1494855 Q374034 Q1333261 Q358525 Q350317 Q235266 Q1853048 Q5975489 Q294555 Q717654 Q17542124 Q215142 Q215140 Q281604 Q240708 Q197135 Q709935 Q152318 Q709931 Q3339766 Q379946 Q722142 Q247508 Q335503 Q78552 Q82901 Q718499 Q971200 Q45082 Q2899473 Q32305 Q705636 Q703321 Q49284 Q12865 Q535172 Q555679 Q540379 Q365317 Q317792 Q21842 Q71248 Q21706101 Q85493 Q724082 Q171310 Q462853 Q1333070 Q316417 Q448243 Q442233 Q289337 Q1338895 Q239960 Q232692 Q434546 Q643556 Q433046 Q24188587 Q448563 Q23012814 Q29648 Q446243 Q364476 Q963226 Q461777 Q3189408 Q432752 Q431006 Q447304 Q493699 Q3329196 Q1376909 Q607394 Q1800097 Q2655329 Q141651 Q315730 Q938428 Q25981 Q87102 Q461821 Q434409 Q23664692 Q822249 Q17385517 Q1065133 Q725848 Q520384 Q535831 Q692263 Q1372276 Q430996 Q278656 Q447057 Q720160 Q382202 Q7454059 Q11993310 Q554415 Q23664385 Q325205 Q255764 Q732906 Q363506 Q362998 Q451259 Q1323571 Q1338436 Q609639 Q174979 Q49819 Q505530 Q2036753 Q539358 Q440303 Q2279606 Q17177 Q154269 Q1904202 Q501697 Q718630 Q216726 Q240701 Q362190 Q1385274 Q448520 Q720194 Q1341315 Q334463 Q266359 Q353687 Q491064 Q507046 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 Q460440 Q2050429 Q84178 Q703865 Q1429300 Q725339 Q352069 Q319269 Q512266 Q201797 Q720124 Q1615 Q45080 Q110879 Q703819 Q358437 Q466075 Q708489 Q708484 Q520176 Q7146575 Q977664 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 Q1872734 Q461795 Q34091 Q375641 Q32295 Q57229 Q426836 Q725659 Q382013 Q171302 Q172838 Q118490 Q381541 Q1240263 Q362220 Q906626 Q75810 Q382150 Q64684 Q342338 Q448470 Q540108 Q29650 Q434205 Q446233 Q345658 Q19839428 Q521395 Q535234 Q502963 Q499636 Q449577 Q723989 Q320047 Q447334 Q19831446 Q1376469 Q171319 Q442910 Q5543066
(c(Q20027951)|c(Q2235308),P1029,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q14623220
relation P1029
type Q20027951
type Q2235308
[ANSWERS] were the team members of less number of aircraft power classes or ship types than Adolf Schönberg
[[{'concept': 'Q20027951'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P1029 resource:Q14623220 . { VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q2235308 ) } . ?s rdf:type ?b } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?i ) { ( ontology:Q2235308 ) ( ontology:Q20027951 ) } . ?v rdf:type ?i } GROUP BY ?n } }
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 Liu Wang Thierry Neuville Zhang Xiaoguang Oleg Skripochka Leland D. Melvin Robert Crippen Tiago Monteiro Danny Watts Valery Ryumin Terence T. Henricks Alan Bean 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 Yuri Gagarin Joe F. Edwards Chiaki Mukai Jack R. Lousma Sergei Treshchov Albert Sacco Brewster H. Shaw Dominic L. Pudwill Gorie André Lotterer Michael López-Alegría Yang Liwei Michel Tognini Gianmaria Bruni Ho-Pin Tung Volodymyr Korsia Garrett Reisman Dominic A. Antonelli Brian Duffy John Young 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 John Glenn Michael Foreman Ellison Onizuka Matt Rao Yuri Baturin Kent Rominger Carlos I. Noruega Jim Lovell Andrei Borisenko Andy Thomas Alexander Wurz Takuya Onishi Lawrence J. DeLucas Mathias Beche 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 Simon Trummer Jean-Pierre Haigneré Franco Malerba Sergei Revin Daniel W. Bursch Karol J. Bobko Sherwood C. Spring David Wolf Simone Scattolin Mark Kelly 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 Anousheh Ansari 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 Frank Borman Andreas Mikkelsen John M. Grunsfeld Sergei Zalyotin Aleksey Ovchinin Michael L. Gernhardt Andy Priaulx 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 James Rossiter Franklin Chang Díaz Richard A. Searfoss Gustavo Menezes Frederick W. Leslie Ed Brown Yelena Serova Vitantonio Liuzzi Yury Usachov Edward Gibson Mads Østberg Piers Sellers Marino Franchitti Nancy J. Currie John D. Olivas Joseph P. Kerwin 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 Valentina Tereshkova 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 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 Marcel Fässler Kathryn D. Sullivan Duane G. Carey Bill Anders 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 Boris Yegorov Hans-Kurt von Bremen Story Musgrave Paul J. Weitz 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 Pete Conrad Hans Schlegel Kenneth Ham Gennadi Sarafanov Martin Prokop Jack D. Fischer William A. Pailes Robert F. Overmyer Otto von Bülow Fei Junlong Gherman Titov James M. Kelly Charles Duke Don L. Lind Kathleen Rubins Philippe Perrin Daniel C. Burbank William B. Lenoir Vladimir Komarov Rick Husband 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 Harry Tincknell Pipo Derani Thomas Grenville Andriyan Nikolayev 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 Konstantin Feoktistov Maurizio Cheli Janice E. Voss Edwin Aldrin Jr. Joseph M. Acaba Clayton Anderson Chen Dong Pierre Kaffer Stéphane Richelmi William Shepherd Gerald P. Carr Charles L. Veach Chris Cumming 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 Michael Christensen Kimiya Yui Paul Tibbets Donald E. Williams Viktor Shaitar Ulrich Walter Reinhold Ewald Boris Morukov Shannon Walker Zhai Zhigang Leroy Chiao Svetlana Savitskaya Ed Lu Nick Leventis Sultan bin Salman Al Saud Dmitri Kondratyev Marco Bonanomi Scott Carpenter Franz Viehböck Vitaly Petrov 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 Richard Lietz Alan Blumlein Sébastien Buemi Richard R. Arnold Oliver Jarvis 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 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 Ronald McNair Terrence W. Wilcutt Michael J. Smith 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 David Scott Christopher Ferguson John M. Fabian Jeffrey Williams Sergey Ryzhikov Ola Fløene Terry W. Virts Maurizio Mediani 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 Jon Fogarty 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 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 William R. Pogue 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 Gus Grissom Scott J. Horowitz Bill Nelson Pavel Vinogradov 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 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 Loïc Duval Robert Thirsk Mae C. Jemison Akihiko Hoshide Michael J. Massimino Sigmund Jähn Dale Gardner Aleksandr Nikolayevich Balandin Gregory Jarvis Kazuki Nakajima Nelson Piquet Jr. Pavel Popovich 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 Dick Scobee George D. Zamka Yvonne Dionne Jerry M. Linenger Anthony Davidson Darren Turner George Otto Noville
Georgy Beregovoy, Yuri Gagarin and Neil Armstrong were the team members of less number of aircraft power classes or ship types than Adolf Schönberg
Georgy Beregovoy Yuri Gagarin Neil Armstrong
action less
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Adolf Schönberg
relation crew member
type aircraft power class
type ship type
[[{'concept': 'aircraft power class'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:crew_member resource:Adolf_Schönberg . { VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:ship_type ) } . ?s rdf:type ?b } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?i ) { ( ontology:ship_type ) ( ontology:aircraft_power_class ) } . ?v rdf:type ?i } GROUP BY ?n } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q364451
P138
Q17444909
USER
Which astronomical object type has that person as its toponym ?
(c(Q17444909),P138,Q364451)
action filter_type
action find_reverse
entity Q364451
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q364451']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q17444909 . ?c property:P138 resource:Q364451 }
Georgy Beregovoy
action filter_type
action find_reverse
entity Georgy Beregovoy
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Georgy Beregovoy']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:astronomical_object_type . ?c property:named_after resource:Georgy_Beregovoy }
[]
astronomical object type
Clarification for simple ques.
Q1615
SYSTEM
Did you mean Neil Armstrong ?
Q364451 Q7327 Q1615
(c(Q17444909),P138,Q364451) (c(Q17444909),P138,Q7327) (c(Q17444909),P138,Q1615)
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q364451'] [{'concept': 'Q17444909'}, 'P138', 'Q7327'] [{'concept': 'Q17444909'}, 'P138', 'Q1615']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q17444909 . ?c property:P138 resource:Q364451 }
Georgy Beregovoy Yuri Gagarin Neil Armstrong
Did you mean Neil Armstrong ?
Neil Armstrong
[{'concept': 'astronomical object type'}, 'named after', 'Georgy Beregovoy'] [{'concept': 'astronomical object type'}, 'named after', 'Yuri Gagarin'] [{'concept': 'astronomical object type'}, 'named after', 'Neil Armstrong']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:astronomical_object_type . ?c property:named_after resource:Georgy_Beregovoy }
[]
Simple Question (Coreferenced)
USER
No, I meant Georgy Beregovoy. Could you tell me the answer for that?
(c(Q17444909),P138,Q364451)
Q364451
[{'concept': 'Q17444909'}, 'P138', 'Q364451']
[{'concept': 'astronomical object type'}, 'named after', 'Georgy Beregovoy']
[]
Q557088
SYSTEM
6319 Beregovoj
Q557088
(c(Q17444909),P138,Q364451)
action filter_type
action find_reverse
entity Q364451
relation P138
type Q17444909
[ANSWER] has that person as its toponym
[{'concept': 'Q17444909'}, 'P138', 'Q364451']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q17444909 . ?c property:P138 resource:Q364451 }
6319 Beregovoj
6319 Beregovoj has that person as its toponym
6319 Beregovoj
action filter_type
action find_reverse
entity Georgy Beregovoy
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Georgy Beregovoy']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:astronomical_object_type . ?c property:named_after resource:Georgy_Beregovoy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P629
Q571
USER
Which book is an edition or translation of English ?
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?o WHERE { ?o property:P629 resource:Q1860 . ?o rdf:type ontology:Q571 }
English
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?o WHERE { ?o property:edition_or_translation_of resource:English . ?o rdf:type ontology:book }
[]
book
Q24036077
SYSTEM
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q24036077
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[ANSWER] is an edition or translation of English
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?o WHERE { ?o property:P629 resource:Q1860 . ?o rdf:type ontology:Q571 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Two Addresses from the Governour, Council and Convention of the Massachusets Colony is an edition or translation of English
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?o WHERE { ?o property:edition_or_translation_of resource:English . ?o rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7327
P1196
Q3839081
USER
What situation did Yuri Gagarin die in ?
(Q7327,P1196,c(Q3839081))
action filter_type
action find
entity Q7327
relation P1196
type Q3839081
['Q7327', 'P1196', {'concept': 'Q3839081'}]
SELECT DISTINCT ?v WHERE { resource:Q7327 property:P1196 ?v . ?v rdf:type ontology:Q3839081 }
Yuri Gagarin
action filter_type
action find
entity Yuri Gagarin
relation manner of death
type disaster
['Yuri Gagarin', 'manner of death', {'concept': 'disaster'}]
SELECT DISTINCT ?v WHERE { resource:Yuri_Gagarin property:manner_of_death ?v . ?v rdf:type ontology:disaster }
[]
disaster
Q3002150
SYSTEM
plane crash
Q3002150
(Q7327,P1196,c(Q3839081))
action filter_type
action find
entity Q7327
relation P1196
type Q3839081
Yuri Gagarin died in [ANSWER]
['Q7327', 'P1196', {'concept': 'Q3839081'}]
SELECT DISTINCT ?v WHERE { resource:Q7327 property:P1196 ?v . ?v rdf:type ontology:Q3839081 }
plane crash
Yuri Gagarin died in plane crash
plane crash
action filter_type
action find
entity Yuri Gagarin
relation manner of death
type disaster
['Yuri Gagarin', 'manner of death', {'concept': 'disaster'}]
SELECT DISTINCT ?v WHERE { resource:Yuri_Gagarin property:manner_of_death ?v . ?v rdf:type ontology:disaster }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q213864
Q3839081
USER
And what about Paul Walker?
(Q213864,P1196,c(Q3839081))
action filter_type
action find
entity Q213864
relation P1196
type Q3839081
['Q213864', 'P1196', {'concept': 'Q3839081'}]
SELECT DISTINCT ?w WHERE { resource:Q213864 property:P1196 ?w . ?w rdf:type ontology:Q3839081 }
Paul Walker
action filter_type
action find
entity Paul Walker
relation manner of death
type disaster
['Paul Walker', 'manner of death', {'concept': 'disaster'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Walker property:manner_of_death ?w . ?w rdf:type ontology:disaster }
[]
disaster
Q9687
SYSTEM
traffic accident
Q9687
(Q213864,P1196,c(Q3839081))
action filter_type
action find
entity Q213864
relation P1196
type Q3839081
[ANSWER]
['Q213864', 'P1196', {'concept': 'Q3839081'}]
SELECT DISTINCT ?w WHERE { resource:Q213864 property:P1196 ?w . ?w rdf:type ontology:Q3839081 }
traffic accident
traffic accident
action filter_type
action find
entity Paul Walker
relation manner of death
type disaster
['Paul Walker', 'manner of death', {'concept': 'disaster'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Walker property:manner_of_death ?w . ?w rdf:type ontology:disaster }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9687 Q725813
P509
Q502895
USER
Did Gift Leremi die from that disaster ?
(Q725813,P509,Q9687)
action is_in
entity Q9687
action find
entity Q725813
relation P509
['Q725813', 'P509', 'Q9687']
ASK WHERE { resource:Q725813 property:P509 resource:Q9687 }
traffic accident Gift Leremi
action is_in
entity traffic accident
action find
entity Gift Leremi
relation cause of death
['Gift Leremi', 'cause of death', 'traffic accident']
ASK WHERE { resource:Gift_Leremi property:cause_of_death resource:traffic_accident }
[]
common name
SYSTEM
YES
(Q725813,P509,Q9687)
action is_in
entity Q9687
action find
entity Q725813
relation P509
[ANSWER]
['Q725813', 'P509', 'Q9687']
ASK WHERE { resource:Q725813 property:P509 resource:Q9687 }
Yes
action is_in
entity traffic accident
action find
entity Gift Leremi
relation cause of death
['Gift Leremi', 'cause of death', 'traffic accident']
ASK WHERE { resource:Gift_Leremi property:cause_of_death resource:traffic_accident }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q2212420 Q15809175
P361
Q5962346
USER
Is English a portion of I-121-class submarine and Fabronic languages ?
(Q1860,P361,Q2212420) (Q1860,P361,Q15809175)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q2212420
relation P361
action find_reverse
entity Q15809175
relation P361
['Q1860', 'P361', 'Q2212420'] ['Q1860', 'P361', 'Q15809175']
ASK WHERE { resource:Q1860 property:P361 resource:Q2212420 . resource:Q1860 property:P361 resource:Q15809175 }
English I-121-class submarine Fabronic languages
action is_in
entity English
action intersection
action find_reverse
entity I-121-class submarine
relation part of
action find_reverse
entity Fabronic languages
relation part of
['English', 'part of', 'I-121-class submarine'] ['English', 'part of', 'Fabronic languages']
ASK WHERE { resource:English property:part_of resource:I-121-class_submarine . resource:English property:part_of resource:Fabronic_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q2212420) (Q1860,P361,Q15809175)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q2212420
relation P361
action find_reverse
entity Q15809175
relation P361
[ANSWER]
['Q1860', 'P361', 'Q2212420'] ['Q1860', 'P361', 'Q15809175']
ASK WHERE { resource:Q1860 property:P361 resource:Q2212420 . resource:Q1860 property:P361 resource:Q15809175 }
No
action is_in
entity English
action intersection
action find_reverse
entity I-121-class submarine
relation part of
action find_reverse
entity Fabronic languages
relation part of
['English', 'part of', 'I-121-class submarine'] ['English', 'part of', 'Fabronic languages']
ASK WHERE { resource:English property:part_of resource:I-121-class_submarine . resource:English property:part_of resource:Fabronic_languages }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7327
P138
Q34442 Q17444909
USER
How many roads or astronomical object types are the eponym of Yuri Gagarin ?
(c(Q34442),P138,Q7327) (c(Q17444909),P138,Q7327)
action count
action union
action filter_type
action find_reverse
entity Q7327
relation P138
type Q34442
action filter_type
action find_reverse
entity Q7327
relation P138
type Q17444909
[{'concept': 'Q34442'}, 'P138', 'Q7327'] [{'concept': 'Q17444909'}, 'P138', 'Q7327']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:P138 resource:Q7327 . ?y rdf:type ontology:Q17444909 } UNION { ?y property:P138 resource:Q7327 . ?y rdf:type ontology:Q34442 } }
Yuri Gagarin
action count
action union
action filter_type
action find_reverse
entity Yuri Gagarin
relation named after
type road
action filter_type
action find_reverse
entity Yuri Gagarin
relation named after
type astronomical object type
[{'concept': 'road'}, 'named after', 'Yuri Gagarin'] [{'concept': 'astronomical object type'}, 'named after', 'Yuri Gagarin']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:named_after resource:Yuri_Gagarin . ?y rdf:type ontology:astronomical_object_type } UNION { ?y property:named_after resource:Yuri_Gagarin . ?y rdf:type ontology:road } }
[]
road astronomical object type
SYSTEM
6
Q143530 Q4471791 Q4365524 Q3190198 Q8061502 Q12091413
(c(Q34442),P138,Q7327) (c(Q17444909),P138,Q7327)
action count
action union
action filter_type
action find_reverse
entity Q7327
relation P138
type Q34442
action filter_type
action find_reverse
entity Q7327
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q7327'] [{'concept': 'Q17444909'}, 'P138', 'Q7327']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:P138 resource:Q7327 . ?y rdf:type ontology:Q17444909 } UNION { ?y property:P138 resource:Q7327 . ?y rdf:type ontology:Q34442 } }
1772 Gagarin Gagarin Street Gagarin Square Yuri Gagarin Street, Belgrade Yuri Gagarin Street, Warsaw Haharina Street
6
action count
action union
action filter_type
action find_reverse
entity Yuri Gagarin
relation named after
type road
action filter_type
action find_reverse
entity Yuri Gagarin
relation named after
type astronomical object type
[{'concept': 'road'}, 'named after', 'Yuri Gagarin'] [{'concept': 'astronomical object type'}, 'named after', 'Yuri Gagarin']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:named_after resource:Yuri_Gagarin . ?y rdf:type ontology:astronomical_object_type } UNION { ?y property:named_after resource:Yuri_Gagarin . ?y rdf:type ontology:road } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q275473
P1542
Q3839081 Q483247
USER
Which phenomena were the cause of around the same number of disasters as solitude ?
(c(Q483247),P1542,c(Q3839081))
action approx
action find_tuple_counts
relation P1542
type Q483247
type Q3839081
action count
action filter_type
action find
entity Q275473
relation P1542
type Q483247
[{'concept': 'Q483247'}, 'P1542', {'concept': 'Q3839081'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?h ) WHERE { ?u property:P1542 ?i . ?u rdf:type ontology:Q483247 . ?i rdf:type ontology:Q3839081 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q275473 property:P1542 ?k . ?k rdf:type ontology:Q483247 } } . FILTER ( ?h = ?e ) }
solitude
action approx
action find_tuple_counts
relation cause of
type phenomenon
type disaster
action count
action filter_type
action find
entity solitude
relation cause of
type phenomenon
[{'concept': 'phenomenon'}, 'cause of', {'concept': 'disaster'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?h ) WHERE { ?u property:cause_of ?i . ?u rdf:type ontology:phenomenon . ?i rdf:type ontology:disaster } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:solitude property:cause_of ?k . ?k rdf:type ontology:phenomenon } } . FILTER ( ?h = ?e ) }
[]
disaster phenomenon
Q7944 Q275473 Q72277
SYSTEM
earthquake, solitude, refraction
Q7944 Q275473 Q72277
(c(Q483247),P1542,c(Q3839081))
action approx
action find_tuple_counts
relation P1542
type Q483247
type Q3839081
action count
action filter_type
action find
entity Q275473
relation P1542
type Q483247
[ANSWERS] were the cause of around the same number of disasters as solitude
[{'concept': 'Q483247'}, 'P1542', {'concept': 'Q3839081'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?h ) WHERE { ?u property:P1542 ?i . ?u rdf:type ontology:Q483247 . ?i rdf:type ontology:Q3839081 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q275473 property:P1542 ?k . ?k rdf:type ontology:Q483247 } } . FILTER ( ?h = ?e ) }
earthquake solitude refraction
Earthquake, solitude and refraction were the cause of around the same number of disasters as solitude
earthquake solitude refraction
action approx
action find_tuple_counts
relation cause of
type phenomenon
type disaster
action count
action filter_type
action find
entity solitude
relation cause of
type phenomenon
[{'concept': 'phenomenon'}, 'cause of', {'concept': 'disaster'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?h ) WHERE { ?u property:cause_of ?i . ?u rdf:type ontology:phenomenon . ?i rdf:type ontology:disaster } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:solitude property:cause_of ?k . ?k rdf:type ontology:phenomenon } } . FILTER ( ?h = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7944
P1542
Q3839081 Q483247
USER
And also tell me about earthquake?
(c(Q483247),P1542,c(Q3839081))
action approx
action find_tuple_counts
relation P1542
type Q483247
type Q3839081
action count
action filter_type
action find
entity Q7944
relation P1542
type Q483247
[{'concept': 'Q483247'}, 'P1542', {'concept': 'Q3839081'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?q ) WHERE { ?c property:P1542 ?m . ?c rdf:type ontology:Q483247 . ?m rdf:type ontology:Q3839081 } GROUP BY ?c } . FILTER ( ?q = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q7944 property:P1542 ?o . ?o rdf:type ontology:Q483247 } } }
earthquake
action approx
action find_tuple_counts
relation cause of
type phenomenon
type disaster
action count
action filter_type
action find
entity earthquake
relation cause of
type phenomenon
[{'concept': 'phenomenon'}, 'cause of', {'concept': 'disaster'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?q ) WHERE { ?c property:cause_of ?m . ?c rdf:type ontology:phenomenon . ?m rdf:type ontology:disaster } GROUP BY ?c } . FILTER ( ?q = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:earthquake property:cause_of ?o . ?o rdf:type ontology:phenomenon } } }
[]
disaster phenomenon
Q7944 Q275473 Q72277
SYSTEM
earthquake, solitude, refraction
Q7944 Q275473 Q72277
(c(Q483247),P1542,c(Q3839081))
action approx
action find_tuple_counts
relation P1542
type Q483247
type Q3839081
action count
action filter_type
action find
entity Q7944
relation P1542
type Q483247
[ANSWERS]
[{'concept': 'Q483247'}, 'P1542', {'concept': 'Q3839081'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?q ) WHERE { ?c property:P1542 ?m . ?c rdf:type ontology:Q483247 . ?m rdf:type ontology:Q3839081 } GROUP BY ?c } . FILTER ( ?q = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q7944 property:P1542 ?o . ?o rdf:type ontology:Q483247 } } }
earthquake solitude refraction
earthquake solitude refraction
action approx
action find_tuple_counts
relation cause of
type phenomenon
type disaster
action count
action filter_type
action find
entity earthquake
relation cause of
type phenomenon
[{'concept': 'phenomenon'}, 'cause of', {'concept': 'disaster'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?q ) WHERE { ?c property:cause_of ?m . ?c rdf:type ontology:phenomenon . ?m rdf:type ontology:disaster } GROUP BY ?c } . FILTER ( ?q = ?x ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:earthquake property:cause_of ?o . ?o rdf:type ontology:phenomenon } } }
[]