Simple Question (Direct)
Simple Question
Q6218288
P241
Q781132
USER
Which military branch is John Adrian Chamier associated with ?
(Q6218288,P241,c(Q781132))
action filter_type
action find
entity Q6218288
relation P241
type Q781132
['Q6218288', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q6218288 property:P241 ?c . ?c rdf:type ontology:Q781132 }
John Adrian Chamier
action filter_type
action find
entity John Adrian Chamier
relation military branch
type military branch
['John Adrian Chamier', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:John_Adrian_Chamier property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q6218288,P241,c(Q781132))
action filter_type
action find
entity Q6218288
relation P241
type Q781132
John Adrian Chamier is associated with [ANSWER]
['Q6218288', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q6218288 property:P241 ?c . ?c rdf:type ontology:Q781132 }
British Army
John Adrian Chamier is associated with British Army
British Army
action filter_type
action find
entity John Adrian Chamier
relation military branch
type military branch
['John Adrian Chamier', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:John_Adrian_Chamier property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6218288
P607
Q198
USER
Which battles did John Adrian Chamier take part in ?
(Q6218288,P607,c(Q198))
action filter_type
action find
entity Q6218288
relation P607
type Q198
['Q6218288', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q6218288 property:P607 ?b . ?b rdf:type ontology:Q198 }
John Adrian Chamier
action filter_type
action find
entity John Adrian Chamier
relation conflict
type war
['John Adrian Chamier', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:John_Adrian_Chamier property:conflict ?b . ?b rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q6218288,P607,c(Q198))
action filter_type
action find
entity Q6218288
relation P607
type Q198
John Adrian Chamier took part in [ANSWERS]
['Q6218288', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q6218288 property:P607 ?b . ?b rdf:type ontology:Q198 }
World War II World War I
John Adrian Chamier took part in World War II and World War I
World War II World War I
action filter_type
action find
entity John Adrian Chamier
relation conflict
type war
['John Adrian Chamier', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:John_Adrian_Chamier property:conflict ?b . ?b rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6218288
P410
Q4189293
USER
Which title was the military rank held by that person ?
(Q362,P410,c(Q4189293)) (Q361,P410,c(Q4189293))
action filter_type
action find
entity Q6218288
relation P410
type Q4189293
['Q362', 'P410', {'concept': 'Q4189293'}] ['Q361', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q6218288 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
John Adrian Chamier
action filter_type
action find
entity John Adrian Chamier
relation military rank
type title
['World War II', 'military rank', {'concept': 'title'}] ['World War I', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:John_Adrian_Chamier property:military_rank ?k . ?k rdf:type ontology:title }
[]
title
Q407033
SYSTEM
air commodore
Q407033
(Q362,P410,c(Q4189293)) (Q361,P410,c(Q4189293))
action filter_type
action find
entity Q6218288
relation P410
type Q4189293
The [ANSWER] was the military rank held by that person
['Q362', 'P410', {'concept': 'Q4189293'}] ['Q361', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q6218288 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
air commodore
The air commodore was the military rank held by that person
air commodore
action filter_type
action find
entity John Adrian Chamier
relation military rank
type title
['World War II', 'military rank', {'concept': 'title'}] ['World War I', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:John_Adrian_Chamier property:military_rank ?k . ?k rdf:type ontology:title }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P410
Q4189293 Q502895
USER
Which titles were the military ranks conferred upon approximately the same number of people as that title ?
(c(Q502895),P410,c(Q4189293))
action approx
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q407033
relation P410
type Q4189293
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P410 ?l . ?l rdf:type ontology:Q4189293 . ?p rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q407033 property:P410 ?c . ?c rdf:type ontology:Q4189293 } } . FILTER ( ?s = ?b ) }
action approx
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity air commodore
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:military_rank ?l . ?l rdf:type ontology:title . ?p rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:air_commodore property:military_rank ?c . ?c rdf:type ontology:title } } . FILTER ( ?s = ?b ) }
[]
title common name
Q5531647 Q6544388 Q21074079
SYSTEM
general, lieutenant-general, lieutenant-colonel
Q6544459 Q21824635 Q5531647 Q19688860 Q5036511 Q5036510 Q13099720 Q5036514 Q958321 Q3280545 Q2623629 Q2995864 Q12789686 Q279704 Q4896145 Q5531645 Q2608441 Q4283252 Q522908 Q664101 Q351346 Q302220 Q6867301 Q27231602 Q5257199 Q13390324 Q694005 Q2046665 Q10975529 Q7194476 Q4368198 Q1337825 Q111837 Q852661 Q3123081 Q20630751 Q161546 Q16711404 Q10816384 Q24038912 Q14600956 Q7925088 Q1801805 Q20715023 Q16707903 Q3556878 Q330459 Q6544388 Q1083909 Q2429942 Q4114269 Q11707054 Q21074080 Q798793 Q6620231 Q14108394 Q7821620 Q3100519 Q15615347 Q2273272 Q157696 Q10813665 Q163500 Q3983433 Q1068364 Q191079 Q7179399 Q1824398 Q2408844 Q4216901 Q4913 Q212624 Q160910 Q7100887 Q214443 Q17113189 Q3646855 Q11141137 Q2210140 Q4683638 Q14601006 Q4995518 Q64909 Q4683633 Q707995 Q6451223 Q24038807 Q12783974 Q20744063 Q4668082 Q4057849 Q2579265 Q2937535 Q2604857 Q2962006 Q2416232 Q23056163 Q24038803 Q1986828 Q506249 Q21074079 Q4774097 Q2984198 Q842486 Q22672397 Q329741 Q975834 Q3100539 Q7179400 Q2631032 Q7453376 Q5096883 Q2388765 Q1950988 Q524750 Q2723352 Q4967196 Q22957305 Q18966441 Q2624074 Q335954 Q3196427 Q3511995 Q4096450 Q3106078 Q680028 Q16932763 Q475482 Q155327 Q4931543 Q165654 Q14703190 Q481303 Q6451204 Q17378201 Q640375 Q679193 Q21074077 Q2278692 Q322749 Q1501733 Q3832151 Q2937293 Q5459333 Q7820253 Q23055498 Q330399 Q2596083 Q20183 Q453825 Q437767 Q158668 Q1278830 Q871240 Q12789710 Q5013228 Q2501631 Q19963503 Q6497929 Q1642186 Q15215042 Q457271 Q12799162 Q15730331 Q664082 Q5770104 Q4902790 Q56923 Q2828191 Q7925090 Q2300063 Q1426568 Q23020967 Q10918728 Q17056579 Q22814748 Q9304299 Q3756713 Q21074326 Q2703373 Q407033 Q1454304 Q5152182 Q157662 Q4698576 Q2111073 Q694613 Q837643 Q661924 Q11912077 Q23011769 Q4891933 Q1331037 Q125168 Q7581909 Q475681 Q156945 Q2961982 Q6738072 Q727229 Q2352637 Q20157601 Q12805632 Q407517 Q837582 Q14595679 Q2673216 Q41685 Q4833532 Q6544462 Q19254761 Q429703 Q3399716 Q131767 Q3479611 Q13416824 Q13543682 Q17347366 Q1463070 Q1501734 Q15811059
(c(Q502895),P410,c(Q4189293))
action approx
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q407033
relation P410
type Q4189293
[ANSWERS] were the military ranks conferred upon approximately the same number of people as that title
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P410 ?l . ?l rdf:type ontology:Q4189293 . ?p rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q407033 property:P410 ?c . ?c rdf:type ontology:Q4189293 } } . FILTER ( ?s = ?b ) }
lieutenant colonel Admiral of the fleet (USSR) general Oberleutnant zur See captain captain podpolkovnik captain bombardier major general Chief Marshal Rear-Admiral of the United Kingdom Surgeon General of the German Armed Forces corvette captain major General general air marshal Furir General of the Artillery chief warrant officer Fenrik sub-lieutenant captain of Orlovsky 36th infantry regiment Commodore Generał General of the Infantry lieutenant general group captain Pilot officer lieutenant colonel staff sergeant marshal adjutant général de corps d'armée Patrona Großadmiral First sergeant Chorąży Lieutenant Stabsfeldwebel vice admiral lance sergeant First lieutenant brevet colonel vice-admiral first lieutenant lieutenant-general Marshal of the branch Adjutant general Field marshal (Serbia and Yugoslavia) major commandant Chasu commander Maat (military) Field marshal Generalleutnant rear admiral Landman sergeant Praporshchik Captain lieutenant commander Kapudan Pasha Generalissimo Petty officer, first class lieutenant Schout-bij-nacht Mushir Gensui legatus Army General Ordnance Sergeant vice admiral captain at sea Polkovnik midshipman Sotnik Admiral Oberfeldwebel commandant Field marshal-lieutenant Admiral seaman Four-star rank Vice-Admiral of the Blue admiral Captain 1st Rank able seaman admiral maréchal de camp Master corporal general of the army Battalion Chief General-in-Chief brigadier rear-admiral Admiral of the Fleet of the Soviet Union Commodore lieutenant-colonel Anthypolochagos colonel admiral of the fleet captain officer candidate Quartermaster General of the Armies of the United States Petty officer, second class naval lieutenant sergeant Chief Petty Officer Komandarm 2nd rank Lieutenant admiral Kombrig Sparapet brigadier general admiral leutnant General of the Cavalry Strategos Generał broni Stožerni general Brigadier Commissioner air vice-marshal Oberwachtmeister lieutenant-colonel Gefreiter colonel general Boatswain's mate constable Fleet admiral General two-star rank corporal Rittmeister Lieutenant General colonel Sergeant First Class petty officer General of the Cavalry Lieutenant Commander captain Flight sergeant field marshal rear admiral Gardes de la Marine Serdar general of the army Chief Master Sergeant of the Air Force Marshal of the Empire private rear admiral Generalstabsarzt Generalstabsveterinär flight lieutenant Admiral of the Fleet senior sergeant Officer cadet Leutnant zur See Master Sergeant lieutenant colonel General of the Army General der Panzertruppe Binbashi vice admiral Captain general air chief marshal vice admiral Army General General of the Air Force Captain 2nd Rank second lieutenant Vääpeli Korvettenkapitän oberstleutnant Oberst second lieutenant field marshal air commodore Marshal of Poland commander Korporal aircraftman private cornet warrant officer Stabskapitän Squadron Leader Flottillenadmiral wing commander General of the Army Marshal of the Soviet Union Squadron vice-admiral Ship-of-the-line lieutenant rear admiral Chef d'escadron major general Ataman Starszy szeregowy Midshipman vice admiral air marshal Lieutenant Commander ensign Oberleutnant brigadier Mirliva Lieutenant general Vizeadmiral Feldwebel post-captain shogun regimental sergeant major flying officer Commander tribunus legionis lance corporal Generalarzt Fähnrich zur See
General, lieutenant-general and lieutenant-colonel were the military ranks conferred upon approximately the same number of people as that title
general lieutenant-general lieutenant-colonel
action approx
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity air commodore
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:military_rank ?l . ?l rdf:type ontology:title . ?p rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:air_commodore property:military_rank ?c . ?c rdf:type ontology:title } } . FILTER ( ?s = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1029
Q502895 Q40218 Q12973014
USER
Which people were the team members of min number of spacecrafts or sports teams ?
(c(Q40218)|c(Q12973014),P1029,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[[{'concept': 'Q40218'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:Q12973014 ) ( ontology:Q40218 ) } . ?r rdf:type ?j } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:Q40218 ) ( ontology:Q12973014 ) } . ?d rdf:type ?k } GROUP BY ?q } . FILTER ( ?h = ?c ) }
action argmin
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 sports team
[[{'concept': 'spacecraft'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:sports_team ) ( ontology:spacecraft ) } . ?r rdf:type ?j } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:spacecraft ) ( ontology:sports_team ) } . ?d rdf:type ?k } GROUP BY ?q } . FILTER ( ?h = ?c ) }
[]
common name spacecraft sports team
Q364451 Q1615 Q434546
SYSTEM
Georgy Beregovoy, Neil Armstrong, Pyotr Klimuk
Q227030 Q237470 Q41432 Q120793 Q21767 Q29527 Q2896833 Q49285 Q268089 Q513131 Q518012 Q1371854 Q1345924 Q471486 Q221615 Q51773 Q709634 Q1371289 Q717641 Q55177 Q554409 Q463833 Q235047 Q55178 Q975283 Q927249 Q632907 Q315737 Q472497 Q1407313 Q261731 Q235580 Q1174077 Q254298 Q23012291 Q498775 Q313957 Q1064074 Q63610 Q254058 Q235567 Q215124 Q262359 Q448538 Q730170 Q537279 Q720182 Q719911 Q535157 Q456840 Q935510 Q234306 Q727902 Q2036814 Q497530 Q706939 Q375202 Q1339046 Q23015616 Q358931 Q440266 Q912120 Q107667 Q448547 Q455669 Q382184 Q461872 Q722667 Q166616 Q41575 Q378952 Q264460 Q1334023 Q561878 Q349365 Q520760 Q1384788 Q938350 Q111240 Q502101 Q507894 Q5975593 Q1336455 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 Q721397 Q957368 Q975217 Q948673 Q180499 Q985049 Q461788 Q23015561 Q357510 Q14623220 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 Q704639 Q351839 Q379039 Q1338950 Q520618 Q433337 Q488008 Q383515 Q360433 Q1371840 Q978562 Q3492123 Q376688 Q457075 Q505439 Q29515 Q471513 Q1394857 Q210184 Q41597 Q254985 Q1507223 Q450834 Q1239684 Q1373458 Q362902 Q281819 Q727572 Q557058 Q634822 Q539337 Q1018622 Q724552 Q215131 Q59664 Q709921 Q1338912 Q3294252 Q466483 Q708452 Q798166 Q438844 Q523835 Q920936 Q104859 Q361415 Q465748 Q440178 Q240769 Q1385654 Q350420 Q158486 Q4103224 Q372215 Q535280 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 Q17478723 Q462132 Q935071 Q375566 Q720172 Q641389 Q1355634 Q722390 Q719926 Q660570 Q467732 Q347977 Q336810 Q45139 Q368793 Q719635 Q3197699 Q213605 Q260217 Q472491 Q304171 Q3157177 Q1373573 Q519149 Q70468 Q24083 Q112284 Q707626 Q3194085 Q1266359 Q382176 Q376165 Q346671 Q229674 Q324774 Q454649 Q5970982 Q41606 Q1173930 Q348205 Q488043 Q928034 Q706859 Q468250 Q468258 Q720351 Q334084 Q260329 Q77349 Q466513 Q342953 Q446531 Q706849 Q718729 Q297801 Q446692 Q74018 Q1322669 Q116962 Q74015 Q956842 Q52923 Q2252 Q318934 Q447264 Q27336250 Q361932 Q573473 Q463086 Q52495 Q52494 Q487622 Q574124 Q457064 Q749845 Q360038 Q658221 Q557585 Q722513 Q1494855 Q374034 Q1333261 Q358525 Q350317 Q5975489 Q294555 Q717654 Q215142 Q215140 Q281604 Q240708 Q709935 Q152318 Q709931 Q379946 Q722142 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 Q49819 Q505530 Q2036753 Q539358 Q440303 Q17177 Q1904202 Q501697 Q718630 Q216726 Q240701 Q362190 Q1385274 Q448520 Q720194 Q1341315 Q334463 Q266359 Q353687 Q491064 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 Q703865 Q1429300 Q725339 Q352069 Q319269 Q512266 Q201797 Q720124 Q1615 Q45080 Q703819 Q358437 Q466075 Q708489 Q708484 Q520176 Q465461 Q1384803 Q2032646 Q649109 Q49035 Q49269 Q357450 Q706978 Q214974 Q49264 Q295873 Q448872 Q443994 Q719921 Q317643 Q1064149 Q470256 Q386148 Q219569 Q3116390 Q240776 Q746108 Q592219 Q536777 Q3476196 Q433608 Q449706 Q1591872 Q52046 Q461795 Q34091 Q375641 Q32295 Q57229 Q426836 Q725659 Q382013 Q381541 Q1240263 Q362220 Q382150 Q342338 Q448470 Q540108 Q29650 Q434205 Q446233 Q345658 Q19839428 Q521395 Q535234 Q502963 Q499636 Q449577 Q320047 Q447334 Q19831446 Q1376469 Q5543066
(c(Q40218)|c(Q12973014),P1029,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[ANSWERS] were the team members of min number of spacecrafts or sports teams
[[{'concept': 'Q40218'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:Q12973014 ) ( ontology:Q40218 ) } . ?r rdf:type ?j } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:Q40218 ) ( ontology:Q12973014 ) } . ?d rdf:type ?k } GROUP BY ?q } . FILTER ( ?h = ?c ) }
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 Thierry Neuville Oleg Skripochka Leland D. Melvin Robert Crippen Valery Ryumin Terence T. Henricks 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 Joe F. Edwards Chiaki Mukai Sergei Treshchov Albert Sacco Brewster H. Shaw Dominic L. Pudwill Gorie Michael López-Alegría 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 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 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 Jean-Pierre Haigneré Franco Malerba Sergei Revin Daniel W. Bursch Karol J. Bobko Sherwood C. Spring David Wolf Simone Scattolin Mark Kelly Adolf Schönberg Robert Curbeam Anders Jæger John Casper Michael Barratt Oleg Kononenko Daniel T. Barry Michael A. Baker Steve MacLean Paul W. Richards Aleksandr Panayotov Aleksandrov Satoshi Furukawa Lee Morin Georgy Dobrovolsky 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 Rodolfo Neri Vela Jari-Matti Latvala Samantha Cristoforetti Roy D. Bridges Richard M. Linnehan Linda M. Godwin Anatoli Levchenko Jerry L. Ross Franklin Chang Díaz Richard A. Searfoss Frederick W. Leslie Yelena Serova Yury Usachov Mads Østberg Piers Sellers Nancy J. Currie John D. Olivas 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 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 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 Hans-Kurt von Bremen Story Musgrave 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 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 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 Thomas Grenville 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 Maurizio Cheli Janice E. Voss Edwin Aldrin Jr. Joseph M. Acaba Clayton Anderson Chen Dong William Shepherd Charles L. Veach 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 Kimiya Yui Paul Tibbets Donald E. Williams Ulrich Walter Reinhold Ewald Boris Morukov Shannon Walker Leroy Chiao Svetlana Savitskaya Ed Lu Sultan bin Salman Al Saud Dmitri Kondratyev 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 Charles Simonyi Andrew J. Feustel Robert C. Springer Yury Lonchakov Timothy Kopra 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 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 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 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 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 Hayden Paddon Christopher Cassidy Robert Thirsk Mae C. Jemison Akihiko Hoshide Michael J. Massimino Sigmund Jähn Dale Gardner Aleksandr Nikolayevich Balandin Gregory Jarvis 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, Neil Armstrong and Pyotr Klimuk were the team members of min number of spacecrafts or sports teams
Georgy Beregovoy Neil Armstrong Pyotr Klimuk
action argmin
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 sports team
[[{'concept': 'spacecraft'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:sports_team ) ( ontology:spacecraft ) } . ?r rdf:type ?j } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:spacecraft ) ( ontology:sports_team ) } . ?d rdf:type ?k } GROUP BY ?q } . FILTER ( ?h = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1615
P106
Q12737077
USER
How many occupations are the job of Neil Armstrong ?
(Q1615,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1615
relation P106
type Q12737077
['Q1615', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q1615 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Neil Armstrong
action count
action filter_type
action find
entity Neil Armstrong
relation occupation
type occupation
['Neil Armstrong', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Neil_Armstrong property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
SYSTEM
4
Q11631 Q15895020 Q730242 Q7890793
(Q1615,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1615
relation P106
type Q12737077
[ANSWER]
['Q1615', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q1615 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
astronaut aerospace engineer test pilot United States Naval Aviator
4
action count
action filter_type
action find
entity Neil Armstrong
relation occupation
type occupation
['Neil Armstrong', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Neil_Armstrong property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1615
P1412
Q34770
USER
Which language can that person understand ?
action filter_type
action find
entity Q1615
relation P1412
type Q34770
SELECT DISTINCT ?c WHERE { resource:Q1615 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Neil Armstrong
action filter_type
action find
entity Neil Armstrong
relation languages spoken, written or signed
type language
SELECT DISTINCT ?c WHERE { resource:Neil_Armstrong property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
action filter_type
action find
entity Q1615
relation P1412
type Q34770
That person can understand the [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q1615 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Neil Armstrong
relation languages spoken, written or signed
type language
SELECT DISTINCT ?c WHERE { resource:Neil_Armstrong property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q15993148
P1412
Q502895
USER
Does James A. Kelly, Jr. write that language ?
(Q15993148,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q15993148
relation P1412
['Q15993148', 'P1412', 'Q1860']
ASK WHERE { resource:Q15993148 property:P1412 resource:Q1860 }
English James A. Kelly, Jr.
action is_in
entity English
action find
entity James A. Kelly, Jr.
relation languages spoken, written or signed
['James A. Kelly, Jr.', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:James_A._Kelly,_Jr. property:languages_spoken,_written_or_signed resource:English }
[]
common name
SYSTEM
YES
(Q15993148,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q15993148
relation P1412
[ANSWER]
['Q15993148', 'P1412', 'Q1860']
ASK WHERE { resource:Q15993148 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity James A. Kelly, Jr.
relation languages spoken, written or signed
['James A. Kelly, Jr.', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:James_A._Kelly,_Jr. property:languages_spoken,_written_or_signed resource:English }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21074079 Q157805 Q142
P17
Q15617994
USER
Is lieutenant-colonel situated in Marciana Marina and France ?
(Q21074079,P17,Q157805) (Q21074079,P17,Q142)
action is_in
entity Q21074079
action intersection
action find_reverse
entity Q157805
relation P17
action find_reverse
entity Q142
relation P17
['Q21074079', 'P17', 'Q157805'] ['Q21074079', 'P17', 'Q142']
ASK WHERE { resource:Q21074079 property:P17 resource:Q142 . resource:Q21074079 property:P17 resource:Q157805 }
lieutenant-colonel Marciana Marina France
action is_in
entity lieutenant-colonel
action intersection
action find_reverse
entity Marciana Marina
relation country
action find_reverse
entity France
relation country
['lieutenant-colonel', 'country', 'Marciana Marina'] ['lieutenant-colonel', 'country', 'France']
ASK WHERE { resource:lieutenant-colonel property:country resource:France . resource:lieutenant-colonel property:country resource:Marciana_Marina }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q21074079,P17,Q157805) (Q21074079,P17,Q142)
action is_in
entity Q21074079
action intersection
action find_reverse
entity Q157805
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q21074079', 'P17', 'Q157805'] ['Q21074079', 'P17', 'Q142']
ASK WHERE { resource:Q21074079 property:P17 resource:Q142 . resource:Q21074079 property:P17 resource:Q157805 }
NO and YES respectively
action is_in
entity lieutenant-colonel
action intersection
action find_reverse
entity Marciana Marina
relation country
action find_reverse
entity France
relation country
['lieutenant-colonel', 'country', 'Marciana Marina'] ['lieutenant-colonel', 'country', 'France']
ASK WHERE { resource:lieutenant-colonel property:country resource:France . resource:lieutenant-colonel property:country resource:Marciana_Marina }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5531647 Q16
P17
Q1048835
USER
Is general located in Canada ?
(Q5531647,P17,Q16)
action is_in
entity Q16
action find
entity Q5531647
relation P17
['Q5531647', 'P17', 'Q16']
ASK WHERE { resource:Q5531647 property:P17 resource:Q16 }
general Canada
action is_in
entity Canada
action find
entity general
relation country
['general', 'country', 'Canada']
ASK WHERE { resource:general property:country resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q5531647,P17,Q16)
action is_in
entity Q16
action find
entity Q5531647
relation P17
[ANSWER]
['Q5531647', 'P17', 'Q16']
ASK WHERE { resource:Q5531647 property:P17 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity general
relation country
['general', 'country', 'Canada']
ASK WHERE { resource:general property:country resource:Canada }
[]