Simple Question (Direct)
Simple Question
Q910472
P21
Q290
USER
Which sex does Bret Harrison belong to ?
(Q910472,P21,c(Q290))
action filter_type
action find
entity Q910472
relation P21
type Q290
['Q910472', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q910472 property:P21 ?j . ?j rdf:type ontology:Q290 }
Bret Harrison
action filter_type
action find
entity Bret Harrison
relation gender
type sex
['Bret Harrison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Bret_Harrison property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q910472,P21,c(Q290))
action filter_type
action find
entity Q910472
relation P21
type Q290
Bret Harrison belongs to [ANSWER]
['Q910472', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q910472 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Bret Harrison belongs to male
male
action filter_type
action find
entity Bret Harrison
relation gender
type sex
['Bret Harrison', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Bret_Harrison property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q910472
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q910472
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q910472 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Bret Harrison
action filter_type
action find
entity Bret Harrison
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bret_Harrison property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q910472
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q910472 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Bret Harrison
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bret_Harrison property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2409128
P941
Q502895 Q7725634 Q6619679
USER
How many people inspired less number of literary works or fictional humanoids than Dušan Popov ?
(c(Q7725634)|c(Q6619679),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q2409128
relation P941
type Q7725634
type Q6619679
[[{'concept': 'Q7725634'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7725634 ) ( ontology:Q6619679 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P941 resource:Q2409128 . { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q6619679 ) } } } } . FILTER ( ?g < ?s ) }
Dušan Popov
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Dušan Popov
relation inspired by
type literary work
type fictional humanoid
[[{'concept': 'literary work'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:literary_work ) ( ontology:fictional_humanoid ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:inspired_by resource:Dušan_Popov . { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:fictional_humanoid ) } } } } . FILTER ( ?g < ?s ) }
[]
common name literary work fictional humanoid
SYSTEM
206
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 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 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 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 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q7725634)|c(Q6619679),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q2409128
relation P941
type Q7725634
type Q6619679
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7725634 ) ( ontology:Q6619679 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P941 resource:Q2409128 . { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q6619679 ) } } } } . FILTER ( ?g < ?s ) }
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 Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny 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 Geoffrey Bowers 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 Mehran Karimi Nasseri 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 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 George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia 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 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 Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
206
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Dušan Popov
relation inspired by
type literary work
type fictional humanoid
[[{'concept': 'literary work'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?g ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:literary_work ) ( ontology:fictional_humanoid ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:inspired_by resource:Dušan_Popov . { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:fictional_humanoid ) } } } } . FILTER ( ?g < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q273079
P941
Q502895 Q7725634 Q6619679
USER
And what about Cab Calloway?
(c(Q7725634)|c(Q6619679),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q273079
relation P941
type Q7725634
type Q6619679
[[{'concept': 'Q7725634'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?v WHERE { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7725634 ) ( ontology:Q6619679 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P941 resource:Q273079 . { { ?h rdf:type ontology:Q7725634 } UNION { ?h rdf:type ontology:Q6619679 } } } } . FILTER ( ?j < ?u ) }
Cab Calloway
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Cab Calloway
relation inspired by
type literary work
type fictional humanoid
[[{'concept': 'literary work'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?v WHERE { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:literary_work ) ( ontology:fictional_humanoid ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:inspired_by resource:Cab_Calloway . { { ?h rdf:type ontology:literary_work } UNION { ?h rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?j < ?u ) }
[]
common name literary work fictional humanoid
SYSTEM
206
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 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 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 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 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q7725634)|c(Q6619679),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q273079
relation P941
type Q7725634
type Q6619679
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?v WHERE { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7725634 ) ( ontology:Q6619679 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P941 resource:Q273079 . { { ?h rdf:type ontology:Q7725634 } UNION { ?h rdf:type ontology:Q6619679 } } } } . FILTER ( ?j < ?u ) }
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 Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny 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 Geoffrey Bowers 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 Mehran Karimi Nasseri 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 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 George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia 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 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 Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
206
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Cab Calloway
relation inspired by
type literary work
type fictional humanoid
[[{'concept': 'literary work'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?v WHERE { ?q rdf:type ?f . VALUES ( ?f ) { ( ontology:literary_work ) ( ontology:fictional_humanoid ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:inspired_by resource:Cab_Calloway . { { ?h rdf:type ontology:literary_work } UNION { ?h rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?j < ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q910472
P1303
Q34379
USER
Which musical instrument can Bret Harrison perform with ?
(Q910472,P1303,c(Q34379))
action filter_type
action find
entity Q910472
relation P1303
type Q34379
['Q910472', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { resource:Q910472 property:P1303 ?q . ?q rdf:type ontology:Q34379 }
Bret Harrison
action filter_type
action find
entity Bret Harrison
relation instrument
type musical instrument
['Bret Harrison', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { resource:Bret_Harrison property:instrument ?q . ?q rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q910472,P1303,c(Q34379))
action filter_type
action find
entity Q910472
relation P1303
type Q34379
Bret Harrison can perform a [ANSWER]
['Q910472', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { resource:Q910472 property:P1303 ?q . ?q rdf:type ontology:Q34379 }
violin
Bret Harrison can perform a violin
violin
action filter_type
action find
entity Bret Harrison
relation instrument
type musical instrument
['Bret Harrison', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { resource:Bret_Harrison property:instrument ?q . ?q rdf:type ontology:musical_instrument }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16199408
Q34379
USER
And also tell me about Julia Bishop?
(Q16199408,P1303,c(Q34379))
action filter_type
action find
entity Q16199408
relation P1303
type Q34379
['Q16199408', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { resource:Q16199408 property:P1303 ?d . ?d rdf:type ontology:Q34379 }
Julia Bishop
action filter_type
action find
entity Julia Bishop
relation instrument
type musical instrument
['Julia Bishop', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { resource:Julia_Bishop property:instrument ?d . ?d rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q16199408,P1303,c(Q34379))
action filter_type
action find
entity Q16199408
relation P1303
type Q34379
[ANSWER]
['Q16199408', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { resource:Q16199408 property:P1303 ?d . ?d rdf:type ontology:Q34379 }
violin
violin
action filter_type
action find
entity Julia Bishop
relation instrument
type musical instrument
['Julia Bishop', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { resource:Julia_Bishop property:instrument ?d . ?d rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16199408
P108
Q2385804
USER
Which educational institution employs that person ?
(Q8355,P108,c(Q2385804))
action filter_type
action find
entity Q16199408
relation P108
type Q2385804
['Q8355', 'P108', {'concept': 'Q2385804'}]
SELECT DISTINCT ?j WHERE { resource:Q16199408 property:P108 ?j . ?j rdf:type ontology:Q2385804 }
Julia Bishop
action filter_type
action find
entity Julia Bishop
relation employer
type educational institution
['violin', 'employer', {'concept': 'educational institution'}]
SELECT DISTINCT ?j WHERE { resource:Julia_Bishop property:employer ?j . ?j rdf:type ontology:educational_institution }
[]
educational institution
Q1144673
SYSTEM
Royal Academy of Music
Q1144673
(Q8355,P108,c(Q2385804))
action filter_type
action find
entity Q16199408
relation P108
type Q2385804
[ANSWER] employs that person
['Q8355', 'P108', {'concept': 'Q2385804'}]
SELECT DISTINCT ?j WHERE { resource:Q16199408 property:P108 ?j . ?j rdf:type ontology:Q2385804 }
Royal Academy of Music
Royal Academy of Music employs that person
Royal Academy of Music
action filter_type
action find
entity Julia Bishop
relation employer
type educational institution
['violin', 'employer', {'concept': 'educational institution'}]
SELECT DISTINCT ?j WHERE { resource:Julia_Bishop property:employer ?j . ?j rdf:type ontology:educational_institution }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q17
P206
Q355304 Q15324 Q15617994
USER
Which administrative territories are located nearby lesser number of watercourses or bodies of water than Japan ?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q17
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { { ?s property:P206 ?m . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q355304 } UNION { ?s property:P206 ?m . ?m rdf:type ontology:Q15324 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q17 property:P206 ?a . { { ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q15324 } } } } . FILTER ( ?o < ?z ) }
Japan
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Japan
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?m . ?m rdf:type ontology:body_of_water . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Japan property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:body_of_water } } } } . FILTER ( ?o < ?z ) }
[]
watercourse body of water designation for an administrative territorial entity
Q29 Q668 Q948
SYSTEM
Spain, India, Tunisia
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q17
relation P206
type Q355304
type Q15324
[ANSWERS] are located nearby lesser number of watercourses or bodies of water than Japan
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { { ?s property:P206 ?m . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q355304 } UNION { ?s property:P206 ?m . ?m rdf:type ontology:Q15324 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q17 property:P206 ?a . { { ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q15324 } } } } . FILTER ( ?o < ?z ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
Spain, India and Tunisia are located nearby lesser number of watercourses or bodies of water than Japan
Spain India Tunisia
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Japan
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?o ) WHERE { { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:watercourse } UNION { ?s property:located_next_to_body_of_water ?m . ?m rdf:type ontology:body_of_water . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Japan property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:body_of_water } } } } . FILTER ( ?o < ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1577
P206
Q355304 Q15324 Q15617994
USER
And also tell me about Neuwerk?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q1577
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?i rdf:type ?x } . resource:Q1577 property:P206 ?i } } . FILTER ( ?t < ?g ) }
Neuwerk
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Neuwerk
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?i rdf:type ?x } . resource:Neuwerk property:located_next_to_body_of_water ?i } } . FILTER ( ?t < ?g ) }
[]
watercourse body of water designation for an administrative territorial entity
Q29 Q668 Q948
SYSTEM
Spain, India, Tunisia
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q1577
relation P206
type Q355304
type Q15324
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?i rdf:type ?x } . resource:Q1577 property:P206 ?i } } . FILTER ( ?t < ?g ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
Spain India Tunisia
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Neuwerk
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:watercourse ) ( ontology:body_of_water ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?i rdf:type ?x } . resource:Neuwerk property:located_next_to_body_of_water ?i } } . FILTER ( ?t < ?g ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were the sources of inspiration for approximately the same number of fictional locations as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q948
SYSTEM
Did you mean Tunisia ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Tunisia ?
Tunisia
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant India. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q668
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER] was the sources of inspiration for approximately the same number of fictional locations as that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
India was the sources of inspiration for approximately the same number of fictional locations as that administrative territory
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q668
P530
Q15617994
USER
Which administrative territories have ambassadorial relations with that one ?
(c(Q15617994),P530,Q668)
action filter_type
action find_reverse
entity Q668
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q668']
SELECT DISTINCT ?a WHERE { ?a property:P530 resource:Q668 . ?a rdf:type ontology:Q15617994 }
India
action filter_type
action find_reverse
entity India
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'India']
SELECT DISTINCT ?a WHERE { ?a property:diplomatic_relation resource:India . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q159 Q801 Q155 Q184 Q30 Q953 Q230 Q38
(c(Q15617994),P530,Q668)
action filter_type
action find_reverse
entity Q668
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with that one
[{'concept': 'Q15617994'}, 'P530', 'Q668']
SELECT DISTINCT ?a WHERE { ?a property:P530 resource:Q668 . ?a rdf:type ontology:Q15617994 }
Russia Israel Brazil Belarus United States of America Zambia Georgia Italy
Italy, Brazil and United States of America have ambassadorial relations with that one
Italy Brazil United States of America
action filter_type
action find_reverse
entity India
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'India']
SELECT DISTINCT ?a WHERE { ?a property:diplomatic_relation resource:India . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]