Simple Question (Direct)
Simple Question
Q898410
P54
Q12973014
USER
Which sports teams are Philippe Boucher a member of ?
(Q898410,P54,c(Q12973014))
action filter_type
action find
entity Q898410
relation P54
type Q12973014
['Q898410', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { resource:Q898410 property:P54 ?k . ?k rdf:type ontology:Q12973014 }
Philippe Boucher
action filter_type
action find
entity Philippe Boucher
relation member of sports team
type sports team
['Philippe Boucher', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { resource:Philippe_Boucher property:member_of_sports_team ?k . ?k rdf:type ontology:sports_team }
[]
sports team
Q193643 Q131206 Q208652
SYSTEM
Pittsburgh Penguins, Buffalo Sabres, Dallas Stars
Q131206 Q208652 Q193643 Q203008
(Q898410,P54,c(Q12973014))
action filter_type
action find
entity Q898410
relation P54
type Q12973014
The [ANSWERS] are Philippe Boucher a member of
['Q898410', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?k WHERE { resource:Q898410 property:P54 ?k . ?k rdf:type ontology:Q12973014 }
Buffalo Sabres Dallas Stars Pittsburgh Penguins Los Angeles Kings
The Pittsburgh Penguins, Buffalo Sabres and Dallas Stars are Philippe Boucher a member of
Pittsburgh Penguins Buffalo Sabres Dallas Stars
action filter_type
action find
entity Philippe Boucher
relation member of sports team
type sports team
['Philippe Boucher', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?k WHERE { resource:Philippe_Boucher property:member_of_sports_team ?k . ?k rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q208652
P641
Q349
USER
Which sport was that sports team a part of ?
(Q208652,P641,c(Q349))
action filter_type
action find
entity Q208652
relation P641
type Q349
['Q208652', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q208652 property:P641 ?z }
Dallas Stars
action filter_type
action find
entity Dallas Stars
relation sport
type sport
['Dallas Stars', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Dallas_Stars property:sport ?z }
[]
sport
Clarification for simple ques.
Q193643
SYSTEM
Did you mean Pittsburgh Penguins ?
Q193643 Q131206 Q208652
(Q193643,P641,c(Q349)) (Q131206,P641,c(Q349)) (Q208652,P641,c(Q349))
[ANSWER]
['Q193643', 'P641', {'concept': 'Q349'}] ['Q131206', 'P641', {'concept': 'Q349'}] ['Q208652', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q208652 property:P641 ?z }
Pittsburgh Penguins Buffalo Sabres Dallas Stars
Did you mean Pittsburgh Penguins ?
Pittsburgh Penguins
['Pittsburgh Penguins', 'sport', {'concept': 'sport'}] ['Buffalo Sabres', 'sport', {'concept': 'sport'}] ['Dallas Stars', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Dallas_Stars property:sport ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant Dallas Stars. Could you tell me the answer for that?
(Q208652,P641,c(Q349))
Q208652
['Q208652', 'P641', {'concept': 'Q349'}]
['Dallas Stars', 'sport', {'concept': 'sport'}]
[]
Q41466
SYSTEM
ice hockey
Q41466
(Q208652,P641,c(Q349))
action filter_type
action find
entity Q208652
relation P641
type Q349
The [ANSWER] was that sports team a part of
['Q208652', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q208652 property:P641 ?z }
ice hockey
The ice hockey was that sports team a part of
ice hockey
action filter_type
action find
entity Dallas Stars
relation sport
type sport
['Dallas Stars', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Dallas_Stars property:sport ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6954519 Q208652
P54
Q502895
USER
Which people are a member of Dallas Stars or NK Kolpa ?
OR((c(Q502895),P54,Q208652), (c(Q502895),P54,Q6954519))
action filter_type
action union
action find_reverse
entity Q208652
relation P54
action find_reverse
entity Q6954519
relation P54
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P54', 'Q208652'], [{'concept': 'Q502895'}, 'P54', 'Q6954519']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P54 resource:Q6954519 } UNION { ?e property:P54 resource:Q208652 } } . ?e rdf:type ontology:Q502895 }
NK Kolpa Dallas Stars
action filter_type
action union
action find_reverse
entity Dallas Stars
relation member of sports team
action find_reverse
entity NK Kolpa
relation member of sports team
type common name
{'OR': [[{'concept': 'common name'}, 'member of sports team', 'Dallas Stars'], [{'concept': 'common name'}, 'member of sports team', 'NK Kolpa']]}
SELECT DISTINCT ?e WHERE { { { ?e property:member_of_sports_team resource:NK_Kolpa } UNION { ?e property:member_of_sports_team resource:Dallas_Stars } } . ?e rdf:type ontology:common_name }
[]
common name
Q1390758 Q13581459 Q723676 Q733527 Q6160689 Q1484103 Q1689153 Q573587 Q795013 Q539344
SYSTEM
Some of them are Rob Valicevic, Jason Dickinson, Jaroslav Modrý, Fabian Brunnström, Jaroslav Svoboda, Todd Harvey, Jim McKenzie, Brenden Morrow, Bill Guerin, Jere Lehtinen
Q1385466 Q258801 Q1200092 Q583267 Q301953 Q913110 Q21063152 Q1390758 Q1369268 Q16228590 Q3063238 Q6277134 Q302041 Q449582 Q428241 Q930846 Q725726 Q945734 Q16847719 Q553143 Q125614 Q2003440 Q1344583 Q687420 Q632863 Q2462656 Q541204 Q3187366 Q1287499 Q954930 Q346010 Q343398 Q762260 Q5528227 Q1388544 Q960185 Q733527 Q17386605 Q1378613 Q1364171 Q899233 Q1909465 Q440363 Q873622 Q478569 Q981770 Q929135 Q959566 Q943373 Q681304 Q326912 Q1378771 Q573587 Q200428 Q447224 Q1933256 Q1064791 Q672429 Q1665875 Q639539 Q1425642 Q4588444 Q1099512 Q743796 Q472555 Q1655362 Q539344 Q679785 Q1140466 Q3416408 Q6378797 Q472045 Q6160689 Q1484103 Q632944 Q16728517 Q324953 Q6181927 Q1365307 Q5371378 Q1689153 Q506880 Q1364841 Q1337264 Q963260 Q1403210 Q2037725 Q1740123 Q155307 Q901508 Q934186 Q6378771 Q722688 Q1382789 Q925611 Q3294290 Q4588453 Q16228662 Q6381507 Q505412 Q361701 Q836377 Q6174526 Q348930 Q290416 Q497781 Q632055 Q599507 Q6768511 Q537010 Q3115397 Q586970 Q928110 Q924165 Q1348641 Q930113 Q439529 Q1890891 Q17198257 Q21621039 Q16229174 Q1351536 Q585152 Q16732341 Q4558795 Q931343 Q1334360 Q368568 Q361690 Q1399698 Q657106 Q6381517 Q969858 Q1933235 Q3337805 Q5549077 Q763067 Q6198361 Q344753 Q6380378 Q901510 Q960614 Q901513 Q590925 Q739793 Q974567 Q4558770 Q722874 Q578738 Q965982 Q902300 Q1463869 Q16225084 Q4351729 Q531038 Q739886 Q1441777 Q1077794 Q735747 Q1173209 Q795013 Q3302564 Q898635 Q947768 Q896827 Q5293587 Q881286 Q904173 Q910449 Q475645 Q6378250 Q3299450 Q3123835 Q255836 Q212436 Q438914 Q1249414 Q1390408 Q175914 Q1466415 Q1000678 Q507839 Q1544948 Q837538 Q16236780 Q1266701 Q3161564 Q2261014 Q356495 Q3162900 Q1138621 Q433271 Q628415 Q1106060 Q20253316 Q728701 Q5107539 Q11862277 Q426012 Q1136238 Q848849 Q282726 Q818115 Q877604 Q1387192 Q682629 Q1173279 Q1477550 Q328994 Q943632 Q908752 Q656533 Q1342855 Q785251 Q1910718 Q784286 Q295345 Q1342811 Q4909498 Q3498931 Q629379 Q946247 Q1176993 Q1360814 Q1484276 Q358201 Q2373824 Q631853 Q6378870 Q2647932 Q902525 Q1049165 Q723676 Q2261065 Q13581459 Q365886 Q367241 Q2130837 Q4931756 Q1181066 Q2074577 Q352151 Q537505 Q526778 Q1904899 Q1100360 Q554195 Q1494451 Q1544919 Q302601 Q350592 Q909764 Q3190635 Q448378 Q681013 Q5263095 Q935070 Q363536 Q479259 Q977018 Q5238217 Q1336949 Q3517022 Q2645570 Q1200117 Q4062580 Q898410 Q706130 Q1651310 Q743807 Q693585 Q1345680 Q3313451 Q223300 Q606201 Q438474 Q923505 Q2069848 Q609738 Q733536 Q745004 Q6379669
OR((c(Q502895),P54,Q208652), (c(Q502895),P54,Q6954519))
action filter_type
action union
action find_reverse
entity Q208652
relation P54
action find_reverse
entity Q6954519
relation P54
type Q502895
[ANSWERS] are a member of Dallas Stars or NK Kolpa
{'OR': [[{'concept': 'Q502895'}, 'P54', 'Q208652'], [{'concept': 'Q502895'}, 'P54', 'Q6954519']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P54 resource:Q6954519 } UNION { ?e property:P54 resource:Q208652 } } . ?e rdf:type ontology:Q502895 }
Richard Matvichuk Alan Letang Derek Plante Juha Lind Aaron Downey Brian Sutherby Cole Ully Rob Valicevic John Erskine Justin Dowling Mathias Tjärnqvist Jordan Willis Aaron Gavey Artūrs Irbe Doug Janik Mike Smith Sean Avery Valeri Bure Rudi Požeg Vancaš Richard Bachman Patrik Štefan Sheldon Souray Johan Hedberg Erik Cole Kevin Hatcher Tyler Bouck Sylvain Côté Joël Bouchard Shane Churla Alex Auld Bob Errey Paul Cavallini Mike Ribeiro Gavin Morgan Manny Malhotra Neal Broten Fabian Brunnström Brendan Ranford Pavel Patera Roman Lyashenko Toby Petersen Matthew Barnaby Brett Hull Corey Millen Tobias Stephan Tomáš Vincour Matt Niskanen Scott Glennie Tom Wandell Darcy Wakaluk Brent Severyn Jeff Halpern Brenden Morrow Shawn Chambers Petr Buzek Mike Lalor Jamie Benn Jeff Woywitka Paul Broten Jamie Langenbrunner Scott Young Ryan Garbutt James Black Landon Wilson Brent Gilchrist Iain Fraser Jere Lehtinen Benoît Brunet Cristopher Nihlstorp Radek Faksa Mike Donnelly Shayne Corson Jaroslav Svoboda Todd Harvey Nicklas Grossmann Philippe Desrosiers Kelly Fairchild Jeremy Stevenson Stéphane Robidas Emil Molin Jim McKenzie Andrew Raycroft Jason Williams Mattias Bäckman Vito Plut Jyrki Lumme Willie Mitchell Kevin Dean Niko Kapanen Dan Keczmer Johan Holmqvist Matt Climie Ladislav Nagy Radek Dvořák Ryan Christie Mark Wotton Reilly Smith Remi Elie Trent Klatt Sergei Makarov Stu Barnes Chris Conner Jeff Mitchell Adam Burish Doug Lidster Loui Eriksson Steve Ott Krys Barch Mark Lawrence Guy Carbonneau Grant Ledyard Antoine Roussel Ed Belfour Tommy Sjödin Teppo Numminen Mark Fistric Brandon Segal Mark Tinordi Žiga Kočevar Chris Martenet Stephen Johns Eric Nystrom Kari Lehtonen Curtis McKenzie Jordie Benn Joel Lundqvist Valeri Kamensky Mike Modano Brad Winchester Jake Dowell Mike Torchia Travis Morin Sami Helenius Mike Kennedy Neil Brady Gerald Diduck Gord Donnelly Jim Storm Ľubomír Sekeráš Rob DiMaio Dan Kesa Eric Lindros Dan Jancevski Todd Fedoruk Brad Richards Claude Lemieux Brenden Dillon John MacLean Marty Turco Chris Therien Jarkko Varvio Warren Luhning Devin Shore Nathan Perrott Vojtěch Polák Pierre Turgeon Francis Wathier Chris Tancill Sergei Gusev Dave Gagner Bill Guerin Maxime Fortunus Greg Adams Ulf Dahlén Brad Lukowich Don Sweeney Blake Sloan Derian Hatcher Duane Joyce Philip Larsen Jim Johnson Matt Fraser Jack Campbell Jamie Wright Aaron Gagnon Raymond Sawada Rob Brown Alex Goligoski Andrew Hutchinson Zac Boyer Randy McKay Martin Škoula Greg Leeb Nolan Baumgartner Julius Honka Vernon Fiddler Jamie Oleksiak Scott Pellerin Tony Hrkac Jason Botterill Craig Muni Brent Fedyk Travis Richards Keith Aldridge Troy Vance Donald Audette Chris Murray Henri Kiviaho Doug Zmolek Ric Jackman Brad Berry Steve Bégin Benoît Hogue Mike Craig Roman Turek Trevor Daley Dave Manson Jamie Pushor Ron Tugnutt Róbert Petrovický Brendan Morrison Jim Montgomery Ray Whitney Nikolai Borschevsky Mattias Norström Dave Reid Jaromír Jágr Janne Niinimaa Bill Huard Steve Gainey Ivan Vishnevskiy Peter Zezel Mike Needham Manny Fernandez Alan May Mark Parrish Guillaume Monast Junior Lessard Marc LaBelle Allan Bester Dave Barr Perttu Lindgren Jaroslav Modrý Scott Thornton Jason Dickinson Corey Hirsch Craig Ludwig Randy Wood Bob Bassen Dean Evason Peter Douris Kārlis Skrastiņš Jussi Jokinen Andy Moog Martin Ručinský Jeff MacMillan Cody Eakin Garrett Stafford Greg Hawgood Aaron Rome Adam Pardy Brent Krahn Jyrki Jokipakka Brian Skrudland Russ Courtnall Derrick Smith Kirk Muller Patrick Traverse Jon Sim Lyle Odelein David Oliver Michael Ryder Ted Donato Jarrod Skalde Derek Roy Shaun Van Allen Philippe Boucher Jason Arnott Jon Klemm Darryl Sydor Joe Nieuwendyk Pat Verbeek Mike McPhee Niklas Hagman Sergei Zubov Warren Peters Mike Keane Per-Erik Eklund Antti Miettinen Colton Sceviour Grant Marshall Patrick Côté
Rob Valicevic, Jason Dickinson, Jaroslav Modrý, Fabian Brunnström, Jaroslav Svoboda, Todd Harvey, Jim McKenzie, Brenden Morrow, Bill Guerin and Jere Lehtinen are a member of Dallas Stars or NK Kolpa
Rob Valicevic Jason Dickinson Jaroslav Modrý Fabian Brunnström Jaroslav Svoboda Todd Harvey Jim McKenzie Brenden Morrow Bill Guerin Jere Lehtinen
action filter_type
action union
action find_reverse
entity Dallas Stars
relation member of sports team
action find_reverse
entity NK Kolpa
relation member of sports team
type common name
{'OR': [[{'concept': 'common name'}, 'member of sports team', 'Dallas Stars'], [{'concept': 'common name'}, 'member of sports team', 'NK Kolpa']]}
SELECT DISTINCT ?e WHERE { { { ?e property:member_of_sports_team resource:NK_Kolpa } UNION { ?e property:member_of_sports_team resource:Dallas_Stars } } . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13581459
P641
Q349
USER
What did that person participate in ?
(Q13581459,P641,c(Q349))
action filter_type
action find
entity Q13581459
relation P641
type Q349
['Q13581459', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q13581459 property:P641 ?o . ?o rdf:type ontology:Q349 }
Jason Dickinson
action filter_type
action find
entity Jason Dickinson
relation sport
type sport
['Jason Dickinson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Jason_Dickinson property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q1689153
SYSTEM
Did you mean Jim McKenzie ?
Q1390758 Q13581459 Q723676 Q733527 Q6160689 Q1484103 Q1689153 Q573587 Q795013 Q539344
(Q1390758,P641,c(Q349)) (Q13581459,P641,c(Q349)) (Q723676,P641,c(Q349)) (Q733527,P641,c(Q349)) (Q6160689,P641,c(Q349)) (Q1484103,P641,c(Q349)) (Q1689153,P641,c(Q349)) (Q573587,P641,c(Q349)) (Q795013,P641,c(Q349)) (Q539344,P641,c(Q349))
[ANSWER]
['Q1390758', 'P641', {'concept': 'Q349'}] ['Q13581459', 'P641', {'concept': 'Q349'}] ['Q723676', 'P641', {'concept': 'Q349'}] ['Q733527', 'P641', {'concept': 'Q349'}] ['Q6160689', 'P641', {'concept': 'Q349'}] ['Q1484103', 'P641', {'concept': 'Q349'}] ['Q1689153', 'P641', {'concept': 'Q349'}] ['Q573587', 'P641', {'concept': 'Q349'}] ['Q795013', 'P641', {'concept': 'Q349'}] ['Q539344', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q13581459 property:P641 ?o . ?o rdf:type ontology:Q349 }
Rob Valicevic Jason Dickinson Jaroslav Modrý Fabian Brunnström Jaroslav Svoboda Todd Harvey Jim McKenzie Brenden Morrow Bill Guerin Jere Lehtinen
Did you mean Jim McKenzie ?
Jim McKenzie
['Rob Valicevic', 'sport', {'concept': 'sport'}] ['Jason Dickinson', 'sport', {'concept': 'sport'}] ['Jaroslav Modrý', 'sport', {'concept': 'sport'}] ['Fabian Brunnström', 'sport', {'concept': 'sport'}] ['Jaroslav Svoboda', 'sport', {'concept': 'sport'}] ['Todd Harvey', 'sport', {'concept': 'sport'}] ['Jim McKenzie', 'sport', {'concept': 'sport'}] ['Brenden Morrow', 'sport', {'concept': 'sport'}] ['Bill Guerin', 'sport', {'concept': 'sport'}] ['Jere Lehtinen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Jason_Dickinson property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Jason Dickinson. Could you tell me the answer for that?
(Q13581459,P641,c(Q349))
Q13581459
['Q13581459', 'P641', {'concept': 'Q349'}]
['Jason Dickinson', 'sport', {'concept': 'sport'}]
[]
Q41466
SYSTEM
ice hockey
Q41466
(Q13581459,P641,c(Q349))
action filter_type
action find
entity Q13581459
relation P641
type Q349
That person participated in [ANSWER]
['Q13581459', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q13581459 property:P641 ?o . ?o rdf:type ontology:Q349 }
ice hockey
That person participated in ice hockey
ice hockey
action filter_type
action find
entity Jason Dickinson
relation sport
type sport
['Jason Dickinson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Jason_Dickinson property:sport ?o . ?o rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1759986
P1303
Q34379 Q502895
USER
How many musical instruments are played by more number of people than Wurlitzer electric piano ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { FILTER ( ?f > ?a ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q34379 . resource:Q1759986 property:P1303 ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1303 ?u . ?n rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } }
Wurlitzer electric piano
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { FILTER ( ?f > ?a ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:musical_instrument . resource:Wurlitzer_electric_piano property:instrument ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:instrument ?u . ?n rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { FILTER ( ?f > ?a ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q34379 . resource:Q1759986 property:P1303 ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1303 ?u . ?n rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { FILTER ( ?f > ?a ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:musical_instrument . resource:Wurlitzer_electric_piano property:instrument ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:instrument ?u . ?n rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q320341
P1303
Q34379 Q502895
USER
And how about celesta?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q320341
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q320341 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P1303 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } }
celesta
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity celesta
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:celesta property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:instrument ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q320341
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q320341 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P1303 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity celesta
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:celesta property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:instrument ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } }
[]