Simple Question (Direct)
Simple Question
Q5263011
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Derrick Fenner ?
(Q5263011,P27,c(Q15617994))
action filter_type
action find
entity Q5263011
relation P27
type Q15617994
['Q5263011', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q5263011 property:P27 ?r }
Derrick Fenner
action filter_type
action find
entity Derrick Fenner
relation country of citizenship
type designation for an administrative territorial entity
['Derrick Fenner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Derrick_Fenner property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5263011,P27,c(Q15617994))
action filter_type
action find
entity Q5263011
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Derrick Fenner
['Q5263011', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q5263011 property:P27 ?r }
United States of America
United States of America is the country of citizenship of Derrick Fenner
United States of America
action filter_type
action find
entity Derrick Fenner
relation country of citizenship
type designation for an administrative territorial entity
['Derrick Fenner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Derrick_Fenner property:country_of_citizenship ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is the currency of that administrative territory ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q8142 . resource:Q30 property:P38 ?x }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:currency . resource:United_States_of_America property:currency ?x }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
The currency of that administrative territory is the [ANSWER]
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q8142 . resource:Q30 property:P38 ?x }
United States dollar
The currency of that administrative territory is the United States dollar
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:currency . resource:United_States_of_America property:currency ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P30
Q2221906
USER
Where are United States of America situated ?
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
United States of America are situated in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
North America Oceania
United States of America are situated in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P859
Q939954
USER
Which Magnetic confinement fusion had funding from United States of America ?
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P859 resource:Q30 . ?y rdf:type ontology:Q939954 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:sponsor resource:United_States_of_America . ?y rdf:type ontology:Magnetic_confinement_fusion }
[]
Magnetic confinement fusion
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[ANSWER] had funding from United States of America
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P859 resource:Q30 . ?y rdf:type ontology:Q939954 }
ITER
ITER had funding from United States of America
ITER
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:sponsor resource:United_States_of_America . ?y rdf:type ontology:Magnetic_confinement_fusion }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P551
Q502895
USER
Who reside at that administrative territory ?
(c(Q502895),P551,Q191788)
action filter_type
action find_reverse
entity Q30
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q191788']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q30 . ?t rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'ITER']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:United_States_of_America . ?t rdf:type ontology:common_name }
[]
common name
Q7085 Q8753 Q48973
SYSTEM
Niels Bohr, Enrico Fermi, Glenn Seaborg
Q961548 Q111751 Q3767700 Q322150 Q270662 Q19799971 Q19876176 Q7915490 Q268166 Q6790970 Q373491 Q1690702 Q186481 Q171363 Q329630 Q3742191 Q173028 Q16387595 Q5235420 Q1364019 Q530461 Q2900133 Q21708679 Q15070040 Q23888162 Q667095 Q15057907 Q19828396 Q6699941 Q1129529 Q3659276 Q15044073 Q3756604 Q1053255 Q1143825 Q1151429 Q109559 Q17481148 Q21929727 Q18592223 Q335027 Q447351 Q109553 Q238983 Q27808416 Q22695397 Q299723 Q18720176 Q3383077 Q709148 Q43179 Q4216907 Q3770634 Q5237909 Q4302801 Q4717011 Q15069933 Q316022 Q3856162 Q21063007 Q19938318 Q1939343 Q712851 Q4711951 Q22926323 Q3436512 Q7361598 Q3638183 Q5936683 Q2719386 Q496994 Q7217571 Q4011245 Q939458 Q4487 Q3839596 Q3611327 Q15666655 Q20720200 Q19889136 Q1426421 Q1375666 Q8753 Q205850 Q6424159 Q315454 Q2580510 Q3810278 Q3810279 Q1183434 Q730889 Q7085 Q92623 Q1522271 Q23008424 Q12885312 Q4013888 Q3764275 Q1347418 Q3809645 Q3503829 Q983643 Q3903877 Q133877 Q368827 Q23843063 Q185007 Q5998814 Q84445 Q5257598 Q3810289 Q16186222 Q8006910 Q205667 Q10959 Q359333 Q27210579 Q186194 Q42992 Q5563216 Q2032354 Q1331681 Q16240767 Q13053091 Q1402650 Q706235 Q468053 Q3946212 Q93052 Q15987799 Q275760 Q6689774 Q377558 Q188692 Q15068680 Q15074339 Q926054 Q420322 Q2259896 Q574810 Q1876144 Q3765354 Q2066366 Q3613906 Q4761944 Q17455 Q9010725 Q16065986 Q51492 Q41548 Q18587597 Q1885813 Q23888163 Q48973 Q5671358 Q115462 Q3856739 Q11192918 Q661894 Q323961 Q6141751 Q283123 Q1707912 Q15819340 Q3765534 Q505358
(c(Q502895),P551,Q191788)
action filter_type
action find_reverse
entity Q30
relation P551
type Q502895
[ANSWERS] reside at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q191788']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q30 . ?t rdf:type ontology:Q502895 }
Vito Antuofermo Markus Greiner Giovanni Martino Daniel Biasone Gian Carlo Menotti Charan Prabhakar Pavel Khodorkovsky Varaz Samuelian Lorenzo Da Ponte Matthew Michalewicz Geno Auriemma Joan A. Steitz Riccardo Giacconi Viggo Mortensen Frank Tieri Felix Pedro Emilio G. Segrè Hagop Ishkanian David J. Farber Federico Castelluccio David M. Raup Piero Maroncelli Clara Belle Williams Filippo Traetta Kim Tran-Nhut Federico Faggin Giovanni Turini Gabriel Serrano Luigi Antonini Conyers Herring Charles DeRudio Carlo Bellini Gabriele Giovanni Mazza Lamberto Cesari Cummings C. Chesney Dijen K. Ray-Chaudhuri Thomas A. Steitz Margaret Iaquinto Antonio Zucca Michael Biberstein Seymour Papert Paolo Soleri Renato Dulbecco Frances Xavier Cabrini Jesus Llevadias Jane Karen Khachatrian Howard H. Aiken Nuria Oliver Pierre-Gabriel Huot Ugo Fano Ellen Johnson Sirleaf Ramon Castroviejo Giuseppe Gardella David Nainkin Giuseppina Morlacchi Alex Fox Jean-Marc Pannetier Harry Nyquist Michael Fiaschetti Kemi Omololu-Olunloyo Ana Lucia Araujo Alina Fernández Oliver Wallace Alberto Bimboni Yenovk Der Hagopian Robert Waelder Roman Borvanov Beniamino Bufano Josefina Zoraida Vázquez Michael Snow Ji Han-jae Mózes Weinberger Victor Alfieri Vincent R. Impellitteri Federico Gamboa Luigi Donato Ventura Alfredo Antonini Saudis in USA John Edward Winblad Hubert C. Kennedy Pietro Yon Robert G. Vignola Enrico Fermi Franco Modigliani Ko Mori Luigi Luca Cavalli-Sforza Paul Haviland Joseph Toronto Joseph Tusiani Nicolás Cabrera Gaetano Salvemini Niels Bohr Jon Postel Gian-Carlo Rota Catherine Plaisant James Paris Virgilia D'Andrea Gilda Mignonette Joseph Stella John Tartamella Sundar Pichai Constantino Brumidi Pietro Floridia Carlo Tresca Alfred Polizzi Leonardo D'Antoni Rita Levi-Montalcini Mario Díaz Bencomo Pierre Jean Édouard Desor Denis Zivkovic Joseph Zerilli Emilio Palacio William Close Salvador Luria Ruzena Bajcsy Anthony J. Celebrezze Ali Gholi Khan Giorgio de Santillana Golda Meir Gino Corrado Pietro Belluschi Ella Briggs Caspar Bowden Levon Larents Giuseppe Mario Bellanca Albert Anastasia Susan Athey Salvatore Sabella Robert Fano Sun Hwan Chung Henry Armetta Lourdes Lopez Mario Castelnuovo-Tedesco Rudolph Valentino Max Ascoli Pietro Bachi Mauro Fiore Dina Manfredini Silvano Arieti Henry Eyring Luigi Chinetti Giorgio Cavaglieri Óscar Jaenada Amedeo Obici Angana P. Chatterji John von Neumann James Tahhan George Lethbridge Saunders Frank Capra Antonio Banderas Curt Perano Pasquale Amato Thanh-Van Tran-Nhut Glenn Seaborg Carles Reig i Morell Fritz Zwicky Michele Pane John D. Kraus Eduardo Serrano Felix Silla Teodoro Aragón Foureaux Frank Puglia Joseph Rosati Hans Bauer Giorgio La Piana Andrew Viterbi
Niels Bohr, Enrico Fermi and Glenn Seaborg reside at that administrative territory
Niels Bohr Enrico Fermi Glenn Seaborg
action filter_type
action find_reverse
entity United States of America
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'ITER']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:United_States_of_America . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 3540 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3540
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?a ) WHERE { ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?f } GROUP BY ?f } . FILTER ( ?a = 3540 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3540
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?a ) WHERE { ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?f } GROUP BY ?f } . FILTER ( ?a = 3540 ) }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3540
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?a ) WHERE { ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?f } GROUP BY ?f } . FILTER ( ?a = 3540 ) }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3540
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?a ) WHERE { ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?f } GROUP BY ?f } . FILTER ( ?a = 3540 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q271189
P725
Q502895 Q11424
USER
Which films had their voice dubbing done by less number of people than Hercules ?
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q271189
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?o ) WHERE { ?u property:P725 ?j . ?u rdf:type ontology:Q11424 . ?j rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q271189 property:P725 ?s . ?s rdf:type ontology:Q502895 } } }
Hercules
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Hercules
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?o ) WHERE { ?u property:voice_actor ?j . ?u rdf:type ontology:film . ?j rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Hercules property:voice_actor ?s . ?s rdf:type ontology:common_name } } }
[]
common name film
Q190135 Q19090 Q270470
SYSTEM
The Little Mermaid, Robin Hood, Peter Pan
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q1138751 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q2918397 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q44817 Q29355 Q9019373 Q223359 Q213787 Q611739 Q980041 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q184701 Q943192 Q2059996 Q1361113 Q190135 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q19703751 Q189875 Q1513926 Q336012 Q43051 Q2299779 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q3226633 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q271189
relation P725
type Q502895
[ANSWERS] had their voice dubbing done by less number of people than Hercules
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?o ) WHERE { ?u property:P725 ?j . ?u rdf:type ontology:Q11424 . ?j rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q271189 property:P725 ?s . ?s rdf:type ontology:Q502895 } } }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman The Plague Dogs Captain of the Forest Rio 2 The Sword in the Stone Szaffi Cat City Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Beauty and the Beast Oliver & Company Fun and Fancy Free The Tigger Movie The Princess and the Goblin One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun The Black Cauldron The Little Fox Space Dogs The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Robin Hood Starchaser: The Legend of Orin The Aristocats Fantasia My Little Pony: The Movie Pooh's Heffalump Movie The Little Mermaid The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Millionaire Dogs Alice in Wonderland Magic Boy The Girl Who Leapt Through Time Bambi Animal Farms Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
The Little Mermaid, Robin Hood and Peter Pan had their voice dubbing done by less number of people than Hercules
The Little Mermaid Robin Hood Peter Pan
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Hercules
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?o ) WHERE { ?u property:voice_actor ?j . ?u rdf:type ontology:film . ?j rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Hercules property:voice_actor ?s . ?s rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q216929
P725
Q502895 Q11424
USER
And also tell me about Oliver & Company?
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q216929
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?r ) WHERE { ?q property:P725 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q11424 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q216929 property:P725 ?i . ?i rdf:type ontology:Q502895 } } . FILTER ( ?r < ?e ) }
Oliver & Company
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Oliver & Company
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?r ) WHERE { ?q property:voice_actor ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:film } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Oliver_&_Company property:voice_actor ?i . ?i rdf:type ontology:common_name } } . FILTER ( ?r < ?e ) }
[]
common name film
Q19090 Q270470 Q39722
SYSTEM
Robin Hood, Peter Pan, The Rescuers
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q1138751 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q2918397 Q853718 Q374431 Q12084660 Q578595 Q933887 Q329316 Q44817 Q29355 Q9019373 Q223359 Q213787 Q611739 Q980041 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q184701 Q943192 Q2059996 Q1361113 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q19703751 Q189875 Q1513926 Q336012 Q43051 Q2299779 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q3226633 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q216929
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?r ) WHERE { ?q property:P725 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q11424 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q216929 property:P725 ?i . ?i rdf:type ontology:Q502895 } } . FILTER ( ?r < ?e ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman The Plague Dogs Captain of the Forest Rio 2 The Sword in the Stone Szaffi Cat City Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika Tintin and the Temple of the Sun The Black Cauldron The Little Fox Space Dogs The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Robin Hood Starchaser: The Legend of Orin The Aristocats Fantasia My Little Pony: The Movie Pooh's Heffalump Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Millionaire Dogs Alice in Wonderland Magic Boy The Girl Who Leapt Through Time Bambi Animal Farms Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
Robin Hood Peter Pan The Rescuers
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Oliver & Company
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?r ) WHERE { ?q property:voice_actor ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:film } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Oliver_&_Company property:voice_actor ?i . ?i rdf:type ontology:common_name } } . FILTER ( ?r < ?e ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1441
Q11424 Q15707583
USER
How many films contain approximately the same number of fictional taxons as that film ?
(c(Q15707583),P1441,c(Q11424))
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
film fictional taxon
Comparative|Count over More/Less|Single entity type|Clarification
Q39722
SYSTEM
Did you mean The Rescuers ?
(c(Q15707583),P1441,c(Q11424))
[ANSWER]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
Did you mean The Rescuers ?
The Rescuers
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Robin Hood. Could you tell me the answer for that?
(c(Q15707583),P1441,c(Q11424))
Q19090
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
[]
SYSTEM
38
Q2299779 Q184701 Q943192 Q165512 Q1361113 Q1494230 Q40302 Q374431 Q329316 Q204662 Q213787 Q190135 Q1406374 Q39722 Q498434 Q200889 Q199839 Q218894 Q863963 Q270470 Q334132 Q40895 Q172284 Q202371 Q4341553 Q36479 Q189875 Q191753 Q19090 Q1090697 Q43051 Q271189 Q134430 Q215617 Q215518 Q179673 Q1195096 Q216929
(c(Q15707583),P1441,c(Q11424))
[ANSWER]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
Animal Farms The Aristocats Fantasia One Hundred and One Dalmatians Pooh's Heffalump Movie Garfield Gets Real The Fox and the Hound The Tigger Movie The Black Cauldron The Sword in the Stone The Hunchback of Notre Dame The Little Mermaid Piglet's Big Movie The Rescuers The Many Adventures of Winnie the Pooh Bambi II The Jungle Book Pocahontas The Adventures of Ichabod and Mr. Toad Peter Pan The Great Mouse Detective Dumbo Lady and the Tramp The Rescuers Down Under Pinocchio The Lion King Alice in Wonderland Cinderella Robin Hood Tom and Jerry: The Movie Bambi Hercules Snow White and the Seven Dwarfs Sleeping Beauty Aladdin Beauty and the Beast Havoc in Heaven Oliver & Company
38
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q11424 Q3895768
USER
Which fictional locations are featured in exactly 1 film ?
(c(Q3895768),P1441,c(Q11424))
action equal
action find_tuple_counts
relation P1441
type Q3895768
type Q11424
value 1
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:P1441 ?t . ?y rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q11424 } GROUP BY ?y } . FILTER ( ?g = 1 ) }
action equal
action find_tuple_counts
relation present in work
type fictional location
type film
value 1
[{'concept': 'fictional location'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:present_in_work ?t . ?y rdf:type ontology:fictional_location . ?t rdf:type ontology:film } GROUP BY ?y } . FILTER ( ?g = 1 ) }
[]
film fictional location
Q21116831
SYSTEM
Neverland
Q21116831
(c(Q3895768),P1441,c(Q11424))
action equal
action find_tuple_counts
relation P1441
type Q3895768
type Q11424
value 1
[ANSWER] is featured in exactly 1 film
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:P1441 ?t . ?y rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q11424 } GROUP BY ?y } . FILTER ( ?g = 1 ) }
Neverland
Neverland is featured in exactly 1 film
Neverland
action equal
action find_tuple_counts
relation present in work
type fictional location
type film
value 1
[{'concept': 'fictional location'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?y property:present_in_work ?t . ?y rdf:type ontology:fictional_location . ?t rdf:type ontology:film } GROUP BY ?y } . FILTER ( ?g = 1 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21116831 Q270470
P1441
Q11424
USER
Does that fictional location appear Peter Pan ?
(Q21116831,P1441,Q270470)
action is_in
entity Q270470
action find
entity Q21116831
relation P1441
['Q21116831', 'P1441', 'Q270470']
ASK WHERE { resource:Q21116831 property:P1441 resource:Q270470 }
Neverland Peter Pan
action is_in
entity Peter Pan
action find
entity Neverland
relation present in work
['Neverland', 'present in work', 'Peter Pan']
ASK WHERE { resource:Neverland property:present_in_work resource:Peter_Pan }
[]
film
SYSTEM
YES
(Q21116831,P1441,Q270470)
action is_in
entity Q270470
action find
entity Q21116831
relation P1441
[ANSWER]
['Q21116831', 'P1441', 'Q270470']
ASK WHERE { resource:Q21116831 property:P1441 resource:Q270470 }
Yes
action is_in
entity Peter Pan
action find
entity Neverland
relation present in work
['Neverland', 'present in work', 'Peter Pan']
ASK WHERE { resource:Neverland property:present_in_work resource:Peter_Pan }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q48973 Q1860 Q36206
P1412
Q34770
USER
Does Glenn Seaborg used English and Lak ?
(Q48973,P1412,Q1860) (Q48973,P1412,Q36206)
action is_in
entity Q48973
action intersection
action find_reverse
entity Q1860
relation P1412
action find_reverse
entity Q36206
relation P1412
['Q48973', 'P1412', 'Q1860'] ['Q48973', 'P1412', 'Q36206']
ASK WHERE { resource:Q48973 property:P1412 resource:Q1860 . resource:Q48973 property:P1412 resource:Q36206 }
Glenn Seaborg English Lak
action is_in
entity Glenn Seaborg
action intersection
action find_reverse
entity English
relation languages spoken, written or signed
action find_reverse
entity Lak
relation languages spoken, written or signed
['Glenn Seaborg', 'languages spoken, written or signed', 'English'] ['Glenn Seaborg', 'languages spoken, written or signed', 'Lak']
ASK WHERE { resource:Glenn_Seaborg property:languages_spoken,_written_or_signed resource:English . resource:Glenn_Seaborg property:languages_spoken,_written_or_signed resource:Lak }
[]
language
SYSTEM
YES and NO respectively
(Q48973,P1412,Q1860) (Q48973,P1412,Q36206)
action is_in
entity Q48973
action intersection
action find_reverse
entity Q1860
relation P1412
action find_reverse
entity Q36206
relation P1412
[ANSWER]
['Q48973', 'P1412', 'Q1860'] ['Q48973', 'P1412', 'Q36206']
ASK WHERE { resource:Q48973 property:P1412 resource:Q1860 . resource:Q48973 property:P1412 resource:Q36206 }
YES and NO respectively
action is_in
entity Glenn Seaborg
action intersection
action find_reverse
entity English
relation languages spoken, written or signed
action find_reverse
entity Lak
relation languages spoken, written or signed
['Glenn Seaborg', 'languages spoken, written or signed', 'English'] ['Glenn Seaborg', 'languages spoken, written or signed', 'Lak']
ASK WHERE { resource:Glenn_Seaborg property:languages_spoken,_written_or_signed resource:English . resource:Glenn_Seaborg property:languages_spoken,_written_or_signed resource:Lak }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8753 Q2091349
P19
Q56061
USER
Is Næsbjerg the birthplace of Enrico Fermi ?
(Q8753,P19,Q2091349)
action is_in
entity Q2091349
action find
entity Q8753
relation P19
['Q8753', 'P19', 'Q2091349']
ASK WHERE { resource:Q8753 property:P19 resource:Q2091349 }
Enrico Fermi Næsbjerg
action is_in
entity Næsbjerg
action find
entity Enrico Fermi
relation place of birth
['Enrico Fermi', 'place of birth', 'Næsbjerg']
ASK WHERE { resource:Enrico_Fermi property:place_of_birth resource:Næsbjerg }
[]
administrative territorial entity
SYSTEM
NO
(Q8753,P19,Q2091349)
action is_in
entity Q2091349
action find
entity Q8753
relation P19
[ANSWER]
['Q8753', 'P19', 'Q2091349']
ASK WHERE { resource:Q8753 property:P19 resource:Q2091349 }
No
action is_in
entity Næsbjerg
action find
entity Enrico Fermi
relation place of birth
['Enrico Fermi', 'place of birth', 'Næsbjerg']
ASK WHERE { resource:Enrico_Fermi property:place_of_birth resource:Næsbjerg }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8753
P1344
Q1914636
USER
Which activity did that person participate in ?
action filter_type
action find
entity Q8753
relation P1344
type Q1914636
SELECT DISTINCT ?b WHERE { resource:Q8753 property:P1344 ?b . ?b rdf:type ontology:Q1914636 }
Enrico Fermi
action filter_type
action find
entity Enrico Fermi
relation participant of
type activity
SELECT DISTINCT ?b WHERE { resource:Enrico_Fermi property:participant_of ?b . ?b rdf:type ontology:activity }
[]
activity
Q127050
SYSTEM
Manhattan Project
Q127050
action filter_type
action find
entity Q8753
relation P1344
type Q1914636
That person participated in [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q8753 property:P1344 ?b . ?b rdf:type ontology:Q1914636 }
Manhattan Project
That person participated in Manhattan Project
Manhattan Project
action filter_type
action find
entity Enrico Fermi
relation participant of
type activity
SELECT DISTINCT ?b WHERE { resource:Enrico_Fermi property:participant_of ?b . ?b rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q127050 Q5257014
P1344
Q502895
USER
Did Deni Elliott participate in that activity ?
(Q5257014,P1344,Q127050)
action is_in
entity Q5257014
action find
entity Q127050
relation P1344
['Q5257014', 'P1344', 'Q127050']
ASK WHERE { resource:Q127050 property:P1344 resource:Q5257014 }
Manhattan Project Deni Elliott
action is_in
entity Deni Elliott
action find
entity Manhattan Project
relation participant of
['Deni Elliott', 'participant of', 'Manhattan Project']
ASK WHERE { resource:Manhattan_Project property:participant_of resource:Deni_Elliott }
[]
common name
SYSTEM
NO
(Q5257014,P1344,Q127050)
action is_in
entity Q5257014
action find
entity Q127050
relation P1344
[ANSWER]
['Q5257014', 'P1344', 'Q127050']
ASK WHERE { resource:Q127050 property:P1344 resource:Q5257014 }
No
action is_in
entity Deni Elliott
action find
entity Manhattan Project
relation participant of
['Deni Elliott', 'participant of', 'Manhattan Project']
ASK WHERE { resource:Manhattan_Project property:participant_of resource:Deni_Elliott }
[]