Simple Question (Direct)
Simple Question
Q2745289
P106
Q28640
USER
What does Tom Sims do for a living ?
(Q2745289,P106,c(Q28640))
action filter_type
action find
entity Q2745289
relation P106
type Q28640
['Q2745289', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { resource:Q2745289 property:P106 ?b . ?b rdf:type ontology:Q28640 }
Tom Sims
action filter_type
action find
entity Tom Sims
relation occupation
type profession
['Tom Sims', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { resource:Tom_Sims property:occupation ?b . ?b rdf:type ontology:profession }
[]
profession
Q715679
SYSTEM
inventor
Q715679
(Q2745289,P106,c(Q28640))
action filter_type
action find
entity Q2745289
relation P106
type Q28640
The [ANSWER] Tom Sims does for a living
['Q2745289', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { resource:Q2745289 property:P106 ?b . ?b rdf:type ontology:Q28640 }
inventor
The inventor Tom Sims does for a living
inventor
action filter_type
action find
entity Tom Sims
relation occupation
type profession
['Tom Sims', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { resource:Tom_Sims property:occupation ?b . ?b rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2745289
P641
Q31629
USER
Which type of sport was Tom Sims a part of ?
(Q2745289,P641,c(Q31629))
action filter_type
action find
entity Q2745289
relation P641
type Q31629
['Q2745289', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q2745289 property:P641 ?q . ?q rdf:type ontology:Q31629 }
Tom Sims
action filter_type
action find
entity Tom Sims
relation sport
type type of sport
['Tom Sims', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Tom_Sims property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
type of sport
Q178131
SYSTEM
snowboarding
Q178131
(Q2745289,P641,c(Q31629))
action filter_type
action find
entity Q2745289
relation P641
type Q31629
The [ANSWER] was Tom Sims a part of
['Q2745289', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q2745289 property:P641 ?q . ?q rdf:type ontology:Q31629 }
snowboarding
The snowboarding was Tom Sims a part of
snowboarding
action filter_type
action find
entity Tom Sims
relation sport
type type of sport
['Tom Sims', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Tom_Sims property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P641
Q502895
USER
How many people are associated with playing that type of sport ?
(c(Q502895),P641,Q178131)
action count
action filter_type
action find_reverse
entity Q178131
relation P641
type Q502895
[{'concept': 'Q502895'}, 'P641', 'Q178131']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P641 resource:Q178131 }
action count
action filter_type
action find_reverse
entity snowboarding
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'snowboarding']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:common_name . ?d property:sport resource:snowboarding }
[]
common name
SYSTEM
281
Q3292635 Q1782749 Q586311 Q9303949 Q919434 Q11729169 Q1260279 Q86600 Q20829298 Q46141 Q5220272 Q634467 Q11712500 Q264875 Q689434 Q288656 Q302320 Q15649119 Q9193230 Q4910687 Q252928 Q264191 Q1367707 Q242194 Q273141 Q458472 Q465764 Q3270571 Q3129408 Q2745289 Q16265051 Q15633888 Q12000468 Q1703126 Q747924 Q447234 Q273709 Q16166287 Q7488860 Q2582486 Q2833069 Q1524908 Q1391846 Q3293443 Q1721798 Q15646469 Q12036776 Q2356637 Q6161008 Q734345 Q1381519 Q2935102 Q15526261 Q91262 Q274992 Q444735 Q11771421 Q10402123 Q458498 Q1386021 Q3467492 Q3190466 Q16566758 Q454448 Q447724 Q508763 Q2153574 Q675862 Q2964076 Q11798205 Q6696146 Q117632 Q1606276 Q2388520 Q241419 Q3793197 Q15734305 Q2944286 Q2531888 Q3196890 Q449151 Q3455782 Q446315 Q19931639 Q3473344 Q3105143 Q325857 Q325852 Q7436569 Q458515 Q1393494 Q2446257 Q1571406 Q15711539 Q253542 Q433289 Q664806 Q832973 Q9190950 Q342995 Q1366778 Q3432179 Q462773 Q2483405 Q3041749 Q3092610 Q1365739 Q914945 Q7399136 Q3180497 Q517581 Q11771490 Q928829 Q15736559 Q944782 Q11714106 Q16698994 Q9191174 Q970261 Q1346994 Q20730466 Q3336570 Q293188 Q718758 Q15732267 Q2665242 Q2648350 Q15732252 Q2129507 Q679695 Q7629923 Q441070 Q11771900 Q698028 Q715759 Q5605336 Q2166905 Q15711315 Q11764205 Q4132549 Q469939 Q2009941 Q6179343 Q24841 Q660441 Q270318 Q3419376 Q9168509 Q86838 Q1164662 Q3123681 Q20712 Q2865208 Q99821 Q3306894 Q535789 Q1334319 Q1365796 Q15694803 Q270331 Q3571058 Q1058619 Q2704265 Q439530 Q292900 Q3012181 Q2485468 Q556788 Q3040142 Q3553636 Q71051 Q15979659 Q11767200 Q2444365 Q517949 Q445154 Q4831824 Q235762 Q944455 Q1332939 Q274130 Q3267013 Q15731889 Q302525 Q1500753 Q3294364 Q435769 Q46134 Q2548062 Q2063579 Q15711230 Q15702402 Q15711207 Q1365725 Q11778983 Q12424417 Q78743 Q3351897 Q461750 Q168242 Q3524376 Q3034706 Q3042298 Q1703080 Q1974277 Q2788941 Q236505 Q530011 Q3052437 Q9312038 Q3047024 Q3260258 Q272468 Q11718943 Q444502 Q15726419 Q4132623 Q15725928 Q9147091 Q1366913 Q1814433 Q3315795 Q9156396 Q2800527 Q2653799 Q46251 Q15641103 Q24778 Q634311 Q500106 Q690033 Q609614 Q1271638 Q3108230 Q458745 Q19521468 Q2687831 Q1966942 Q212401 Q458110 Q11763226 Q382627 Q15696983 Q3124279 Q15882664 Q518113 Q15727252 Q182696 Q446751 Q5157541 Q1527373 Q69830 Q262724 Q521944 Q447262 Q928552 Q535635 Q3009697 Q3442612 Q46253 Q46256 Q1594071 Q565806 Q3484521 Q23889270 Q3294177 Q46247 Q469680 Q3012953 Q11792193 Q1440430 Q2944453 Q968348 Q3506987 Q2851466 Q517720 Q32866 Q32864 Q3306309 Q8073275 Q536337
(c(Q502895),P641,Q178131)
action count
action filter_type
action find_reverse
entity Q178131
relation P641
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P641', 'Q178131']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:Q502895 . ?d property:P641 resource:Q178131 }
Marie Laissus Konstantin Schad Jake Burton Carpenter Rana Okada Mathieu Bozzetto Julie Zogg Janne Korpi Patrick Bussler Dominique Vallee Simon Schoch Danny Davis Vincent Valery Ingemar Walder Torah Bright Gian Simmen Shaun White Aaron March Chloe Kim Clemens Schattschneider Michela Moioli Alena Zavarzina Nicolien Sauerbreij Nate Holland Olivia Nobs Ursula Bruhin Liu Jiayu Gretchen Bleiler Léo Trespeuch Heidi Krings Tom Sims Miyabi Onitsuka Anna Gasser Silje Norendal Jonathan Cheever Seppe Smits Claudia Riegler Manuela Pesko Paul Berg Shannon Dunn-Downing Chris Klug Alexa Loo Tomoka Takeuchi Radoslav Židek Mario Fuchs Kaitlyn Farrington Yuki Kadono Michal Novotný Shelly Gotlieb Jarret Thomas Zach Stone Markku Koski Camille de Faucompret Jarryd Hughes Selina Jörg Sōko Yamaoka Holly Crawford Mateusz Ligocki Maciej Jodko Mellie Francon Stian Sivertzen Taku Hiraoka Justin Lamoureux Klaudia Medlová Stine Brun Kjeldaas Doriane Vidal Yekaterina Tudegesheva Yekaterina Ilyukhina Markus Schairer Chloé Trespeuch Omar Visintin Lucas Eguibar Sina Candrian Henrik Jansson Océane Pozzo Pierre Vaultier Justin Reiter Chris Vos Jamie Anderson Rok Marguč Kimiko Zakreski Heidi Neururer Régis Rolland Helene Olafsen Manon Petit-Lenoir Sarah Conrad Gian-Luca Cavigelli Heinz Inniger Gilles Jaquet Scott James Shiho Nakashima Faisal Faisal Cheryl Maas Torstein Horgmo Karly Shorr Karine Ruby Matthew Morison Philipp Schoch David Speiser Christel Thoresen Brad Martin Petja Piiroinen Robert Fagan Kjersti Buaas Šárka Pančochová Isabel Clark Ribeiro Félix Sévigny Richard Richardsson Nathan Johnstone Sage Kotsenburg Johann Baisamy Gary Zebrowski Matevž Petek Marco Siffredi Gigi Rüf Dominique Maltais Isabel Derungs Andrey Sobolev Christophe Ségura Tore Viken Holvik Ross Rebagliati Francesca Canepa Nathalie Desmares Sophie Rodriguez Risto Mattila Bell Berghuis Sun Zhifeng Alexey Sobolev Charlotte Bankes Sebastien Toutant Iouri Podladchikov Ståle Sandbech Ursina Haller Maxence Parrot Benjamin Karl Scotty Lago Greg Bretz Ross Powers Jamie Nicholls Lukas Mathies Eva Samková Doris Günther Niklas Mattsson Jenny Jones Paulina Ligocka Mathieu Crépel Maëlle Ricker Raphael Delfour Belle Brockhoff Helmut Pramstaller Danny Kass Géraldine Fasnacht Roope Tonteri Arthur Longo Isabella Laböck Daniel Franck Doresia Krings Markus Malin Rok Flander Elena Könz Kelly Clark Xu Chen Lidia Trettel Rocco van Straten Julia Dujmovits Déborah Anthonioz Daisuke Murakami Caroline Calvé Anke Karstens Graham Watanabe Spencer O'Brien Heidi Renoth Cécile Hernandez-Cervellon Manuel Veith Nelly Moenne Loccoz Ryō Aono Fabienne Reuteler Ayumu Hirano Hannah Teter Jasey-Jay Anderson Peetu Piiroinen Sandra Frei Lukas Grüner Ryan Stassel Terje Håkonsen Sylvain Dufour Marko Grilc Tanja Frieden Nevin Galmarini Ville Paumola Craig Kelly Sven Thorgren Alexander Bergmann Billy Morgan Thomas Prugger Michał Ligocki Ester Ledecká Siegfried Grabner Lluis Marin Tarroch Amelie Kober Ueli Kestenholz Arielle Gold Domen Bizjak Linn Haug Jonatan Johansson Alex Pullin Andrey Boldykov Lisa Miskovsky Juliane Bray Emma Bernard Roland Haldi Michael Lambert Louie Vito Marion Kreiner Jan Scherrer Daniela Meuli Clémence Grimal Chris Robanske Johannes Höpfl Alex Deibold Xavier de Le Rue Tony Ramoin Mirabelle Thovex Anton Unterkofler Enni Rukajärvi Lucile Lefevre Fränzi Mägert-Kohli Trevor Jacob Lindsey Jacobellis Paul-Henri de Le Rue Andreas Prommegger Guillaume Nantermod Antti Autti Sondra van Ert Gjermund Bråten Patrizia Kummer Anne-Flore Marxer Zhang Yiwei Hilde-Katrine Engeli Jeff Batchelor Cai Xuetong Luca Matteotti Nick Baumgartner Christy Prior Gérard Rougier Taylor Gold Aleksandra Zhekova Tim-Kevin Ravnjak Stefan Gimpl Isabelle Blanc Alessandro Haemmerle Kōhei Kudō Nicola Thost Queralt Castellet Ina Meschik Carolien van Kilsdonk Travis Rice Julie Pomagalski Cécile Alzina Rosey Fletcher Mike Robertson Žan Košir Kevin Pearce Anne Sophie Pellissier Simona Meiler Estelle Balet Mark McMorris Seth Wescott Brigitte Köck Damon Hayler Nikolay Olyunin Vic Wild Chas Guldemond Kazuhiro Kokubo Sylvain Duclos Annemarie Uliasz Faye Gulini Svetlana Boldykova Stanislav Detkov Mercedes Nicoll Zoe Gillings Manuela Riegler
281
action count
action filter_type
action find_reverse
entity snowboarding
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'snowboarding']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:common_name . ?d property:sport resource:snowboarding }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q14554839
P641
Q31629 Q18608583 Q12973014
USER
How many types of sport did less number of recurring sporting events and sports teams participate in than competitive fencing ?
(c(Q18608583)|c(Q12973014),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q14554839
relation P641
type Q18608583
type Q12973014
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?f WHERE { { ?f rdf:type ontology:Q31629 . ?w rdf:type ontology:Q18608583 . ?w property:P641 ?f } UNION { ?w property:P641 ?f . ?f rdf:type ontology:Q31629 . ?w rdf:type ontology:Q12973014 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P641 resource:Q14554839 . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12973014 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?m < ?a ) }
competitive fencing
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity competitive fencing
relation sport
type recurring sporting event
type sports team
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?f WHERE { { ?f rdf:type ontology:type_of_sport . ?w rdf:type ontology:recurring_sporting_event . ?w property:sport ?f } UNION { ?w property:sport ?f . ?f rdf:type ontology:type_of_sport . ?w rdf:type ontology:sports_team } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:sport resource:competitive_fencing . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:sports_team ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?m < ?a ) }
[]
type of sport recurring sporting event sports team
SYSTEM
68
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q211155 Q191691 Q3817372 Q166788 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q1707432 Q352749 Q1075998 Q1141850 Q774176 Q1629556 Q172809 Q16629853 Q335638 Q1423069 Q465014 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q11015 Q428242 Q162883 Q5300110
(c(Q18608583)|c(Q12973014),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q14554839
relation P641
type Q18608583
type Q12973014
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?f WHERE { { ?f rdf:type ontology:Q31629 . ?w rdf:type ontology:Q18608583 . ?w property:P641 ?f } UNION { ?w property:P641 ?f . ?f rdf:type ontology:Q31629 . ?w rdf:type ontology:Q12973014 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P641 resource:Q14554839 . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12973014 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?m < ?a ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts 200 metres 1500 metres beach run biathlon snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet Modern competitive archery roller skating sprint ski mountaineering canoe racing Keirin 1000 metres ten-pin bowling Mixed Doubles cyclo-cross canoe camping trampolining para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism snooker ski-orienteering free climbing double trap
68
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity competitive fencing
relation sport
type recurring sporting event
type sports team
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?f WHERE { { ?f rdf:type ontology:type_of_sport . ?w rdf:type ontology:recurring_sporting_event . ?w property:sport ?f } UNION { ?w property:sport ?f . ?f rdf:type ontology:type_of_sport . ?w rdf:type ontology:sports_team } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:sport resource:competitive_fencing . { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:sports_team ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?m < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q542
P641
Q31629 Q18608583 Q12973014
USER
And also tell me about athletics?
(c(Q18608583)|c(Q12973014),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q542
relation P641
type Q18608583
type Q12973014
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { VALUES ( ?i ) { ( ontology:Q18608583 ) ( ontology:Q12973014 ) } . ?c rdf:type ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P641 resource:Q542 . { { ?v rdf:type ontology:Q18608583 } UNION { ?v rdf:type ontology:Q12973014 } } } } . FILTER ( ?r < ?o ) }
athletics
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity athletics
relation sport
type recurring sporting event
type sports team
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { VALUES ( ?i ) { ( ontology:recurring_sporting_event ) ( ontology:sports_team ) } . ?c rdf:type ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:sport resource:athletics . { { ?v rdf:type ontology:recurring_sporting_event } UNION { ?v rdf:type ontology:sports_team } } } } . FILTER ( ?r < ?o ) }
[]
type of sport recurring sporting event sports team
SYSTEM
82
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q18608583)|c(Q12973014),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q542
relation P641
type Q18608583
type Q12973014
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { VALUES ( ?i ) { ( ontology:Q18608583 ) ( ontology:Q12973014 ) } . ?c rdf:type ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P641 resource:Q542 . { { ?v rdf:type ontology:Q18608583 } UNION { ?v rdf:type ontology:Q12973014 } } } } . FILTER ( ?r < ?o ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving snooker ski-orienteering college basketball free climbing double trap
82
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity athletics
relation sport
type recurring sporting event
type sports team
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { VALUES ( ?i ) { ( ontology:recurring_sporting_event ) ( ontology:sports_team ) } . ?c rdf:type ?i } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:sport resource:athletics . { { ?v rdf:type ontology:recurring_sporting_event } UNION { ?v rdf:type ontology:sports_team } } } } . FILTER ( ?r < ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2745289
P161
Q838948
USER
What is the name of work of art starring Tom Sims ?
(c(Q838948),P161,Q2745289)
action filter_type
action find_reverse
entity Q2745289
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q2745289']
SELECT DISTINCT ?t WHERE { ?t property:P161 resource:Q2745289 . ?t rdf:type ontology:Q838948 }
Tom Sims
action filter_type
action find_reverse
entity Tom Sims
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Tom Sims']
SELECT DISTINCT ?t WHERE { ?t property:cast_member resource:Tom_Sims . ?t rdf:type ontology:work_of_art }
[]
work of art
Q7977724
SYSTEM
We Ride - The Story of Snowboarding
Q7977724
(c(Q838948),P161,Q2745289)
action filter_type
action find_reverse
entity Q2745289
relation P161
type Q838948
The name of work of art starring Tom Sims is Where We Ride-The Story of Snowboarding
[{'concept': 'Q838948'}, 'P161', 'Q2745289']
SELECT DISTINCT ?t WHERE { ?t property:P161 resource:Q2745289 . ?t rdf:type ontology:Q838948 }
We Ride - The Story of Snowboarding
The name of work of art starring Tom Sims is Where We Ride-The Story of Snowboarding
We Ride - The Story of Snowboarding
action filter_type
action find_reverse
entity Tom Sims
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Tom Sims']
SELECT DISTINCT ?t WHERE { ?t property:cast_member resource:Tom_Sims . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2745289
P20
Q5119
USER
Where did the demise of Tom Sims occur ?
(Q2745289,P20,c(Q5119))
action filter_type
action find
entity Q2745289
relation P20
type Q5119
['Q2745289', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?k WHERE { resource:Q2745289 property:P20 ?k . ?k rdf:type ontology:Q5119 }
Tom Sims
action filter_type
action find
entity Tom Sims
relation place of death
type capital
['Tom Sims', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?k WHERE { resource:Tom_Sims property:place_of_death ?k . ?k rdf:type ontology:capital }
[]
capital
Q159288
SYSTEM
Santa Barbara
Q159288
(Q2745289,P20,c(Q5119))
action filter_type
action find
entity Q2745289
relation P20
type Q5119
The demise of Tom Sims occurred in [ANSWER]
['Q2745289', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?k WHERE { resource:Q2745289 property:P20 ?k . ?k rdf:type ontology:Q5119 }
Santa Barbara
The demise of Tom Sims occurred in Santa Barbara
Santa Barbara
action filter_type
action find
entity Tom Sims
relation place of death
type capital
['Tom Sims', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?k WHERE { resource:Tom_Sims property:place_of_death ?k . ?k rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2745289
P509
Q2057971
USER
How did that person die ?
(Q159288,P509,c(Q2057971))
action filter_type
action find
entity Q2745289
relation P509
type Q2057971
['Q159288', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q2745289 property:P509 ?x . ?x rdf:type ontology:Q2057971 }
Tom Sims
action filter_type
action find
entity Tom Sims
relation cause of death
type health problem
['Santa Barbara', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:Tom_Sims property:cause_of_death ?x . ?x rdf:type ontology:health_problem }
[]
health problem
Q202837
SYSTEM
cardiac arrest
Q202837
(Q159288,P509,c(Q2057971))
action filter_type
action find
entity Q2745289
relation P509
type Q2057971
That person died in [ANSWER]
['Q159288', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q2745289 property:P509 ?x . ?x rdf:type ontology:Q2057971 }
cardiac arrest
That person died in cardiac arrest
cardiac arrest
action filter_type
action find
entity Tom Sims
relation cause of death
type health problem
['Santa Barbara', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:Tom_Sims property:cause_of_death ?x . ?x rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q159288
P20
Q502895
USER
How many people died in Santa Barbara ?
(c(Q502895),P20,Q159288)
action count
action filter_type
action find_reverse
entity Q159288
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q159288']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P20 resource:Q159288 . ?s rdf:type ontology:Q502895 }
Santa Barbara
action count
action filter_type
action find_reverse
entity Santa Barbara
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Santa Barbara']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:place_of_death resource:Santa_Barbara . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
258
Q6065512 Q458036 Q6700787 Q1766077 Q6114266 Q3560676 Q1288946 Q6376775 Q15462649 Q5366688 Q214848 Q708204 Q2065905 Q5136994 Q6262418 Q7490158 Q2343509 Q556265 Q15267064 Q8131454 Q2057723 Q274262 Q6757146 Q999726 Q25135365 Q456880 Q1550908 Q1809184 Q2654776 Q3760447 Q1145579 Q3328197 Q16562372 Q4567878 Q3066501 Q885878 Q7267737 Q2639026 Q3511943 Q21682733 Q524325 Q958413 Q2745289 Q358673 Q1691349 Q920184 Q17581402 Q855022 Q882483 Q561814 Q1095440 Q1502145 Q4963077 Q5295005 Q441978 Q926771 Q2377564 Q2904351 Q1805115 Q1120339 Q7169721 Q447601 Q5277562 Q2006144 Q437187 Q592132 Q1368756 Q1332722 Q441889 Q1646159 Q3157162 Q19325754 Q525904 Q440298 Q15995588 Q5497784 Q292860 Q206232 Q1956805 Q7788780 Q725060 Q4685660 Q16466028 Q1031093 Q2887785 Q5919319 Q1292012 Q230415 Q695856 Q3247520 Q919460 Q2570296 Q13471722 Q19519775 Q444785 Q983441 Q1328402 Q5239898 Q235467 Q1606553 Q1634275 Q5666990 Q7298275 Q7370103 Q3418255 Q6536511 Q365844 Q17425758 Q7340625 Q3813370 Q5079207 Q1748371 Q2581565 Q60303 Q1379214 Q6687542 Q5234066 Q3240900 Q71784 Q681097 Q3973220 Q1367939 Q5559228 Q2149367 Q2733744 Q6183560 Q2481772 Q1280431 Q288369 Q726144 Q710567 Q21751581 Q2658246 Q667302 Q20640599 Q173721 Q516447 Q11727993 Q4260292 Q2883970 Q436530 Q6843590 Q395494 Q108116 Q5006960 Q3037066 Q16854922 Q3779286 Q862238 Q7345980 Q8020164 Q20856720 Q1611358 Q4797767 Q2239682 Q1985394 Q92867 Q1697118 Q1846029 Q938452 Q318297 Q253282 Q438608 Q3568482 Q1631794 Q14588770 Q1348309 Q6195496 Q78510 Q168267 Q232340 Q181786 Q1691519 Q7177697 Q1669194 Q5293286 Q1507199 Q2017853 Q5818554 Q9236948 Q3342653 Q3567228 Q436687 Q7965035 Q333475 Q2580364 Q7453237 Q7183299 Q4951318 Q2976624 Q870734 Q3157301 Q88505 Q910800 Q353120 Q2824201 Q2103237 Q272068 Q23011305 Q4227658 Q5136877 Q2231802 Q20810617 Q1702132 Q6170823 Q936637 Q13435675 Q42 Q1631735 Q3036007 Q1413561 Q1871464 Q1699240 Q359463 Q887045 Q568623 Q4444835 Q2035670 Q129595 Q330103 Q16472 Q6212989 Q13562084 Q268829 Q1397312 Q2445408 Q4859390 Q712375 Q5423351 Q113727 Q1285817 Q1239525 Q18934923 Q4769417 Q2134208 Q18630359 Q353395 Q1371312 Q5362125 Q2070298 Q7340803 Q18747245 Q20015376 Q238032 Q1772113 Q643262 Q466666 Q214477 Q17366046 Q2546654 Q2578405 Q374167 Q1682182 Q71601 Q108888 Q2865338 Q6281546 Q55412
(c(Q502895),P20,Q159288)
action count
action filter_type
action find_reverse
entity Q159288
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q159288']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P20 resource:Q159288 . ?s rdf:type ontology:Q502895 }
Jheri Redding Frederick Russell Burnham Luis Manuel Quintero Pierre Delattre Jack Nadel Virginia Gilmore Fritz Buchthal Kathleen Kirkham Maynard Geiger Elmer Truesdell Merrill Karl Geiringer Peter Ellenshaw Georgiana Drew Clyde Packer John W. Miles Sharon Monsky Stephan Lackner Keith Larsen George Tunell Walter Varney Patrick Joseph Sullivan Lynn Bari Marcia Tucker Dale Van Every Caroline Hazard Virginia Carroll William W. Norton Lawrence Grant Henry Smith Pritchett George Howells Broadhurst Curtis H. Castle Murray Kinnell Guido Ferrando Immanuel C.Y. Hsü Fanny Stevenson Scott Cordelle Bone Jaroslaw Zielinski Albert Whitlock T. Jerome Lawler Alexander F. Harmer Norma Varden Harry Robbins Haldeman Tom Sims John Peabody Harrington Joe Bushkin Frederic Clements Ray Montgomery Robert Hetzron Robert Livingston Beeckman Robert Maynard Hutchins Clarence Griffin Geneviève Delattre Brian Bedford Donald Prentice Booth Leonardo De Lorenzo Earl Foster Thomson Robert R. Benton Carlos Antonio Carrillo Joseph Hunter Theo Salzman Perry Banks Eleanor Boardman Dimitrije Đorđević William E. Simon Senda Berenson Abbott Garrett Hardin Les Clark Elman Service Elizabeth Inglis Lola Lane Jack DeWitt John Sullivan Andy Granatelli Faith Domergue Edward H. Williams Frederick Forrest Peabody Pauline de Rothschild Jorge de Sena Myron Irving Barker Thomas D. Barr Robert Stevenson Adrien Stoutenburg Nathaniel Bowditch Potter Winston A. Reynolds Russell William Thaw Howard Clinebell Edward Dahlberg Judith Anderson Arnold Nordsieck Sylvester Weaver John Peverell Marley Bill Davison Pinna Nesbit George Rowe Milton Sills Thomas Moran Julius Berstl David Smith Anne Francis Henry Brant Hugh Davis Graham Harry Ashmore Ray West Roswell G. Ham Ralph Graves Lewis E. Goodier, Jr. Jerry Weintraub Allen Latham Anderson Rob Wagner Katherine MacDonald Charles Hubbard Judd Lockwood de Forest Willis W. Bradley Lotte Lehmann Eva Herrmann Louis Kempff David Gebhard Lillian Fontaine Richard Vogt Gordon E. Sawyer Stephen W. Burns Esmond Edwards Thomas Steinbeck Richard Gurley Drew Mary Cover Jones Jerry Fairbanks Christian Rub Walter F. Lineberger Ernest Thayer Sabin Carr Arthur Marder Clarence K. Hinkle Ruth Becker Tom Kelly Rudolph E. Schirmer Milt Fankhouser Kenneth Rexroth John Vaughn Mildred Cram Barbara Jo Allen Dorothy Jeakins Mieczysław G. Bekker John Ireland Carl Raswan C. W. Post Doris Lloyd Norbert Schiller Guido Fulignot Bill Kaysing Robert J. Sinclair William Welles Hollister Claude Buck Hermann Hagedorn Arthur A. Schuck Guy Gilpatric Allan Folsom Ronald V. Book Ken Grimwood Phillip Terry Preston Cloud Ross Macdonald Marie Dressler Vera Ralston William Campbell Gault Howard Duff Harry C. Butcher John Cromwell Jim Hawthorne Walter Kohn Hilda Geiringer Edie Sedgwick Ronald Colman Joe Marsala Peter Whitney Ruth Michaelis Don Patterson George Dangerfield John Dehner Edith Gertrude Schwartz John J. Gumperz Noel Black Wendell P. Woodring Marion Post Wolcott Walter H. Moeller Mel Ferrer William Riley McKeen Sereno E. Brett Philip Burton Jr. Bowman H. McCalla Claud Allister Thomas Blatt Jack Richardson Peter Urbach Brett Halliday Addison Emery Verrill Adele Palmer Jack Clark Heather Angel Ludmilla Welch Gwendolyn Koldofsky Clyde Blair Juan Torena John L. Cason John Wengraf Jean Hazlewood Wallace MacDonald Virginia Cherrill Douglas Adams Howard Bristol Donald C. Peattie Mark Harris Colin Campbell Cooper Martial Singher David Manners Rexford Tugwell Katherine Esau Reginald Stewart Lynn Strait Arturo Serrano Plaja Ky Fan Robert Mitchum Joe Wilhoit Elida Morris Margaret Millar Harry Carey Robert Hunter Barbara Warren Horace W. Babcock Ezra Fitch Paul Harteck Marguerite Roberts Don Stewart Earl E. Rosenthal Annie Rockfellow Raymond Louis Wilder Rudolph S. Joseph Peter Racine Fricker Keith Gledhill Eliza Emily Chappell Porter Percy Shelley Anneke Robb White Herbert Dalmas Clare Butterworth Hardham Jeanne Crain Fred Kavli Shams Pahlavi Jack Martin Smith Julia Child Charles Scott Berry Thomas M. Storke Wilhelm Julius Arthur Zimdin Victor Varconi Jean Klein Erich Schmidt Margot Benary-Isbert Arthur Shields Joseph Birdsell F. W. Murnau
258
action count
action filter_type
action find_reverse
entity Santa Barbara
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Santa Barbara']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:place_of_death resource:Santa_Barbara . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159288
P276
Q15275719
USER
What is located at Santa Barbara ?
(c(Q15275719),P276,Q159288)
action filter_type
action find_reverse
entity Q159288
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q159288']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15275719 . ?v property:P276 resource:Q159288 }
Santa Barbara
action filter_type
action find_reverse
entity Santa Barbara
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Santa Barbara']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:recurring_event . ?v property:location resource:Santa_Barbara }
[]
recurring event
Q3070716
SYSTEM
Santa Barbara International Film Festival
Q3070716
(c(Q15275719),P276,Q159288)
action filter_type
action find_reverse
entity Q159288
relation P276
type Q15275719
The [ANSWER] is located at Santa Barbara
[{'concept': 'Q15275719'}, 'P276', 'Q159288']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15275719 . ?v property:P276 resource:Q159288 }
Santa Barbara International Film Festival
The Santa Barbara International Film Festival is located at Santa Barbara
Santa Barbara International Film Festival
action filter_type
action find_reverse
entity Santa Barbara
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Santa Barbara']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:recurring_event . ?v property:location resource:Santa_Barbara }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159288
P190
Q56061
USER
Which administrative territories are sister towns of Santa Barbara ?
(Q159288,P190,c(Q56061))
action filter_type
action find
entity Q159288
relation P190
type Q56061
['Q159288', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q159288 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Santa Barbara
action filter_type
action find
entity Santa Barbara
relation sister city
type administrative territorial entity
['Santa Barbara', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Santa_Barbara property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8826 Q932302 Q171080
SYSTEM
Palma, Dingle, Kotor
Q8826 Q932302 Q171080
(Q159288,P190,c(Q56061))
action filter_type
action find
entity Q159288
relation P190
type Q56061
[ANSWERS] are sister towns of Santa Barbara
['Q159288', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q159288 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Palma Dingle Kotor
Palma, Dingle and Kotor are sister towns of Santa Barbara
Palma Dingle Kotor
action filter_type
action find
entity Santa Barbara
relation sister city
type administrative territorial entity
['Santa Barbara', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Santa_Barbara property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q851838
Q56061
USER
And how about Delta, British Columbia?
(Q851838,P190,c(Q56061))
action filter_type
action find
entity Q851838
relation P190
type Q56061
['Q851838', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q851838 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Delta, British Columbia
action filter_type
action find
entity Delta, British Columbia
relation sister city
type administrative territorial entity
['Delta, British Columbia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Delta,_British_Columbia property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q127041
SYSTEM
Mangalore
Q127041
(Q851838,P190,c(Q56061))
action filter_type
action find
entity Q851838
relation P190
type Q56061
[ANSWER]
['Q851838', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q851838 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Mangalore
Mangalore
action filter_type
action find
entity Delta, British Columbia
relation sister city
type administrative territorial entity
['Delta, British Columbia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Delta,_British_Columbia property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]