Simple Question (Direct)
Simple Question
Q3376374
P641
Q349
USER
What was the sport that Pete Horeck was a part of ?
(Q3376374,P641,c(Q349))
action filter_type
action find
entity Q3376374
relation P641
type Q349
['Q3376374', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q3376374 property:P641 ?k }
Pete Horeck
action filter_type
action find
entity Pete Horeck
relation sport
type sport
['Pete Horeck', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Pete_Horeck property:sport ?k }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3376374,P641,c(Q349))
action filter_type
action find
entity Q3376374
relation P641
type Q349
The sport that Pete Horeck was a part of was h [ANSWER]
['Q3376374', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q3376374 property:P641 ?k }
ice hockey
The sport that Pete Horeck was a part of was h ice hockey
ice hockey
action filter_type
action find
entity Pete Horeck
relation sport
type sport
['Pete Horeck', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Pete_Horeck property:sport ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3376374
P27
Q1048835
USER
Which political territory does Pete Horeck belong to ?
(Q3376374,P27,c(Q1048835))
action filter_type
action find
entity Q3376374
relation P27
type Q1048835
['Q3376374', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q3376374 property:P27 ?q }
Pete Horeck
action filter_type
action find
entity Pete Horeck
relation country of citizenship
type political territorial entity
['Pete Horeck', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Pete_Horeck property:country_of_citizenship ?q }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3376374,P27,c(Q1048835))
action filter_type
action find
entity Q3376374
relation P27
type Q1048835
Pete Horeck belongs to [ANSWER]
['Q3376374', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q3376374 property:P27 ?q }
Canada
Pete Horeck belongs to Canada
Canada
action filter_type
action find
entity Pete Horeck
relation country of citizenship
type political territorial entity
['Pete Horeck', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Pete_Horeck property:country_of_citizenship ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3376374
P106
Q12737077
USER
What is the job of that person ?
(Q16,P106,c(Q12737077))
action filter_type
action find
entity Q3376374
relation P106
type Q12737077
['Q16', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3376374 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Pete Horeck
action filter_type
action find
entity Pete Horeck
relation occupation
type occupation
['Canada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Pete_Horeck property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q16,P106,c(Q12737077))
action filter_type
action find
entity Q3376374
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q16', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3376374 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
ice hockey player
The job of that person is an ice hockey player
ice hockey player
action filter_type
action find
entity Pete Horeck
relation occupation
type occupation
['Canada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Pete_Horeck property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P710
Q178561 Q1190554
USER
How many battles or events were Canada a participant of ?
(c(Q178561),P710,Q16) (c(Q1190554),P710,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P710
type Q178561
action filter_type
action find_reverse
entity Q16
relation P710
type Q1190554
[{'concept': 'Q178561'}, 'P710', 'Q16'] [{'concept': 'Q1190554'}, 'P710', 'Q16']
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1190554 ) ( ontology:Q178561 ) } }
Canada
action count
action union
action filter_type
action find_reverse
entity Canada
relation participant
type battle
action filter_type
action find_reverse
entity Canada
relation participant
type event
[{'concept': 'battle'}, 'participant', 'Canada'] [{'concept': 'event'}, 'participant', 'Canada']
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:event ) ( ontology:battle ) } }
[]
battle event
SYSTEM
3
Q156554 Q218678 Q16470
(c(Q178561),P710,Q16) (c(Q1190554),P710,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P710
type Q178561
action filter_type
action find_reverse
entity Q16
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q178561'}, 'P710', 'Q16'] [{'concept': 'Q1190554'}, 'P710', 'Q16']
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1190554 ) ( ontology:Q178561 ) } }
Battle of Jutland North African Campaign Normandy landings
3
action count
action union
action filter_type
action find_reverse
entity Canada
relation participant
type battle
action filter_type
action find_reverse
entity Canada
relation participant
type event
[{'concept': 'battle'}, 'participant', 'Canada'] [{'concept': 'event'}, 'participant', 'Canada']
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:event ) ( ontology:battle ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1111600 Q3376374
P54
Q12973014
USER
What are the team that Pete Horeck and Ville Nieminen are a member of ?
AND((Q3376374,P54,c(Q12973014)), (Q1111600,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q3376374
relation P54
action find
entity Q1111600
relation P54
type Q12973014
{'AND': [['Q3376374', 'P54', {'concept': 'Q12973014'}], ['Q1111600', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?r WHERE { resource:Q3376374 property:P54 ?r . resource:Q1111600 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Ville Nieminen Pete Horeck
action filter_type
action intersection
action find
entity Pete Horeck
relation member of sports team
action find
entity Ville Nieminen
relation member of sports team
type sports team
{'AND': [['Pete Horeck', 'member of sports team', {'concept': 'sports team'}], ['Ville Nieminen', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?r WHERE { resource:Pete_Horeck property:member_of_sports_team ?r . resource:Ville_Nieminen property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
sports team
Q209636
SYSTEM
Chicago Blackhawks
Q209636
AND((Q3376374,P54,c(Q12973014)), (Q1111600,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q3376374
relation P54
action find
entity Q1111600
relation P54
type Q12973014
The team are that Pete Horeck and Ville Nieminen are a member of the [ANSWER]
{'AND': [['Q3376374', 'P54', {'concept': 'Q12973014'}], ['Q1111600', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?r WHERE { resource:Q3376374 property:P54 ?r . resource:Q1111600 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Chicago Blackhawks
The team are that Pete Horeck and Ville Nieminen are a member of the Chicago Blackhawks
Chicago Blackhawks
action filter_type
action intersection
action find
entity Pete Horeck
relation member of sports team
action find
entity Ville Nieminen
relation member of sports team
type sports team
{'AND': [['Pete Horeck', 'member of sports team', {'concept': 'sports team'}], ['Ville Nieminen', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?r WHERE { resource:Pete_Horeck property:member_of_sports_team ?r . resource:Ville_Nieminen property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q209636 Q5085200
P54
Q502895
USER
Is Charlie Mason one of the members of that sports team ?
(Q5085200,P54,Q209636)
action is_in
entity Q209636
action find
entity Q5085200
relation P54
['Q5085200', 'P54', 'Q209636']
ASK WHERE { resource:Q5085200 property:P54 resource:Q209636 }
Chicago Blackhawks Charlie Mason
action is_in
entity Chicago Blackhawks
action find
entity Charlie Mason
relation member of sports team
['Charlie Mason', 'member of sports team', 'Chicago Blackhawks']
ASK WHERE { resource:Charlie_Mason property:member_of_sports_team resource:Chicago_Blackhawks }
[]
common name
SYSTEM
YES
(Q5085200,P54,Q209636)
action is_in
entity Q209636
action find
entity Q5085200
relation P54
[ANSWER]
['Q5085200', 'P54', 'Q209636']
ASK WHERE { resource:Q5085200 property:P54 resource:Q209636 }
Yes
action is_in
entity Chicago Blackhawks
action find
entity Charlie Mason
relation member of sports team
['Charlie Mason', 'member of sports team', 'Chicago Blackhawks']
ASK WHERE { resource:Charlie_Mason property:member_of_sports_team resource:Chicago_Blackhawks }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17557302 Q3376374
P54
Q12973014
USER
Which sports teams are Pete Horeck or Callum Burns a member of ?
OR((Q3376374,P54,c(Q12973014)), (Q17557302,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q3376374
relation P54
action find
entity Q17557302
relation P54
type Q12973014
{'OR': [['Q3376374', 'P54', {'concept': 'Q12973014'}], ['Q17557302', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?e WHERE { { ?v property:P54 ?e . VALUES ( ?v ) { ( resource:Q17557302 ) ( resource:Q3376374 ) } } . ?e rdf:type ontology:Q12973014 }
Callum Burns Pete Horeck
action filter_type
action union
action find
entity Pete Horeck
relation member of sports team
action find
entity Callum Burns
relation member of sports team
type sports team
{'OR': [['Pete Horeck', 'member of sports team', {'concept': 'sports team'}], ['Callum Burns', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?e WHERE { { ?v property:member_of_sports_team ?e . VALUES ( ?v ) { ( resource:Callum_Burns ) ( resource:Pete_Horeck ) } } . ?e rdf:type ontology:sports_team }
[]
sports team
Q194121 Q2304756 Q194116 Q209636
SYSTEM
Boston Bruins, Southern Stampede, Detroit Red Wings, Chicago Blackhawks
Q194121 Q2304756 Q194116 Q209636
OR((Q3376374,P54,c(Q12973014)), (Q17557302,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q3376374
relation P54
action find
entity Q17557302
relation P54
type Q12973014
The [ANSWERS] are Pete Horeck or Callum Burns a member of
{'OR': [['Q3376374', 'P54', {'concept': 'Q12973014'}], ['Q17557302', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?e WHERE { { ?v property:P54 ?e . VALUES ( ?v ) { ( resource:Q17557302 ) ( resource:Q3376374 ) } } . ?e rdf:type ontology:Q12973014 }
Boston Bruins Southern Stampede Detroit Red Wings Chicago Blackhawks
The Boston Bruins, Southern Stampede, Detroit Red Wings and Chicago Blackhawks are Pete Horeck or Callum Burns a member of
Boston Bruins Southern Stampede Detroit Red Wings Chicago Blackhawks
action filter_type
action union
action find
entity Pete Horeck
relation member of sports team
action find
entity Callum Burns
relation member of sports team
type sports team
{'OR': [['Pete Horeck', 'member of sports team', {'concept': 'sports team'}], ['Callum Burns', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?e WHERE { { ?v property:member_of_sports_team ?e . VALUES ( ?v ) { ( resource:Callum_Burns ) ( resource:Pete_Horeck ) } } . ?e rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q194116
P647
Q502895
USER
Who drafted that sports team ?
(c(Q502895),P647,Q194116)
action filter_type
action find_reverse
entity Q194116
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q194116']
SELECT DISTINCT ?r WHERE { ?r property:P647 resource:Q194116 . ?r rdf:type ontology:Q502895 }
Detroit Red Wings
action filter_type
action find_reverse
entity Detroit Red Wings
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Detroit Red Wings']
SELECT DISTINCT ?r WHERE { ?r property:drafted_by resource:Detroit_Red_Wings . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q194121
SYSTEM
Did you mean Boston Bruins ?
Q194121 Q2304756 Q194116 Q209636
(c(Q502895),P647,Q194121) (c(Q502895),P647,Q2304756) (c(Q502895),P647,Q194116) (c(Q502895),P647,Q209636)
[ANSWER]
[{'concept': 'Q502895'}, 'P647', 'Q194121'] [{'concept': 'Q502895'}, 'P647', 'Q2304756'] [{'concept': 'Q502895'}, 'P647', 'Q194116'] [{'concept': 'Q502895'}, 'P647', 'Q209636']
SELECT DISTINCT ?r WHERE { ?r property:P647 resource:Q194116 . ?r rdf:type ontology:Q502895 }
Boston Bruins Southern Stampede Detroit Red Wings Chicago Blackhawks
Did you mean Boston Bruins ?
Boston Bruins
[{'concept': 'common name'}, 'drafted by', 'Boston Bruins'] [{'concept': 'common name'}, 'drafted by', 'Southern Stampede'] [{'concept': 'common name'}, 'drafted by', 'Detroit Red Wings'] [{'concept': 'common name'}, 'drafted by', 'Chicago Blackhawks']
SELECT DISTINCT ?r WHERE { ?r property:drafted_by resource:Detroit_Red_Wings . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Detroit Red Wings. Could you tell me the answer for that?
(c(Q502895),P647,Q194116)
Q194116
[{'concept': 'Q502895'}, 'P647', 'Q194116']
[{'concept': 'common name'}, 'drafted by', 'Detroit Red Wings']
[]
Q913261 Q971698 Q368501
SYSTEM
Dmitri Bykov, Yuri Butsayev, Sergei Fedorov
Q348621 Q6379710 Q6211726 Q369373 Q3089759 Q3432066 Q783862 Q15935078 Q4934392 Q3188145 Q723369 Q5127259 Q1502359 Q961358 Q928705 Q3574124 Q3498841 Q447328 Q261004 Q7235248 Q6379759 Q1999261 Q440395 Q933719 Q15411529 Q6196576 Q16220928 Q948779 Q357372 Q1603535 Q2997868 Q523295 Q971698 Q6379773 Q1854852 Q16225339 Q376519 Q5107815 Q2966043 Q666660 Q462018 Q4353614 Q677996 Q381413 Q4954249 Q1848679 Q3441367 Q7234310 Q362195 Q4406945 Q6379753 Q1933086 Q515963 Q948030 Q3302183 Q5917895 Q3162931 Q7234651 Q1689771 Q743882 Q2907301 Q3199024 Q2415311 Q3023187 Q5233389 Q6196192 Q6791770 Q1891283 Q718436 Q1867957 Q6239332 Q2377976 Q3440003 Q888202 Q725954 Q490917 Q1477550 Q166374 Q6382083 Q371766 Q3147270 Q447340 Q723389 Q5938744 Q2846476 Q982600 Q3479388 Q3453742 Q16146605 Q5021861 Q7976089 Q1530773 Q433357 Q5605296 Q746090 Q338669 Q862268 Q16229070 Q6379769 Q3573584 Q8043290 Q5539355 Q15986636 Q3498875 Q6379709 Q1900329 Q7292520 Q433570 Q722939 Q4357220 Q6379734 Q16229145 Q16151130 Q16215784 Q5293573 Q6382075 Q5541893 Q384326 Q4703641 Q6379733 Q6379730 Q2136496 Q351263 Q16228646 Q1953834 Q5220408 Q939180 Q4758026 Q1642868 Q1688197 Q2571431 Q1552816 Q5110178 Q3280989 Q17180725 Q16186224 Q4352622 Q3528607 Q1494730 Q5732848 Q354286 Q927526 Q16186633 Q349569 Q433271 Q7225967 Q715083 Q1684002 Q3313226 Q2829365 Q3379255 Q1486516 Q6379726 Q6379721 Q4834063 Q2907580 Q825534 Q368501 Q265767 Q1502278 Q2924488 Q24790832 Q5591588 Q322505 Q16224599 Q377201 Q960373 Q16192718 Q1516922 Q3101702 Q2277535 Q2749906 Q16224352 Q498630 Q432799 Q504452 Q371327 Q20250419 Q3167230 Q6379758 Q5567407 Q6163010 Q6849965 Q3498844 Q2907593 Q3176553 Q731655 Q6379754 Q6379756 Q3385386 Q5246378 Q447045 Q4894437 Q434200 Q722653 Q4351836 Q16225240 Q1689207 Q4788813 Q943890 Q7226473 Q432389 Q733965 Q3426507 Q5128931 Q731216 Q3431573 Q16192609 Q1557476 Q350118 Q1494950 Q691132 Q2277546 Q6379743 Q913261 Q6379745 Q927335
(c(Q502895),P647,Q194116)
action filter_type
action find_reverse
entity Q194116
relation P647
type Q502895
[ANSWERS] drafted that sports team
[{'concept': 'Q502895'}, 'P647', 'Q194116']
SELECT DISTINCT ?r WHERE { ?r property:P647 resource:Q194116 . ?r rdf:type ontology:Q502895 }
Adam Almqvist Fred Berry Joe Paterson Henry Boucha Frederic Deschênes Riley Sheahan Fred Williams Julius Vähätalo Bob Wilkie Juho Mielonen Tomáš Kopecký Clark Hamilton Gennady Stolyarov Calle Järnkrok Sergei Kolosov Yvon Lambert Steve Andrascik Stefan Liv Marc Potvin Jeff Sharples Wally Olds Norm Maracle Steve Yzerman Willie Huber Alexander Kadeikin Jim Malazdrewicz Jeremy Goetzinger Shawn Matthias Dale McCourt Al Jensen Corrado Micalef Erik Hämäläinen Yuri Butsayev Tomek Valtonen Teemu Pulkkinen Evgeny Svechnikov Johan Ryno Chris Pusey Christofer Löfberg Jan Muršak Yevgeniy Bumagin Nils Bäckström John Barrett Pavel Datsyuk Brad Shaw Steve Chiasson Ron Barkwell Sylvain Locas Evan McGrath Andrei Samokvalov Jim Nahrgang Mike Casselman Pär Djoos Toivo Suursoo Sheldon Kennedy Tomas Kollar Jason Firth Tom Mellor Jiří Fischer Cory Emmerton Brendan Smith Kory Kocur Jody Gage Dennis Polonich David Engblom Jim Korn Mattias Janmark-Nylén Petr Mrázek Joe Kocur Logan Pyett John Hilworth Martin Frk Roland Cloutier Bob Probert Derek Meech Anders Eriksson Jamie Pushor Tomáš Tatar Robert Guindon Vladimir Konstantinov Yan Golubovsky Henrik Zetterberg Valtteri Filppula Stefan Larsson Andreas Sundin Alexei Marchenko Serge Lajeunesse Ryan Bach Louis-Marc Aubry Calle Steen Wayne Chernecki Glen Goodall Joakim Andersson Greg Bignell Sylvain Cloutier Quintin Laing Bill Lochead Axel Holmström Mike Sullivan (ice hockey b. 1973) Yves Courteau Xavier Ouellet George Forgie Mitch Callahan Steve Carlson Michel Bergeron Mark Osborne Randy Wilson Mike Foligno Niklas Kronwall Kent McDonell Gordon Kruppke Nick Jensen Bob Boyd Ron Garwasiuk Don Stone Mike Ford George Lyle Darren McCarty Al Cameron Mike Korney Scott King Reed Larson Claude Gauthier Christoffer Ehn Murray Craven Danny Gruen Petr Klíma Andrew Miller Jason Elliott Jesse Wallin Marek Tvrdoň Thomas McCollum Christian Söderström Maxim Kuznetsov Dylan Larkin Bill Evo Anton Axelsson Tim Cheveldae Paul Ballantyne Herb Boxer John Ogrodnick Dick Axelsson Blair Davidson Adam Graves Brent Fedyk Rick Zombo Joe Murphy Jason York Mike Blaisdell Al Karlander Philippe Audet Johan Garpenlöv Todd Jackson Sean Gillam B. J. Young Bob Birdsell Chris Luongo Sergei Fedorov Claude Vilgrain Tyler Haskins Brent Peterson Dennis Cholowski Pär Bäcker Yves Racine Jake Paterson Jesper Samuelsson Earl Anderson Wes George Landon Ferraro George Kuzmicz Shawn Burr Jari Tolsa Zach Nastasiuk Andreas Jämtin Per Eklund Chris Osgood Gerard Gallant Vili Saarijärvi Jean-Luc Phaneuf Magnus Nilsson Gleason Fournier Jason MacDonald Mikko Haapakoski Steve Atkinson Bob Boughner Jeff May Mattias Ritola Robbie Neale Kevin Neville Pierre Guité Dean Morton Drew MacIntyre Bernie MacNeil Nicklas Lidström Jiří Hudler Tom Bissett Ryan Sproul Jim Rutherford Aren Miller Alexander Seluyanov Val James Peter Mahovlich Jack Carlson Rene LeClerc Claude Legris Daniel Larsson Rick Lapointe Randy Betty Guy Dupuis John Jakopin Gary Shuchuk Petr Sýkora Shawn McCosh Larry Lozinski Dmitri Bykov Stewart Malgunas Ted Nolan
Dmitri Bykov, Yuri Butsayev and Sergei Fedorov drafted that sports team
Dmitri Bykov Yuri Butsayev Sergei Fedorov
action filter_type
action find_reverse
entity Detroit Red Wings
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Detroit Red Wings']
SELECT DISTINCT ?r WHERE { ?r property:drafted_by resource:Detroit_Red_Wings . ?r rdf:type ontology:common_name }
[]