Simple Question (Direct)
Simple Question
Q5524235
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Garry Thompson ?
(Q5524235,P27,c(Q15617994))
action filter_type
action find
entity Q5524235
relation P27
type Q15617994
['Q5524235', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5524235 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Garry Thompson
action filter_type
action find
entity Garry Thompson
relation country of citizenship
type designation for an administrative territorial entity
['Garry Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Garry_Thompson property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5524235,P27,c(Q15617994))
action filter_type
action find
entity Q5524235
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Garry Thompson
['Q5524235', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5524235 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Garry Thompson
United Kingdom
action filter_type
action find
entity Garry Thompson
relation country of citizenship
type designation for an administrative territorial entity
['Garry Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Garry_Thompson property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5524235
P106
Q12737077
USER
What are the professions of that person ?
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q5524235
relation P106
type Q12737077
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5524235 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Garry Thompson
action filter_type
action find
entity Garry Thompson
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Garry_Thompson property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q5524235
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5524235 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football manager association football player
The professions of that person are association football manager and association football player
association football manager association football player
action filter_type
action find
entity Garry Thompson
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Garry_Thompson property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5524235
P21
Q290
USER
What is the sex of that person ?
(Q628099,P21,c(Q290)) (Q937857,P21,c(Q290))
action filter_type
action find
entity Q5524235
relation P21
type Q290
['Q628099', 'P21', {'concept': 'Q290'}] ['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q5524235 property:P21 ?q . ?q rdf:type ontology:Q290 }
Garry Thompson
action filter_type
action find
entity Garry Thompson
relation gender
type sex
['association football manager', 'gender', {'concept': 'sex'}] ['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Garry_Thompson property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q628099,P21,c(Q290)) (Q937857,P21,c(Q290))
action filter_type
action find
entity Q5524235
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q628099', 'P21', {'concept': 'Q290'}] ['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q5524235 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Garry Thompson
relation gender
type sex
['association football manager', 'gender', {'concept': 'sex'}] ['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Garry_Thompson property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P35
Q502895
USER
Which people are the heads of state of United Kingdom ?
(Q145,P35,c(Q502895))
action filter_type
action find
entity Q145
relation P35
type Q502895
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q145 property:P35 ?j }
United Kingdom
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:United_Kingdom property:head_of_state ?j }
[]
common name
Q9682 Q280856 Q269412
SYSTEM
Elizabeth II, George VI, George V
Q590227 Q269412 Q280856 Q9682
(Q145,P35,c(Q502895))
action filter_type
action find
entity Q145
relation P35
type Q502895
[ANSWERS] are the heads of state of United Kingdom
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q145 property:P35 ?j }
Edward VIII George V George VI Elizabeth II
Elizabeth II, George VI and George V are the heads of state of United Kingdom
Elizabeth II George VI George V
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:United_Kingdom property:head_of_state ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P750
Q166142
USER
Which applications have United Kingdom as their distributor ?
(c(Q166142),P750,Q145)
action filter_type
action find_reverse
entity Q145
relation P750
type Q166142
[{'concept': 'Q166142'}, 'P750', 'Q145']
SELECT DISTINCT ?p WHERE { ?p property:P750 resource:Q145 . ?p rdf:type ontology:Q166142 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type application
[{'concept': 'application'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ?p WHERE { ?p property:distributor resource:United_Kingdom . ?p rdf:type ontology:application }
[]
application
Q610749 Q1305295 Q1423320
SYSTEM
Mega Man 7, Pilotwings, GTR – FIA GT Racing Game
Q1423320 Q1305295 Q610749 Q3038553
(c(Q166142),P750,Q145)
action filter_type
action find_reverse
entity Q145
relation P750
type Q166142
[ANSWERS] have United Kingdom as their distributor
[{'concept': 'Q166142'}, 'P750', 'Q145']
SELECT DISTINCT ?p WHERE { ?p property:P750 resource:Q145 . ?p rdf:type ontology:Q166142 }
GTR – FIA GT Racing Game Pilotwings Mega Man 7 Dracula: Origin
Mega Man 7, Pilotwings and GTR – FIA GT Racing Game have United Kingdom as their distributor
Mega Man 7 Pilotwings GTR – FIA GT Racing Game
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type application
[{'concept': 'application'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ?p WHERE { ?p property:distributor resource:United_Kingdom . ?p rdf:type ontology:application }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1305295
P400
Q241317
USER
What is the specific platform for which that application was released ?
(Q1305295,P400,c(Q241317))
action filter_type
action find
entity Q1305295
relation P400
type Q241317
['Q1305295', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q241317 . resource:Q1305295 property:P400 ?y }
Pilotwings
action filter_type
action find
entity Pilotwings
relation platform
type computing platform
['Pilotwings', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:computing_platform . resource:Pilotwings property:platform ?y }
[]
computing platform
Clarification for simple ques.
Q1305295
SYSTEM
Did you mean Pilotwings ?
Q610749 Q1305295 Q1423320
(Q610749,P400,c(Q241317)) (Q1305295,P400,c(Q241317)) (Q1423320,P400,c(Q241317))
[ANSWER]
['Q610749', 'P400', {'concept': 'Q241317'}] ['Q1305295', 'P400', {'concept': 'Q241317'}] ['Q1423320', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q241317 . resource:Q1305295 property:P400 ?y }
Mega Man 7 Pilotwings GTR – FIA GT Racing Game
Did you mean Pilotwings ?
Pilotwings
['Mega Man 7', 'platform', {'concept': 'computing platform'}] ['Pilotwings', 'platform', {'concept': 'computing platform'}] ['GTR – FIA GT Racing Game', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:computing_platform . resource:Pilotwings property:platform ?y }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1305295,P400,c(Q241317))
['Q1305295', 'P400', {'concept': 'Q241317'}]
['Pilotwings', 'platform', {'concept': 'computing platform'}]
[]
Q183259
SYSTEM
Super Nintendo Entertainment System
Q183259
(Q1305295,P400,c(Q241317))
action filter_type
action find
entity Q1305295
relation P400
type Q241317
Nintendo [ANSWER]
['Q1305295', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q241317 . resource:Q1305295 property:P400 ?y }
Super Nintendo Entertainment System
Nintendo Super Nintendo Entertainment System
Super Nintendo Entertainment System
action filter_type
action find
entity Pilotwings
relation platform
type computing platform
['Pilotwings', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:computing_platform . resource:Pilotwings property:platform ?y }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q502895 Q838948 Q11424
USER
Which people were the sources of inspiration for min number of works of art and films ?
(c(Q838948)|c(Q11424),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
[[{'concept': 'Q838948'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q11424 ) } . ?j rdf:type ?f } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?p rdf:type ontology:Q11424 . ?q rdf:type ontology:Q502895 . ?p property:P941 ?q } UNION { ?q rdf:type ontology:Q502895 . ?p rdf:type ontology:Q838948 . ?p property:P941 ?q } } GROUP BY ?q } . FILTER ( ?i = ?o ) }
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
action find_reverse_tuple_counts
relation inspired by
type common name
type film
[[{'concept': 'work of art'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:film ) } . ?j rdf:type ?f } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?p rdf:type ontology:film . ?q rdf:type ontology:common_name . ?p property:inspired_by ?q } UNION { ?q rdf:type ontology:common_name . ?p rdf:type ontology:work_of_art . ?p property:inspired_by ?q } } GROUP BY ?q } . FILTER ( ?i = ?o ) }
[]
common name work of art film
Q8016 Q352 Q1744
SYSTEM
Winston Churchill, Adolf Hitler, Madonna
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q30755 Q37693 Q712955 Q302650 Q666171 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q123075 Q835175 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q83155 Q2965760 Q193406 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q838948)|c(Q11424),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
[ANSWERS] were the sources of inspiration for min number of works of art and films
[[{'concept': 'Q838948'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q11424 ) } . ?j rdf:type ?f } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?p rdf:type ontology:Q11424 . ?q rdf:type ontology:Q502895 . ?p property:P941 ?q } UNION { ?q rdf:type ontology:Q502895 . ?p rdf:type ontology:Q838948 . ?p property:P941 ?q } } GROUP BY ?q } . FILTER ( ?i = ?o ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Robert Walser Bernard Levin Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Jacques-Louis David Christiane Faure Pocahontas Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
Winston Churchill, Adolf Hitler and Madonna were the sources of inspiration for min number of works of art and films
Winston Churchill Adolf Hitler Madonna
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
action find_reverse_tuple_counts
relation inspired by
type common name
type film
[[{'concept': 'work of art'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:film ) } . ?j rdf:type ?f } GROUP BY ?y } } . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { { ?p rdf:type ontology:film . ?q rdf:type ontology:common_name . ?p property:inspired_by ?q } UNION { ?q rdf:type ontology:common_name . ?p rdf:type ontology:work_of_art . ?p property:inspired_by ?q } } GROUP BY ?q } . FILTER ( ?i = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q352
P1038
Q502895
USER
How many people are a relative of Adolf Hitler ?
(c(Q502895),P1038,Q352)
action count
action filter_type
action find_reverse
entity Q352
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q352']
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P1038 resource:Q352 . ?g rdf:type ontology:Q502895 }
Adolf Hitler
action count
action filter_type
action find_reverse
entity Adolf Hitler
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Adolf Hitler']
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:relative resource:Adolf_Hitler . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
35
Q22133397 Q22101705 Q64799 Q22132490 Q22085679 Q385804 Q22092225 Q454576 Q22086756 Q22677145 Q22085545 Q22117389 Q22114544 Q22117373 Q84642 Q22572343 Q22132157 Q22132150 Q4613831 Q22121831 Q6216378 Q22090133 Q22121817 Q22133423 Q2779550 Q698102 Q22087732 Q22087758 Q6001165 Q1903961 Q85046 Q22116733 Q22116705 Q1165052 Q22087804
(c(Q502895),P1038,Q352)
action count
action filter_type
action find_reverse
entity Q352
relation P1038
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q352']
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P1038 resource:Q352 . ?g rdf:type ontology:Q502895 }
Peter Raubal Adolf Koppensteiner Heinz Hitler Johann Baptist Pölzl Anton Schmidt Johann Georg Hiedler Eduard Schmidt Bridget Dowling Elfriede Hochegger Friedrich Braun Therese Schmidt Josefa Veit Aloisia Veit Josef Veit Geli Raubal Hedwig Mickley Anna Maria Göschl Martin Hiedler Franziska Braun Theresia Pfeisinger Johanna Hiedler Johanna Pölzl Johann Schicklgruber Heiner Hochegger Maria Schicklgruber William Patrick Stuart-Houston Johann Schmidt junior Johann Schmidt Ilse Braun Martin Heinrich Hammitzsch Leo Rudolf Raubal Josepha Schicklgruber Viktoria Veit Gretl Braun Maria Koppensteiner
35
action count
action filter_type
action find_reverse
entity Adolf Hitler
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Adolf Hitler']
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:relative resource:Adolf_Hitler . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q2342494
USER
Which collectables did min number of people do the dubbing for ?
(c(Q2342494),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m property:P725 ?q . ?m rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?v property:P725 ?e . ?v rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?o = ?f ) }
action argmin
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m property:voice_actor ?q . ?m rdf:type ontology:collectable . ?q rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?v property:voice_actor ?e . ?v rdf:type ontology:collectable . ?e rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?o = ?f ) }
[]
common name collectable
Q119534 Q11325839 Q495094
SYSTEM
Shakugan no Shana, No Game No Life-mart, Durarara!!
Q495094 Q336056 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q2759489
(c(Q2342494),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q2342494
type Q502895
Min number of people did the dubbing of [ANSWERS]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m property:P725 ?q . ?m rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?v property:P725 ?e . ?v rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?o = ?f ) }
Durarara!! The Girl Who Leapt Through Time Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Muv-Luv
Min number of people did the dubbing of Shakugan no Shana, No Game No Life-mart and Durarara!!
Shakugan no Shana No Game No Life-mart Durarara!!
action argmin
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m property:voice_actor ?q . ?m rdf:type ontology:collectable . ?q rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?v property:voice_actor ?e . ?v rdf:type ontology:collectable . ?e rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?o = ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q119534
P800
Q502895
USER
Which person has that collectable as a notable work ?
(c(Q502895),P800,Q119534)
action filter_type
action find_reverse
entity Q119534
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q119534']
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q119534 . ?l rdf:type ontology:Q502895 }
Shakugan no Shana
action filter_type
action find_reverse
entity Shakugan no Shana
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Shakugan no Shana']
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:Shakugan_no_Shana . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11325839
SYSTEM
Did you mean No Game No Life-mart ?
Q119534 Q11325839 Q495094
(c(Q502895),P800,Q119534) (c(Q502895),P800,Q11325839) (c(Q502895),P800,Q495094)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q119534'] [{'concept': 'Q502895'}, 'P800', 'Q11325839'] [{'concept': 'Q502895'}, 'P800', 'Q495094']
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q119534 . ?l rdf:type ontology:Q502895 }
Shakugan no Shana No Game No Life-mart Durarara!!
Did you mean No Game No Life-mart ?
No Game No Life-mart
[{'concept': 'common name'}, 'notable work', 'Shakugan no Shana'] [{'concept': 'common name'}, 'notable work', 'No Game No Life-mart'] [{'concept': 'common name'}, 'notable work', 'Durarara!!']
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:Shakugan_no_Shana . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Shakugan no Shana. Could you tell me the answer for that?
(c(Q502895),P800,Q119534)
Q119534
[{'concept': 'Q502895'}, 'P800', 'Q119534']
[{'concept': 'common name'}, 'notable work', 'Shakugan no Shana']
[]
Q859730
SYSTEM
Ayato Sasakura
Q859730
(c(Q502895),P800,Q119534)
action filter_type
action find_reverse
entity Q119534
relation P800
type Q502895
[ANSWER] has that collectable as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q119534']
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q119534 . ?l rdf:type ontology:Q502895 }
Ayato Sasakura
Ayato Sasakura has that collectable as a notable work
Ayato Sasakura
action filter_type
action find_reverse
entity Shakugan no Shana
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Shakugan no Shana']
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:Shakugan_no_Shana . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q80019
P1303
Q34379 Q502895
USER
How many musical instruments can greater number of people perform with than double bass ?
(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 Q80019
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P1303 ?l . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q80019 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?m > ?g ) }
double bass
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 double bass
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:instrument ?l . ?a rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:double_bass property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?g ) }
[]
musical instrument common name
SYSTEM
7
Q46185 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(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 Q80019
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P1303 ?l . ?a rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q80019 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?m > ?g ) }
bass guitar piano trumpet cello violin organ drum kit
7
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 double bass
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:instrument ?l . ?a rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:double_bass property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q220971
P1303
Q34379 Q502895
USER
And how about marimba?
(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 Q220971
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?a ) WHERE { ?u rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?u } GROUP BY ?u } . FILTER ( ?a > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Q220971 property:P1303 ?d . ?d rdf:type ontology:Q34379 } } }
marimba
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 marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?a ) WHERE { ?u rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?u } GROUP BY ?u } . FILTER ( ?a > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:marimba property:instrument ?d . ?d rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
15
Q80284 Q46185 Q80019 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q742180 Q1444 Q128309 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 Q220971
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?a ) WHERE { ?u rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?u } GROUP BY ?u } . FILTER ( ?a > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:Q220971 property:P1303 ?d . ?d rdf:type ontology:Q34379 } } }
viola bass guitar double bass piano harpsichord vibraphone trumpet cello violin upright piano viola d'amore organ drum kit electronic keyboard drum
15
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 marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?a ) WHERE { ?u rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?u } GROUP BY ?u } . FILTER ( ?a > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { resource:marimba property:instrument ?d . ?d rdf:type ontology:musical_instrument } } }
[]