Simple Question (Direct)
Simple Question
Q523295
P54
Q12973014
USER
Which sports teams are Erik Hämäläinen a member of ?
(Q523295,P54,c(Q12973014))
action filter_type
action find
entity Q523295
relation P54
type Q12973014
['Q523295', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q523295 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
Erik Hämäläinen
action filter_type
action find
entity Erik Hämäläinen
relation member of sports team
type sports team
['Erik Hämäläinen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Erik_Hämäläinen property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
sports team
Q1357204 Q36966
SYSTEM
Jokerit, SCL Tigers
Q1357204 Q36966
(Q523295,P54,c(Q12973014))
action filter_type
action find
entity Q523295
relation P54
type Q12973014
The [ANSWERS] are Erik Hämäläinen a member of
['Q523295', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q523295 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
Jokerit SCL Tigers
The Jokerit and SCL Tigers are Erik Hämäläinen a member of
Jokerit SCL Tigers
action filter_type
action find
entity Erik Hämäläinen
relation member of sports team
type sports team
['Erik Hämäläinen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Erik_Hämäläinen property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1357204 Q36966
P54
Q502895
USER
Who plays for those sports teams ?
(c(Q502895),P54,Q1357204) (c(Q502895),P54,Q36966)
action filter_type
action find_reverse
entity prev_answer
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q1357204'] [{'concept': 'Q502895'}, 'P54', 'Q36966']
SELECT DISTINCT ?k WHERE { ?k property:P54 ?w . VALUES ( ?w ) { ( resource:Q1357204 ) ( resource:Q36966 ) } . ?k rdf:type ontology:Q502895 }
Jokerit SCL Tigers
action filter_type
action find_reverse
entity prev_answer
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Jokerit'] [{'concept': 'common name'}, 'member of sports team', 'SCL Tigers']
SELECT DISTINCT ?k WHERE { ?k property:member_of_sports_team ?w . VALUES ( ?w ) { ( resource:Jokerit ) ( resource:SCL_Tigers ) } . ?k rdf:type ontology:common_name }
[]
common name
Q1342533 Q688813 Q223300
SYSTEM
Michael Nylander, Martin Gerber, Niklas Hagman
Q327894 Q8788720 Q1442920 Q968232 Q373792 Q741720 Q672140 Q2861146 Q7107451 Q391219 Q6791719 Q1232750 Q11892014 Q11887834 Q5347171 Q11850710 Q1606287 Q725787 Q443209 Q976951 Q1342533 Q507933 Q509940 Q5481411 Q729413 Q810762 Q4777409 Q7821326 Q570187 Q4353130 Q1722450 Q3382941 Q757919 Q431597 Q939750 Q1616005 Q2159905 Q253073 Q15310149 Q16990700 Q363621 Q3177632 Q6378107 Q1576611 Q115684 Q1355495 Q16229266 Q6381126 Q438299 Q712578 Q510552 Q2864417 Q2949630 Q983921 Q4356335 Q1315031 Q596422 Q5115598 Q941026 Q7806888 Q3519286 Q21016855 Q258768 Q1816627 Q377509 Q474281 Q1532630 Q11886808 Q11886808 Q689347 Q1399842 Q1391884 Q1367422 Q523295 Q3496109 Q944069 Q464729 Q11881191 Q6147371 Q1342811 Q708152 Q8838495 Q11865156 Q464117 Q7247017 Q939783 Q969858 Q3161610 Q3559099 Q11861835 Q155307 Q7518074 Q1767863 Q1990540 Q963094 Q1149145 Q3090366 Q434465 Q1505071 Q3554924 Q4351440 Q404217 Q188105 Q327655 Q546770 Q676373 Q3531287 Q8837491 Q6000746 Q4097157 Q5410733 Q995201 Q375320 Q653977 Q3294386 Q1245770 Q3188127 Q2442914 Q929159 Q533506 Q722688 Q4885580 Q7181833 Q653951 Q723389 Q442961 Q477240 Q1650720 Q16197127 Q609589 Q609584 Q720462 Q1360526 Q944178 Q1740169 Q1888773 Q6304819 Q6380937 Q1269867 Q11892446 Q1399764 Q1557538 Q16980662 Q4349411 Q3313128 Q2439498 Q2542053 Q11858583 Q5397451 Q3107429 Q11866477 Q3531574 Q4413042 Q3162727 Q583267 Q708663 Q240674 Q740606 Q538425 Q3161713 Q360999 Q6380548 Q129141 Q8839232 Q4413600 Q6771489 Q472445 Q6276015 Q5394559 Q4353617 Q330810 Q1390481 Q656263 Q7142086 Q11896720 Q5300864 Q1506338 Q6276024 Q288290 Q1714679 Q24430 Q1445666 Q6378742 Q948197 Q720794 Q1676300 Q925195 Q987778 Q2857680 Q549334 Q16298137 Q1688162 Q3561510 Q11887338 Q2895584 Q11866370 Q941488 Q1366658 Q5131689 Q609891 Q911986 Q11897684 Q218936 Q969620 Q471466 Q1612651 Q3013065 Q1854852 Q3177268 Q1741506 Q1287488 Q4353499 Q16990898 Q653471 Q322505 Q11881624 Q6380601 Q36839 Q223300 Q3139022 Q1095839 Q1267907 Q459225 Q2924604 Q7083256 Q585152 Q288878 Q436890 Q6410191 Q933969 Q1714750 Q119866 Q11887116 Q4956938 Q2262192 Q6381386 Q3294420 Q4354148 Q353554 Q7931003 Q6381213 Q3374962 Q2063063 Q689749 Q770111 Q976696 Q444933 Q22916760 Q746110 Q6849991 Q1342283 Q438560 Q4354046 Q438985 Q683809 Q6371854 Q3042590 Q913387 Q527382 Q596943 Q1546273 Q11881635 Q11862364 Q5486543 Q1382343 Q575897 Q1460243 Q5225030 Q721319 Q6379773 Q760803 Q7452004 Q12771892 Q948095 Q6380901 Q1453917 Q8839096 Q1853168 Q1101424 Q6379105 Q4356009 Q939624 Q7818855 Q8839085 Q6845506 Q6501420 Q1823684 Q1932966 Q1932961 Q3131272 Q4356063 Q372987 Q1098093 Q2054516 Q1905314 Q998455 Q1521393 Q3185974 Q16107391 Q531038 Q879729 Q3561171 Q993824 Q446726 Q688773 Q1158476 Q2830598 Q3382757 Q963640 Q692751 Q2059743 Q2427004 Q677550 Q1550375 Q1636977 Q357232 Q877604 Q6481749 Q3026934 Q1081160 Q510883 Q2310930 Q359641 Q441507 Q1525864 Q955037 Q1893661 Q960482 Q3183725 Q16150700 Q645651 Q206254 Q1282354 Q1399213 Q349954 Q1908492 Q680540 Q209014 Q523295 Q3440375 Q739767 Q550849 Q1342811 Q3351905 Q1242096 Q632827 Q3288210 Q355743 Q562777 Q2371119 Q671327 Q2924856 Q943632 Q1876893 Q686340 Q16679956 Q3497856 Q1176048 Q2978544 Q17292897 Q18610887 Q570189 Q671087 Q604619 Q692216 Q3023380 Q683094 Q11881212 Q17461798 Q1910288 Q2857009 Q3063528 Q941523 Q681796 Q1366634 Q3339871 Q16673147 Q2221260 Q562194 Q16186151 Q400040 Q1884584 Q129210 Q15238436 Q691054 Q695749 Q16675906 Q496562 Q1135786 Q681498 Q383269 Q19841144 Q2162757 Q653409 Q16664340 Q1741534 Q520682 Q16186370 Q688813 Q356295 Q16146566 Q127562 Q321893 Q18221770 Q17292616 Q671692 Q878289 Q1304871 Q942631 Q540377 Q2428002 Q1928448 Q699045 Q3567383 Q520503 Q683158 Q1893943 Q361540 Q3933758 Q3858874 Q3162928 Q181603 Q921975 Q3472030 Q6381851 Q390685 Q19629103 Q119007 Q402683 Q3940509 Q3176603 Q2159841 Q1710247 Q18222205 Q2863139 Q1905098 Q1161878 Q1700142 Q1891529 Q683781 Q16228857 Q16637025 Q688374 Q16527280 Q1545184
(c(Q502895),P54,Q1357204) (c(Q502895),P54,Q36966)
action filter_type
action find_reverse
entity prev_answer
relation P54
type Q502895
[ANSWERS] play for those sports teams
[{'concept': 'Q502895'}, 'P54', 'Q1357204'] [{'concept': 'Q502895'}, 'P54', 'Q36966']
SELECT DISTINCT ?k WHERE { ?k property:P54 ?w . VALUES ( ?w ) { ( resource:Q1357204 ) ( resource:Q36966 ) } . ?k rdf:type ontology:Q502895 }
Andy Chiodo Timo Turunen Frank Banham Tom Koivisto Cole Jarrett Tommi Kovanen Rastislav Pavlikovský Ari Salo Ossi Saarinen Patrik Juhlin Matti Virmanen Dmitri Kvartalnov Saku Salminen Petteri Kaijasilta Eetu Pöysti Aleksi Mustonen Henrik Karlsson Esa Tikkanen Jesse Winchester Matti Keinonen Michael Nylander Pasi Nurminen Hannu Kamppuri Jan Latvala Daniel Tjärnqvist Bates Battaglia Antti Kerälä Toni Pulkkinen Anssi Melametsä William Wallén Kalle Kerman P. C. Drouin Atte Ohtamaa Juha Kaunismäki Kai Nurminen Seppo Repo Semir Ben-Amor Teemu Selänne Jali Wahlsten Pete Suonpää Jari Kurri Jesse Uronen Tim Burke Hannu Kapanen Pasi Saarela Kimmo Rintanen Jani Kautto Mika Välilä Martti Järventie Mikko Ruutu Olli Malmivaara Arsi Piispanen Petteri Lindbohm Rodrigo Laviņš Rami Alanko Ismo Kuoppala Johan Harju Chuck Luksa Toni Dahlman Timo Sutinen Teuvo Teräväinen Jere Sneck Pasi Häkkinen Leland Irving Eric Beaudoin Jan Benda Mikko Strömberg Pasi Laaksonen Pasi Laaksonen Jukka Hentunen Juha Ylönen Jani Rita Topi Jaakola Erik Hämäläinen Teemu Eronen Sami Lepistö David Ling Markus Lehto Jamie Ram Janne Niinimaa Sami Salo Tommi Huhtala Ismo Lehkonen Joonas Rask Robert Schnabel Pavel Rosa Sami Helenius Jan-Mikael Juutilainen Ville Uusitalo Heikki Hyvönen Niko Kapanen Simo Mälkiä Steve Moses Niko Hovinen Ross Lupaschuk Kimmo Eronen Roman Vopat Matt Hussey Ilkka Mikkola Frans Tuohimaa Broc Little Aigars Cipruss Jarkko Ruutu Jussi Markkanen Kari Laitinen Timo Blomqvist Tommi Kivistö Nico Manelius Ilmari Pitkänen Alex Brooks Samuli Jalkanen Nichlas Hardt Todd Warriner Ari Vallin Marko Tuulola Janne Lahti Juha Jokiharju Tony Virta Erik Karlsson Jesper Jensen Ladislav Nagy Ben Eaves Phil DeSimone Ari Sulander Valtteri Filppula Tuomas Pihlman Linus Omark Alexander Ruuttu Dave Moylan Antti Aalto Antti-Jussi Niemi Jesse Niinimäki Petri Varis Ján Lašák Kevin Hodson Mikko Kousa Timo Saarikoski Terran Sandwith Ossi Väänänen Santeri Saari Tero Lehterä Timo Lehkonen Kalle Kaskinen Keijo Säilynoja Mika Rontti Tom Askey Allain Roy Esa Lindell Jere Ölander Petri Pakaslahti Jiri Veistola Toni Häppölä Ilpo Koskela Jari Lindroos Juha Lind Tuomo Ruutu Ville Lajunen Marko Jantunen Ville Peltonen Jan Långbacka Steve Passmore Lee Sorochan Juhamatti Aaltonen Kim Strömberg Jorma Peltonen Markus Nordlund Kevin Kantee Joonas Hallikainen Kari Martikainen Jeremy Dehner Brad Norton Raimo Summanen Jori Lehterä Pasi Nielikäinen Teemu Henritius Doug Roberts Tomi Mäki Joonas Korpisalo Éric Perrin Juuso Riksman Fredrik Bremberg František Procházka Mike Bishai Pasi Sormunen Eero Somervuori J. D. Forrest Scott Langkow Eero Kilpeläinen Antti Tyrväinen Tero Konttinen Tuomas Eskelinen Jesse Joensuu Joe Rullier Pentti Hiiros Ben Walter Jere Karjalainen Jukka Voutilainen Esa Pirnes Cleon Daskalakis Antti Törmänen Brian Campbell Timo Kyntölä Zoltán Hetényi Hannu Järvenpää Tim Thomas Markus Ketterer Dan Focht Teemu Pulkkinen Jere Sallinen Kim Hirschovits Sean Bergenheim Anders Burström Daine Todd Ari Ahonen Yves Racine Matti Lamberg Teemu Sainomaa Teemu Laine Niklas Hagman Waltteri Immonen Clarke Wilm Jaakko Suomalainen Phil Verchota Brett Harkins Olavi Vauhkonen Kari Lehtonen Miika Wiikman Tommi Santala Kimmo Pikkarainen Otakar Janecký Jyrki Seppä Mikko Jokela Pekka Järvelä Brandon Kozun Sean Gagnon Ryan VandenBussche Markus Kankaanperä Arto Sirviö Peter Ahola Ville Hämäläinen Parris Duffus Pentti Viitanen Petteri Nokelainen Alpo Suhonen Riku Hahl Petr Kalus Riku Helenius Frank Gymer Jorma Valtonen Mikko Rämö Jere Karalahti Oskari Korpikari Markus Hännikäinen Kari Haakana Darcy Werenka Karl Goehring Nikolay Makarov Josef Boumedienne John Klingberg Glen Metropolit Justin Mapletoft Matti Luoma Henry Leppä Roni Andersson Ville Leino Ray Giroux Gary Yaremchuk Darren Lowe Pierre Dagenais Tomek Valtonen Hannes Hyvönen Seppo Suoraniemi Mojmir Bozik Miroslav Hlinka Marko Kauppinen Tuomas Grönman Mika Järvinen Petr Koukal Jon Fontas Pauli Levokari Arto Tukio Ilari Filppula Tomi Pallassalo Jani-Petteri Helenius Mika Helkearo Lauri Mononen Tim Stapleton Mika Strömberg Mika Nieminen Henri Heino Mikko Kalteva Adrian Gerber Claudio Moggi Joel Perrault Martin Zerzuben Pascal Müller Pascal Pelletier Josh Holden Peter Lehmann Vojtěch Polák Björn Schneider Vitali Lakhmatov Bruno Steck Beat Gerber Benjamin Conz Damiano Ciaccio Alan Tallarini Pierre-Alain Flotiront Mark Bomersback Arne Ramholt Paul Geddes Thomas Rufenacht Dan Hodgson Loïc Burkhalter Wayne Hynes Marko Tuomainen Mike Craig Ronny Keller Didier Bochatay Christian Moser Todd Elik Jürg Dällenbach Jan Von Arx Steve Hirschi Simon Lüthi Éric Lecompte Marco Bayer Robert Esche Jordane Hauert Rolf Tschiemer Martin Kariya Benjamin Plüss Luca Cunti Fernando Pisani Nick Naumenko Mathias Joggi Peter Guggisberg Adrian Brunner Erik Hämäläinen Rolf Portmann Harijs Vītoliņš Jared Spurgeon Janne Niinimaa Omar Tognini Eric Blum Reto Von Arx Marc Leuenberger Eric Healey Vlastimil Plavucha Sven Helfenstein Alexandre Daigle Brian Bonin Róbert Petrovický Lukas Haas Jörg Reber Thomas Künzi Stefan Grogg Merlin Malinowski Claudio Neff Gregor Horak Bruno Brechbühl Noah Schneeberger Václav Varaďa Antonio Rizzello Mark Popovic Deny Bärtschi Paul DiPietro Markus Wüthrich Nicholas Steiner Matthias Schoder Anton Gustafsson Fabian Sutter Krys Kolanos Mike Kaszycki Tim Connolly Nico Spolidoro Roman Schild Sandro Moggi Richard Park Jürg Berger Mark Bastl Magnus Johansson Tyler Ennis Ivars Punnenovs Juraj Kolník Oliver Setzinger Sebastian Schilt Andreas Camenzind Cory Larose Daniel Steiner Lee Jinman Oliver Tschanz Roland Gerber Valeri Shiryaev Michel Zeiter Kim Lindemann Brad Fast Andreas Meyer Martin Gerber Reto Berra Samuel Balmer Philipp Rytz Pauli Jaks Michel Mouther Michael Horak Matthias Bieber Jeff Shantz Mike Iggulden Tomáš Kůrka Chris DiDomenico Thomas Walser Michael Liniger Curtis Murphy Wesley Snell Andre Lakos Kevin Lotscher Marco Streit Sylvain Turgeon Reto Kobach Mirko Murovic Jason Doig Jamie Heward Trevor Meier Sandro Gmür Kevin Clark Thibaut Monnet Philipp Wüst Kevin Schläpfer Ahren Spylo Roman Botta Jeff Toms Robin Leblanc Joël Fröhlicher Bernhard Schümperli Arnaud Jacquemet Martin Stettler Daniel Naud John Fust Manuel Gossweiler Etienne Froidevaux Joel Genazzi Franz Steffen Simon Moser Antoine Descloux Gregor Thommen
Michael Nylander, Martin Gerber and Niklas Hagman play for those sports teams
Michael Nylander Martin Gerber Niklas Hagman
action filter_type
action find_reverse
entity prev_answer
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Jokerit'] [{'concept': 'common name'}, 'member of sports team', 'SCL Tigers']
SELECT DISTINCT ?k WHERE { ?k property:member_of_sports_team ?w . VALUES ( ?w ) { ( resource:Jokerit ) ( resource:SCL_Tigers ) } . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1342533
P106
Q12737077
USER
What does that person do for a living ?
(Q1342533,P106,c(Q12737077))
action filter_type
action find
entity Q1342533
relation P106
type Q12737077
['Q1342533', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1342533 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Michael Nylander
action filter_type
action find
entity Michael Nylander
relation occupation
type occupation
['Michael Nylander', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Michael_Nylander property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1342533
SYSTEM
Did you mean Michael Nylander ?
Q1342533 Q688813 Q223300
(Q1342533,P106,c(Q12737077)) (Q688813,P106,c(Q12737077)) (Q223300,P106,c(Q12737077))
[ANSWER]
['Q1342533', 'P106', {'concept': 'Q12737077'}] ['Q688813', 'P106', {'concept': 'Q12737077'}] ['Q223300', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1342533 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Michael Nylander Martin Gerber Niklas Hagman
Did you mean Michael Nylander ?
Michael Nylander
['Michael Nylander', 'occupation', {'concept': 'occupation'}] ['Martin Gerber', 'occupation', {'concept': 'occupation'}] ['Niklas Hagman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Michael_Nylander property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1342533,P106,c(Q12737077))
['Q1342533', 'P106', {'concept': 'Q12737077'}]
['Michael Nylander', 'occupation', {'concept': 'occupation'}]
[]
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q1342533,P106,c(Q12737077))
action filter_type
action find
entity Q1342533
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q1342533', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1342533 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
ice hockey player
That person does an ice hockey player for a living
ice hockey player
action filter_type
action find
entity Michael Nylander
relation occupation
type occupation
['Michael Nylander', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Michael_Nylander property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations are the fields of work of less number of collectables than that occupation ?
(c(Q2342494),P101,c(Q12737077))
action count
action less
action find_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q11774891
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:P101 ?j . ?j rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Q11774891 property:P101 ?i . ?i rdf:type ontology:Q12737077 } } . FILTER ( ?c < ?b ) }
action count
action less
action find_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity ice hockey player
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:field_of_work ?j . ?j rdf:type ontology:collectable . ?t rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:ice_hockey_player property:field_of_work ?i . ?i rdf:type ontology:occupation } } . FILTER ( ?c < ?b ) }
[]
occupation collectable
SYSTEM
0
(c(Q2342494),P101,c(Q12737077))
action count
action less
action find_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q11774891
relation P101
type Q12737077
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:P101 ?j . ?j rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Q11774891 property:P101 ?i . ?i rdf:type ontology:Q12737077 } } . FILTER ( ?c < ?b ) }
0
action count
action less
action find_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity ice hockey player
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:field_of_work ?j . ?j rdf:type ontology:collectable . ?t rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:ice_hockey_player property:field_of_work ?i . ?i rdf:type ontology:occupation } } . FILTER ( ?c < ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36966 Q9396
P127
Q43229
USER
How many organizations belongs to SCL Tigers or Deutsche Telekom ?
(c(Q43229),P127,Q36966) (c(Q43229),P127,Q9396)
action count
action union
action filter_type
action find_reverse
entity Q36966
relation P127
type Q43229
action filter_type
action find_reverse
entity Q9396
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q36966'] [{'concept': 'Q43229'}, 'P127', 'Q9396']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:P127 resource:Q36966 . ?y rdf:type ontology:Q43229 } UNION { ?y property:P127 resource:Q9396 . ?y rdf:type ontology:Q43229 } }
SCL Tigers Deutsche Telekom
action count
action union
action filter_type
action find_reverse
entity SCL Tigers
relation owned by
type organization
action filter_type
action find_reverse
entity Deutsche Telekom
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'SCL Tigers'] [{'concept': 'organization'}, 'owned by', 'Deutsche Telekom']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:owned_by resource:SCL_Tigers . ?y rdf:type ontology:organization } UNION { ?y property:owned_by resource:Deutsche_Telekom . ?y rdf:type ontology:organization } }
[]
organization
SYSTEM
2
Q5174635 Q327634
(c(Q43229),P127,Q36966) (c(Q43229),P127,Q9396)
action count
action union
action filter_type
action find_reverse
entity Q36966
relation P127
type Q43229
action filter_type
action find_reverse
entity Q9396
relation P127
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q36966'] [{'concept': 'Q43229'}, 'P127', 'Q9396']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:P127 resource:Q36966 . ?y rdf:type ontology:Q43229 } UNION { ?y property:P127 resource:Q9396 . ?y rdf:type ontology:Q43229 } }
Telekom Romania T-Mobile International
2
action count
action union
action filter_type
action find_reverse
entity SCL Tigers
relation owned by
type organization
action filter_type
action find_reverse
entity Deutsche Telekom
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'SCL Tigers'] [{'concept': 'organization'}, 'owned by', 'Deutsche Telekom']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:owned_by resource:SCL_Tigers . ?y rdf:type ontology:organization } UNION { ?y property:owned_by resource:Deutsche_Telekom . ?y rdf:type ontology:organization } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P248
Q43229 Q11028 Q502895
USER
Which people have been stated in min number of organizations and information ?
(c(Q502895),P248,c(Q43229)|c(Q11028))
action argmin
action union
action find_tuple_counts
relation P248
type Q502895
type Q43229
action find_tuple_counts
relation P248
type Q502895
type Q11028
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q43229'}, {'concept': 'Q11028'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { { ?w property:P248 ?z . ?z rdf:type ontology:Q11028 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P248 ?z . ?w rdf:type ontology:Q502895 . ?z rdf:type ontology:Q43229 } } GROUP BY ?w } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?p ) WHERE { { ?a property:P248 ?u . ?u rdf:type ontology:Q43229 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P248 ?u . ?u rdf:type ontology:Q11028 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . FILTER ( ?p = ?r ) }
action argmin
action union
action find_tuple_counts
relation stated in
type common name
type organization
action find_tuple_counts
relation stated in
type common name
type information
[{'concept': 'common name'}, 'stated in', [{'concept': 'organization'}, {'concept': 'information'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { { ?w property:stated_in ?z . ?z rdf:type ontology:information . ?w rdf:type ontology:common_name } UNION { ?w property:stated_in ?z . ?w rdf:type ontology:common_name . ?z rdf:type ontology:organization } } GROUP BY ?w } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?p ) WHERE { { ?a property:stated_in ?u . ?u rdf:type ontology:organization . ?a rdf:type ontology:common_name } UNION { ?a property:stated_in ?u . ?u rdf:type ontology:information . ?a rdf:type ontology:common_name } } GROUP BY ?a } . FILTER ( ?p = ?r ) }
[]
organization information common name
Q6257923 Q15456236 Q6130319
SYSTEM
John Simpson, William Williams, James Brown
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q5239879 Q16013737 Q7342716 Q7342713 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q16859511 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q15456236 Q6249889 Q6255181 Q6249883 Q6255184 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q16857953 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6249879 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q6237337 Q1776423 Q6228764 Q6228766 Q6246935 Q5232850 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q8004402 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q8019900 Q8019902 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q15452052 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q6221432 Q6236101 Q5144950 Q5144959 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262733 Q6262982 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q10363011 Q6257915 Q6145009 Q6145005 Q6145007 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q9311159 Q6242832 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q43229)|c(Q11028))
action argmin
action union
action find_tuple_counts
relation P248
type Q502895
type Q43229
action find_tuple_counts
relation P248
type Q502895
type Q11028
[ANSWERS] have been stated in min number of organizations and information
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q43229'}, {'concept': 'Q11028'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { { ?w property:P248 ?z . ?z rdf:type ontology:Q11028 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P248 ?z . ?w rdf:type ontology:Q502895 . ?z rdf:type ontology:Q43229 } } GROUP BY ?w } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?p ) WHERE { { ?a property:P248 ?u . ?u rdf:type ontology:Q43229 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P248 ?u . ?u rdf:type ontology:Q11028 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . FILTER ( ?p = ?r ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Smith John Roberts Robert Campbell Robert Campbell Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Robinson John Parker Greg Smith John Simpson John Rogers John Ward John Ward William Williams John Murphy John Roberts John Murphy John Roberts Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson John Gray James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith John Martin David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson John Carter William Thompson William Walker William Thompson John Brown John Smith John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Murphy John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango John Hall Raud the Strong John Davies John Davies John Martin David Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith William Walker William Walker Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Ward John Rogers John Rogers John Kennedy John Ward John Ward John Davies George Brown John Martin George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith John Bell John Gray Colin Campbell Colin Campbell David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Walker John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall Risques Pereira John Simpson James Walker James Walker James Walker James Walker David Evans David Evans David Evans Victorinus Robert Williams John Kennedy George Brown George Brown John Martin John Martin John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
John Simpson, William Williams and James Brown have been stated in min number of organizations and information
John Simpson William Williams James Brown
action argmin
action union
action find_tuple_counts
relation stated in
type common name
type organization
action find_tuple_counts
relation stated in
type common name
type information
[{'concept': 'common name'}, 'stated in', [{'concept': 'organization'}, {'concept': 'information'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?r ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?d ) WHERE { { ?w property:stated_in ?z . ?z rdf:type ontology:information . ?w rdf:type ontology:common_name } UNION { ?w property:stated_in ?z . ?w rdf:type ontology:common_name . ?z rdf:type ontology:organization } } GROUP BY ?w } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?p ) WHERE { { ?a property:stated_in ?u . ?u rdf:type ontology:organization . ?a rdf:type ontology:common_name } UNION { ?a property:stated_in ?u . ?u rdf:type ontology:information . ?a rdf:type ontology:common_name } } GROUP BY ?a } . FILTER ( ?p = ?r ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15456236
P734
Q82799
USER
Who is associated with that person ?
(Q15456236,P734,c(Q82799))
action filter_type
action find
entity Q15456236
relation P734
type Q82799
['Q15456236', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q15456236 property:P734 ?z }
William Williams
action filter_type
action find
entity William Williams
relation family name
type name
['William Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:William_Williams property:family_name ?z }
[]
name
Clarification for simple ques.
Q6130319
SYSTEM
Did you mean James Brown ?
Q6257923 Q15456236 Q6130319
(Q6257923,P734,c(Q82799)) (Q15456236,P734,c(Q82799)) (Q6130319,P734,c(Q82799))
[ANSWER]
['Q6257923', 'P734', {'concept': 'Q82799'}] ['Q15456236', 'P734', {'concept': 'Q82799'}] ['Q6130319', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q15456236 property:P734 ?z }
John Simpson William Williams James Brown
Did you mean James Brown ?
James Brown
['John Simpson', 'family name', {'concept': 'name'}] ['William Williams', 'family name', {'concept': 'name'}] ['James Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:William_Williams property:family_name ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant William Williams. Could you tell me the answer for that?
(Q15456236,P734,c(Q82799))
Q15456236
['Q15456236', 'P734', {'concept': 'Q82799'}]
['William Williams', 'family name', {'concept': 'name'}]
[]
Q1688722
SYSTEM
Williams
Q1688722
(Q15456236,P734,c(Q82799))
action filter_type
action find
entity Q15456236
relation P734
type Q82799
[ANSWER] is associated with that person
['Q15456236', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q15456236 property:P734 ?z }
Williams
Williams is associated with that person
Williams
action filter_type
action find
entity William Williams
relation family name
type name
['William Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:William_Williams property:family_name ?z }
[]