Simple Question (Direct)
Simple Question
Q5390612
P39
Q12737077
USER
Which occupation was a position held by Eugenio González Rojas ?
(Q5390612,P39,c(Q12737077))
action filter_type
action find
entity Q5390612
relation P39
type Q12737077
['Q5390612', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5390612 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Eugenio González Rojas
action filter_type
action find
entity Eugenio González Rojas
relation position held
type occupation
['Eugenio González Rojas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Eugenio_González_Rojas property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q18882653
SYSTEM
member of the Senate of Chile
Q18882653
(Q5390612,P39,c(Q12737077))
action filter_type
action find
entity Q5390612
relation P39
type Q12737077
The [ANSWER] was a position held by Eugenio González Rojas
['Q5390612', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5390612 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the Senate of Chile
The member of the Senate of Chile was a position held by Eugenio González Rojas
member of the Senate of Chile
action filter_type
action find
entity Eugenio González Rojas
relation position held
type occupation
['Eugenio González Rojas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Eugenio_González_Rojas property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5390612
P1412
Q34770
USER
Which language can Eugenio González Rojas read ?
(Q5390612,P1412,c(Q34770))
action filter_type
action find
entity Q5390612
relation P1412
type Q34770
['Q5390612', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5390612 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Eugenio González Rojas
action filter_type
action find
entity Eugenio González Rojas
relation languages spoken, written or signed
type language
['Eugenio González Rojas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Eugenio_González_Rojas property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5390612,P1412,c(Q34770))
action filter_type
action find
entity Q5390612
relation P1412
type Q34770
Eugenio González Rojas can read in [ANSWER]
['Q5390612', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5390612 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Eugenio González Rojas can read in Spanish
Spanish
action filter_type
action find
entity Eugenio González Rojas
relation languages spoken, written or signed
type language
['Eugenio González Rojas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Eugenio_González_Rojas property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5390612
P106
Q12737077
USER
What is the job of Eugenio González Rojas ?
(Q5390612,P106,c(Q12737077))
action filter_type
action find
entity Q5390612
relation P106
type Q12737077
['Q5390612', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q5390612 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Eugenio González Rojas
action filter_type
action find
entity Eugenio González Rojas
relation occupation
type occupation
['Eugenio González Rojas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Eugenio_González_Rojas property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5390612,P106,c(Q12737077))
action filter_type
action find
entity Q5390612
relation P106
type Q12737077
The job of Eugenio González Rojas is a [ANSWER]
['Q5390612', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q5390612 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician
The job of Eugenio González Rojas is a politician
politician
action filter_type
action find
entity Eugenio González Rojas
relation occupation
type occupation
['Eugenio González Rojas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Eugenio_González_Rojas property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P921
Q12737077 Q2342494 Q838948
USER
How many occupations were the main subjects of greater number of collectables or works of art 's work than that occupation ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?v WHERE { { ?h property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q838948 . ?h property:P921 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P921 resource:Q82955 . { VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?e rdf:type ?y } } } . FILTER ( ?o > ?c ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?v WHERE { { ?h property:main_subject ?v . ?v rdf:type ontology:occupation . ?h rdf:type ontology:collectable } UNION { ?v rdf:type ontology:occupation . ?h rdf:type ontology:work_of_art . ?h property:main_subject ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:main_subject resource:politician . { VALUES ( ?y ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?e rdf:type ?y } } } . FILTER ( ?o > ?c ) }
[]
occupation collectable work of art
SYSTEM
12
Q39631 Q11631 Q33999 Q1930187 Q937857 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?v WHERE { { ?h property:P921 ?v . ?v rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q838948 . ?h property:P921 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P921 resource:Q82955 . { VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?e rdf:type ?y } } } . FILTER ( ?o > ?c ) }
physician astronaut actor journalist association football player ninja flight attendant war correspondent high school student elementary school student photographer middle school student
12
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?v WHERE { { ?h property:main_subject ?v . ?v rdf:type ontology:occupation . ?h rdf:type ontology:collectable } UNION { ?v rdf:type ontology:occupation . ?h rdf:type ontology:work_of_art . ?h property:main_subject ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:main_subject resource:politician . { VALUES ( ?y ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?e rdf:type ?y } } } . FILTER ( ?o > ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3279
Q502895 Q15991303 Q500834
USER
Which people were the statistical leaders of min number of association football leagues and tournaments ?
(c(Q15991303)|c(Q500834),P3279,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
[[{'concept': 'Q15991303'}, {'concept': 'Q500834'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q500834 ) ( ontology:Q15991303 ) } . ?s rdf:type ?m } GROUP BY ?p } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?q WHERE { VALUES ( ?r ) { ( ontology:Q15991303 ) ( ontology:Q500834 ) } . ?u rdf:type ?r } GROUP BY ?q } }
action argmin
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
[[{'concept': 'association football league'}, {'concept': 'tournament'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?p WHERE { VALUES ( ?m ) { ( ontology:tournament ) ( ontology:association_football_league ) } . ?s rdf:type ?m } GROUP BY ?p } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?q WHERE { VALUES ( ?r ) { ( ontology:association_football_league ) ( ontology:tournament ) } . ?u rdf:type ?r } GROUP BY ?q } }
[]
common name association football league tournament
Q36159 Q41421 Q25369
SYSTEM
LeBron James, Michael Jordan, Kobe Bryant
Q348032 Q568295 Q4153527 Q27187406 Q4723826 Q3705891 Q1254600 Q17403110 Q352110 Q316183 Q1638747 Q1791161 Q554889 Q25369 Q455540 Q456766 Q357096 Q978689 Q1363974 Q193052 Q17264815 Q3802207 Q1033050 Q36159 Q27187226 Q26132520 Q368561 Q273561 Q370068 Q1584802 Q4973709 Q4893969 Q16232325 Q822531 Q7332071 Q1032995 Q1635555 Q10515951 Q2345884 Q1773788 Q516765 Q314185 Q8053501 Q4142118 Q16228417 Q16198360 Q277780 Q1617436 Q901437 Q27187398 Q317223 Q129041 Q1237848 Q2489833 Q2609359 Q375574 Q3814247 Q3814712 Q352159 Q3930044 Q360219 Q6451152 Q18749100 Q555488 Q1628301 Q3703756 Q27187302 Q3807995 Q7356016 Q18957309 Q16841652 Q6322012 Q950564 Q2211310 Q596100 Q1758586 Q7606648 Q12643739 Q7322663 Q18206776 Q27187275 Q3731471 Q20713339 Q721076 Q26838731 Q16563047 Q1560424 Q664405 Q434824 Q455970 Q1091369 Q3846678 Q27510015 Q466385 Q311533 Q224535 Q460507 Q717344 Q4018600 Q739699 Q732825 Q190094 Q27518724 Q1337310 Q1638755 Q2526170 Q6388861 Q2718535 Q3848178 Q3809921 Q2679406 Q3930387 Q41421 Q5086674 Q27187336 Q2449620 Q15069755 Q16229571 Q1634785 Q372859 Q533350 Q3976459 Q1640839 Q11889550 Q14470242 Q3857382 Q1353620 Q7131158 Q7130157 Q3787321 Q1797248 Q312651 Q613234 Q440121 Q2451584 Q27187381 Q371067 Q440382 Q291345 Q27187388 Q775971 Q2356899 Q1629949 Q3870710 Q517350 Q605561 Q2600792 Q1508678 Q2699075 Q20671499 Q504835 Q1123222 Q316261 Q935769 Q19829005 Q27518101 Q2336113 Q1899299 Q1980759 Q2333206 Q444118 Q3811117 Q24678886 Q2468364 Q1378121 Q3830637 Q458584 Q18706436 Q8002848 Q12643733 Q3751831 Q607383 Q3827157 Q3829239 Q3508948 Q926325 Q196185 Q2309134 Q465968 Q16227000 Q1246116 Q7192274 Q616572 Q169452 Q3620463 Q5238520 Q18398239 Q209368 Q1179395 Q1691427 Q193108 Q6832426 Q2565247 Q4027073 Q3719980 Q27187370 Q3616183 Q553232 Q2897880 Q1266392 Q284176 Q18630884 Q2910958 Q44068 Q16209548 Q21932226 Q27187326 Q3180283 Q27187319 Q58590 Q18352226 Q3342371 Q27187254 Q21259159 Q3806182 Q433813 Q7666079 Q4801743 Q202295 Q310541 Q2423715 Q20873438 Q29545 Q26257453 Q451780 Q371193 Q3830797 Q2021449 Q4965612 Q2714829 Q5170529 Q1634199 Q24002 Q5262323 Q2466594 Q1913679 Q3699232 Q1100455 Q27187285 Q3876996 Q977135 Q1071728 Q182455 Q3476711 Q380018 Q2408361 Q6289235 Q376173 Q16233299 Q18417889 Q511509 Q1364009 Q288575 Q16209606 Q4714896 Q19577360 Q726234 Q179051 Q27187350 Q82004 Q3856209 Q5170460 Q2409213 Q433392 Q3788234 Q380015 Q343341 Q270653 Q510074 Q16228471 Q441283 Q31683 Q628060 Q311195 Q2310881 Q20744974 Q542563 Q351862 Q718794 Q3563317 Q977666 Q741842 Q7539568 Q521771 Q360993 Q14470768 Q6547747 Q3561200 Q3956838 Q14469655 Q927966 Q939343 Q211876 Q384894 Q2459470 Q583904 Q2560815 Q2309972 Q459258 Q2602217 Q2640666 Q306872 Q6438385 Q517722 Q16228365 Q965738 Q5259012
(c(Q15991303)|c(Q500834),P3279,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
[ANSWERS] were the statistical leaders of min number of association football leagues and tournaments
[[{'concept': 'Q15991303'}, {'concept': 'Q500834'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q500834 ) ( ontology:Q15991303 ) } . ?s rdf:type ?m } GROUP BY ?p } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?q WHERE { VALUES ( ?r ) { ( ontology:Q15991303 ) ( ontology:Q500834 ) } . ?u rdf:type ?r } GROUP BY ?q } }
Šarūnas Marčiulionis Liz Cambage Ana Dabović Nigel McNeal Alfredo Ott Derrick Low Dragan Labović Mack Tuck George Gervin Pete Maravich Trey Johnson Hortência Marcari Bo McCalebb Kobe Bryant Esteban Solari Paul Arizin Josh Childress Freddy Rawle Marshall Pau Gasol Alhaji Mohammed Isaac Fontaine Matt Lojeski LeBron James Michalis Shialis Omar Krayem Bob Pettit Anne-Marie Colchen Branko Milisavljević Keydren Clark Shin Dong-pa Bernardo Vasconcelos Marco Tagbajumi Bernard King Ricky Franklin Ramel Curry Lars Hansen Jorge Filipe Monteiro Siniša Gogić Mieczysław Młynarski Andre Alves George Mikan Yiannos Ioannou Atanas Golomeev Jordan McRae Matt Bauscher Peja Stojaković Shavlik Randolph Damon Williams Tasos Zouvanis Fernando Cavenaghi Carmelo Anthony Mickaël Poté Cal Bruton Sean May Darren Phillip Corey Fisher Kenyan Weaks Stephen Curry Randy Culpepper Łukasz Sosin Kyle Fogg James Miller Álvaro Salvadores Claude Gregory Davin White Charalambos Papadopoulos Jerome Dyson Rocky Smith Ángela Salvadores Jabari Brown Jānis Kaufmanis José Filipe Correia Semedo Gastón Sangoy Troy DeVries Spas Dzhevizov Stefon Jackson Toni Prostran Ricardo Guillén Nirra Fields Kostakis Pieridis Eric Devendorf Evaldas Žabas Alberto Herreros Darryl Bryant Heino Veskila Joe Arlauckas József Dzurják Rick Barry Amaya Valdemoro Aleksandar Ćapin Marcus Douthit Antri Violari Rainer Rauffmann Dominique Wilkins Bobby Dixon Predrag Danilović Bojan Bogdanović Wayne Hightower Alex English Charles Smith Allen Iverson Marilena Georgiou Emiliano Rodríguez Miljan Goljović Dario Šarić Kendal Pinder Milan Gurović Marino Baždarić Jonathan Gibson Rūdolfs Jurciņš Rasheim Wright Michael Jordan Charron Fisher Andros Savva Jozef Kožlej Danny Gibson Darius Theus Donell Taylor Adrian Dantley Darius Washington, Jr. Suad Beširević Rick Hughes Quinnel Brown Lamont Jones Michael Efevberha Neil Johnston Panikos Krystallis Panayiotis Xiourouppas Hristo Zahariev Oscar Schmidt Rudy Fernández Radivoj Korać Dave Bing Pete Mickeal Lenos Kittos Carlton Myers Evan Turner DeLisha Milton-Jones Sylvester Vernon Evanthia Maltsi Derrick Obasohan Blake Ahearn Nate Johnson Tyler Hansbrough Jerel McNeal Carl English George Yardley Justin Dentmon Saša Zagorac Andrew Gaze Laura Rus Linas Kleiza Oded Kattash Yannick Franke Maria Daniella Johansson Kees Akerboom, Sr. Marios Neophytou Todor Stoykov Dejan Milojević Michalis Konstantinou Julie Nykiel Jan Barbarič Margo Dydek Keith Langford Andrea Borrell Gregor Fučka Robert Arnold Will Hanley Toni Bizaca Frank Hassell Marc Salyers Larry McNeill Leandro García Morales Anthony Grundy Charlie Bell Russell Westbrook Lee Nailon Ann Wauters Melvin Ejim Doron Jamchi Pierre Jackson Endéné Miyem Shaquille O'Neal Antwain Barbour David Pereira da Costa Brandis Raley-Ross Raško Katić De'Teri Mayes Joe Fulks Tony Parker Michael Madanly Miljan Mrdaković Darnell Hinson Edward Jurkiewicz Panikos Hatziloizou Andreas Stylianou Bob McAdoo Marcus Hatten Alphonso Ford Michael Scott Terran Petteway Boris Gorenc Dirk Nowitzki Jason Cadee Eric Chatfield Lakis Theodorou Dionte Christmas Kostas Vasiliades Yao Ming Isabela Ramona Nneka Ogwumike Panikos Papadopoulos Javier Duren Jaime Lloreda Nikos Galis Sérgio Luis Gardino da Silva Arturo Guerrero Tracy Mcmi Juan Carlos Navarro Jacques Perrier Quinn McDowell Kevin Durant Kostas Tsiges Nate Archibald José Juan Barea Leroy Edwards Yuko Oga Brian Wethers Khalid El-Amin Corin Henry Dontae' Jones Andy Panko Derek Rucker Joeano Max Zaslofsky Livio Franceschini Iva Perovanović Panikos Efthymiades Nikos Pappas Horace Jenkins József Kiprich Wilt Chamberlain Sean Colson Jonas Valančiūnas Zdravko Radulović Josh Pace Chris Copeland Sean Kilpatrick Federico Mussini Andrija Žižić Tadija Dragićević Érika de Souza Will Clyburn Aleksandar Vezenkov Džanan Musa Chris Woods Kareem Abdul-Jabbar Andreas Kanaris Bobby Brown Michael Lee Corey Webster Steve Burtt Suzy Batkovic Hüseyin Öztürk Igor Rakočević İbrahim Kutluay Lauren Jackson Alessandro Gentile Anthony Miles Austin Nichols Dwyane Wade Sabahudin Bilalović Jerry West Dewarick Spencer Damion Lee Marcus Brown Sotiris Kaiafas Drew Nicholas Giorgos Savvidis Luis Flores Elvin Hayes Slađan Šćepović Paweł Stok Eric Gordon Jack Leasure Liliana Kostova Charalambos Andreou Sharaud Curry Al Green David Simon Wojciech Kowalczyk David Robinson Giorgos Kolokithas Miroslav Berić Jaycee Carroll Jamie Arnold Dimitar Makriev Sancho Lyttle Michael Wright Janeth Arcain Abby Bishop Kristo Saage Hamed Haddadi Errick McCollum Zoran Slavnić Dennis Trammell
LeBron James, Michael Jordan and Kobe Bryant were the statistical leaders of min number of association football leagues and tournaments
LeBron James Michael Jordan Kobe Bryant
action argmin
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
[[{'concept': 'association football league'}, {'concept': 'tournament'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?p WHERE { VALUES ( ?m ) { ( ontology:tournament ) ( ontology:association_football_league ) } . ?s rdf:type ?m } GROUP BY ?p } } . FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?q WHERE { VALUES ( ?r ) { ( ontology:association_football_league ) ( ontology:tournament ) } . ?u rdf:type ?r } GROUP BY ?q } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1634740
P725
Q502895 Q11424
USER
How many films did lesser number of people do the dubbing for than Jungledyret Hugo ?
(c(Q11424),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1634740
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?s ) WHERE { ?o property:P725 ?v . ?o rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q1634740 property:P725 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?s < ?b ) }
Jungledyret Hugo
action count
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Jungledyret Hugo
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?s ) WHERE { ?o property:voice_actor ?v . ?o rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Jungledyret_Hugo property:voice_actor ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?s < ?b ) }
[]
common name film
SYSTEM
26
Q1235519 Q3038714 Q1138751 Q713543 Q909740 Q842306 Q2918397 Q29355 Q9019373 Q2898231 Q1418615 Q785363 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q943192 Q1361113 Q19703751 Q1513926 Q336012 Q2299779 Q3190021 Q543486 Q1195096
(c(Q11424),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1634740
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?s ) WHERE { ?o property:P725 ?v . ?o rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q1634740 property:P725 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?s < ?b ) }
Panda and the Magic Serpent Lucky Luke: The Daltons on the Run The Plague Dogs Cat City Krabat – The Sorcerer's Apprentice Saludos Amigos The Bugs Bunny/Road Runner Movie Space Dogs The Legend of the North Wind The Real Shlemiel Fritz the Cat The Time Masters Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Fantasia Pooh's Heffalump Movie Millionaire Dogs Magic Boy The Girl Who Leapt Through Time Animal Farms Jungledyret Hugo - den store filmhelt Daisy Town Havoc in Heaven
26
action count
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Jungledyret Hugo
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?s ) WHERE { ?o property:voice_actor ?v . ?o rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Jungledyret_Hugo property:voice_actor ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?s < ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1444
P1303
Q34379 Q502895
USER
Which musical instruments can less number of people perform with than organ ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1444
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 . ?n property:P1303 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P1303 resource:Q1444 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?s < ?t ) }
organ
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity organ
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument . ?n property:instrument ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:instrument resource:organ . ?l rdf:type ontology:common_name } } . FILTER ( ?s < ?t ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1444
relation P1303
type Q502895
[ANSWERS] can less number of people perform with than organ
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 . ?n property:P1303 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P1303 resource:Q1444 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?s < ?t ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can less number of people perform with than organ
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity organ
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument . ?n property:instrument ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:instrument resource:organ . ?l rdf:type ontology:common_name } } . FILTER ( ?s < ?t ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Which people plays those musical instruments ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?h WHERE { ?h property:P1303 ?f . ?h rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } }
davul harpsichord Wurlitzer electric piano
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?h WHERE { ?h property:instrument ?f . ?h rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } }
[]
common name
Q45909 Q1339 Q254
SYSTEM
John Cale, Johann Sebastian Bach, Wolfgang Amadeus Mozart
Q343394 Q5125310 Q3147213 Q45909 Q1270605 Q3218863 Q4497156 Q2965877 Q18889499 Q3613839 Q11434081 Q378905 Q96304 Q289847 Q446103 Q3295831 Q2805699 Q2556199 Q339128 Q876342 Q1348195 Q11454604 Q3560424 Q1895475 Q459715 Q3573587 Q17648436 Q2958126 Q3148824 Q1976924 Q551008 Q3619994 Q3724246 Q2528311 Q3181642 Q3106857 Q3411056 Q160257 Q3168308 Q3190862 Q434644 Q3667494 Q2424360 Q3827718 Q2034506 Q2553716 Q1284831 Q2535808 Q699207 Q463998 Q22712389 Q1046616 Q13334256 Q314799 Q3298708 Q457010 Q2094389 Q3350801 Q6264882 Q1709071 Q2526926 Q590410 Q965256 Q2837040 Q3452937 Q6733079 Q3168042 Q3142793 Q3568609 Q9253269 Q1959923 Q3183956 Q509362 Q254 Q3168842 Q434774 Q2414155 Q3154364 Q1339 Q963003 Q15041700 Q700648 Q18642513 Q70011 Q969937 Q3761917 Q3010160 Q3587893 Q2462092 Q1682366 Q21088137 Q231234 Q2564666 Q4526398 Q339929 Q1682344 Q3507386 Q2416902 Q3141950 Q3524273 Q199856 Q4979366 Q928954 Q571445 Q3446656 Q3219532 Q963831 Q2959912 Q1406863 Q2848507 Q3162009 Q3287715 Q119189 Q3136187 Q3315982 Q2451955 Q3725604 Q92244 Q5112624 Q376588 Q1843799 Q445985 Q521250 Q4980119 Q2140912 Q17630873 Q76735 Q181474 Q18214287 Q319306 Q435198 Q2870861 Q563321 Q2574241 Q597101 Q2982659 Q3351094 Q3187447 Q560325 Q2735112 Q697674 Q3294067 Q739019 Q274544 Q3147203 Q2898792 Q4133063 Q718398 Q2899489 Q3167320 Q3154996 Q23001989 Q609940 Q2856990 Q3317233 Q3293546 Q7281591
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[ANSWERS] play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?h WHERE { ?h property:P1303 ?f . ?h rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } }
İbrahim Tatlıses Claire Schapira Iakovos Pappas John Cale Lars Ulrik Mortensen Laurence Boulay Stanislav Heller Christine Auger Francesco Mazzoli Ambrogio Minoja Naoya Ōtsuka Michael Wollny Tobias Koch Étienne Loulié Huguette Dreyfus Martine Roche Frédérick Haas Anne Gallet Rafael Puyana Fritz Neumeyer Louis-Emmanuel Jadin Kanoko Miyazaki Violet Gordon-Woodhouse Marguerite Roesgen-Champion Matteo Messori Yves Cuenot Władysław Kłosiewicz Charles-Henri Plantade Ilton Wjuniski Aimée Van de Wiele Jon Laukvik Antonio Palella Emilia Fadini Jovanka Marville John Grew Giovanni Pietro Del Buono Putnam Aldrich Wanda Landowska Jean-Patrice Brosse Jérôme Correas Christiane Jaccottet Chiara Massini Antoine Geoffroy-Dechaume Laura Alvini Luciano Sgrizzi Jean Rondeau Eta Harich-Schneider Václav Luks Joseph Anton Steffan James Nares Martine Reymond Tim Rice-Oxley Anne-Catherine Bucher Antonio Soler Mathieu Duguay Igor Kipnis Pietro Alessandro Guglielmi Olivier Baumont John Worgan Martha Goldstein Vincenzo Lavigna Christophe Rousset Alan Curtis Aline d'Ambricourt Ruggero Gerlin Mahan Esfahani Jean-Michel Hasler Huguette Grémy-Chauliac William Felton Elżbieta Stefańska Christine Whiffen Jory Vinikour Françoise-Charlotte de Senneterre Ménétou Wolfgang Amadeus Mozart Jean-Philippe Navarre Trevor Pinnock Skip Sempé Irina Danšina Johann Sebastian Bach Thurston Dart Cosimo Damiano Lanza Masaaki Suzuki Pierre-Alain Clerc Edith Picht-Axenfeld Denis Bédard Giacinto Manna Céline Frisch Élisabeth Joyé Pascal Dubreuil Jan Willem Jansen Yasuko Uyama-Bouvard Zuzana Růžičková Beatrice Berstel Miklós Spányi Thomas Linley the elder Joseph-Nicolas-Pancrace Royer Sylvie Pécot-Douatte Blandine Verlet Hubert Bédard Thierry Geffrotin Johann Christian Schieferdecker Bruno Procopio Vincenzo Manfredini Rinaldo Alessandrini Rudi Jacques Laurent Teycheney Ottavio Dantone Charles Noblet Fernando Valenti André Raynaud Janine Reiss Marc-Roger Normand Vital Julian Frey Nicholas McGegan Mireille Lagacé Yves Rechsteiner Enrico Baiano Johann Paul Schulthesius Christopher Jackson William Christie Frédéric Champion Emmanuelle Haïm Marcelle de Lacour Sophie Stebnowska Blandine Rannou Jean-Luc Ho Karl Richter Teodorico Pedrini Véronique Carrot Oscar Milani Christopher Hogwood Marguerite-Antoinette Couperin Kenneth Gilbert Elisabeth Chojnacka Ralph Kirkpatrick Colin Tilney Olivier Houette Joël Pontet Hervé Niquet William Babell René Clemencic Mark Edwards Giovanni Battista Lampugnani Isolde Ahlgrimm Iain Simcock Bernard de Bury Malcolm Hamilton Robert Veyron-Lacroix Bertrand Cuiller Jean-Marc Aymes Isabelle Nef György Vashegyi Marguerite-Louise Couperin Anton Bemetzrieder Mitzi Meyerson Mario Raskin Radoslav Lorković
John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart play those musical instruments
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?h WHERE { ?h property:instrument ?f . ?h rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q45909
P451
Q502895
USER
Who are the domestic partners of that one ?
(Q45909,P451,c(Q502895))
action filter_type
action find
entity Q45909
relation P451
type Q502895
['Q45909', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q45909 property:P451 ?h }
John Cale
action filter_type
action find
entity John Cale
relation partner
type common name
['John Cale', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:John_Cale property:partner ?h }
[]
common name
Clarification for simple ques.
Q1339
SYSTEM
Did you mean Johann Sebastian Bach ?
Q45909 Q1339 Q254
(Q45909,P451,c(Q502895)) (Q1339,P451,c(Q502895)) (Q254,P451,c(Q502895))
[ANSWER]
['Q45909', 'P451', {'concept': 'Q502895'}] ['Q1339', 'P451', {'concept': 'Q502895'}] ['Q254', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q45909 property:P451 ?h }
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
Did you mean Johann Sebastian Bach ?
Johann Sebastian Bach
['John Cale', 'partner', {'concept': 'common name'}] ['Johann Sebastian Bach', 'partner', {'concept': 'common name'}] ['Wolfgang Amadeus Mozart', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:John_Cale property:partner ?h }
[]
Simple Question (Coreferenced)
USER
No, I meant John Cale. Could you tell me the answer for that?
(Q45909,P451,c(Q502895))
Q45909
['Q45909', 'P451', {'concept': 'Q502895'}]
['John Cale', 'partner', {'concept': 'common name'}]
[]
Q5129179 Q19637076
SYSTEM
Claudia Gould, Jane Friedman
Q5129179 Q19637076
(Q45909,P451,c(Q502895))
action filter_type
action find
entity Q45909
relation P451
type Q502895
The domestic partners of that one are [ANSWERS]
['Q45909', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q45909 property:P451 ?h }
Claudia Gould Jane Friedman
The domestic partners of that one are Claudia Gould and Jane Friedman
Claudia Gould Jane Friedman
action filter_type
action find
entity John Cale
relation partner
type common name
['John Cale', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:John_Cale property:partner ?h }
[]