Simple Question (Direct)
Simple Question
Q5085714
P19
Q56061
USER
Which administrative territory was Charlie Wilson born in ?
(Q5085714,P19,c(Q56061))
action filter_type
action find
entity Q5085714
relation P19
type Q56061
['Q5085714', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5085714 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Charlie Wilson
action filter_type
action find
entity Charlie Wilson
relation place of birth
type administrative territorial entity
['Charlie Wilson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Charlie_Wilson property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2074188
SYSTEM
Clinton
Q2074188
(Q5085714,P19,c(Q56061))
action filter_type
action find
entity Q5085714
relation P19
type Q56061
Charlie Wilson was born in [ANSWER]
['Q5085714', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5085714 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Clinton
Charlie Wilson was born in Clinton
Clinton
action filter_type
action find
entity Charlie Wilson
relation place of birth
type administrative territorial entity
['Charlie Wilson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Charlie_Wilson property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2074188
P551
Q502895
USER
Which person lives in that administrative territory ?
(c(Q502895),P551,Q2074188)
action filter_type
action find_reverse
entity Q2074188
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q2074188']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q2074188 . ?p rdf:type ontology:Q502895 }
Clinton
action filter_type
action find_reverse
entity Clinton
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Clinton']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Clinton . ?p rdf:type ontology:common_name }
[]
common name
Q8020643
SYSTEM
William Y. Thompson
Q8020643
(c(Q502895),P551,Q2074188)
action filter_type
action find_reverse
entity Q2074188
relation P551
type Q502895
[ANSWER] lives in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q2074188']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q2074188 . ?p rdf:type ontology:Q502895 }
William Y. Thompson
William Y. Thompson lives in that administrative territory
William Y. Thompson
action filter_type
action find_reverse
entity Clinton
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Clinton']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Clinton . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q56061 Q340169 Q3305213
USER
Which administrative territories are demonstrated in max number of medias and paintings ?
(c(Q340169)|c(Q3305213),P180,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?c WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?i ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:Q56061 . ?j rdf:type ontology:Q340169 . ?j property:P180 ?t } UNION { ?j property:P180 ?t . ?t rdf:type ontology:Q56061 . ?j rdf:type ontology:Q3305213 } } GROUP BY ?t } } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?c WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:painting ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?i ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:media . ?j property:depicts ?t } UNION { ?j property:depicts ?t . ?t rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:painting } } GROUP BY ?t } } }
[]
administrative territorial entity media painting
Q641
SYSTEM
Venice
Q641
(c(Q340169)|c(Q3305213),P180,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
[ANSWER] is demonstrated in max number of medias and paintings
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?c WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?i ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:Q56061 . ?j rdf:type ontology:Q340169 . ?j property:P180 ?t } UNION { ?j property:P180 ?t . ?t rdf:type ontology:Q56061 . ?j rdf:type ontology:Q3305213 } } GROUP BY ?t } } }
Venice
Venice is demonstrated in max number of medias and paintings
Venice
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?c WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:painting ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?i ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:media . ?j property:depicts ?t } UNION { ?j property:depicts ?t . ?t rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:painting } } GROUP BY ?t } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2409128
P941
Q502895 Q6619679 Q234460
USER
How many people inspired lesser number of fictional humanoids or texts than Dušan Popov ?
(c(Q6619679)|c(Q234460),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q2409128
relation P941
type Q6619679
type Q234460
[[{'concept': 'Q6619679'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?p WHERE { { ?q property:P941 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q234460 } UNION { ?q property:P941 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q6619679 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:Q6619679 ) ( ontology:Q234460 ) } } . ?y property:P941 resource:Q2409128 } } . FILTER ( ?n < ?i ) }
Dušan Popov
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Dušan Popov
relation inspired by
type fictional humanoid
type text
[[{'concept': 'fictional humanoid'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?p WHERE { { ?q property:inspired_by ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:text } UNION { ?q property:inspired_by ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:fictional_humanoid } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_humanoid ) ( ontology:text ) } } . ?y property:inspired_by resource:Dušan_Popov } } . FILTER ( ?n < ?i ) }
[]
common name fictional humanoid text
SYSTEM
207
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 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 Q273079 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 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 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q6619679)|c(Q234460),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q2409128
relation P941
type Q6619679
type Q234460
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?p WHERE { { ?q property:P941 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q234460 } UNION { ?q property:P941 ?p . ?p rdf:type ontology:Q502895 . ?q rdf:type ontology:Q6619679 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:Q6619679 ) ( ontology:Q234460 ) } } . ?y property:P941 resource:Q2409128 } } . FILTER ( ?n < ?i ) }
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 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 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 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 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 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
207
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Dušan Popov
relation inspired by
type fictional humanoid
type text
[[{'concept': 'fictional humanoid'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?p WHERE { { ?q property:inspired_by ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:text } UNION { ?q property:inspired_by ?p . ?p rdf:type ontology:common_name . ?q rdf:type ontology:fictional_humanoid } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_humanoid ) ( ontology:text ) } } . ?y property:inspired_by resource:Dušan_Popov } } . FILTER ( ?n < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q22686
P941
Q502895 Q6619679 Q234460
USER
And what about Donald Trump?
(c(Q6619679)|c(Q234460),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q22686
relation P941
type Q6619679
type Q234460
[[{'concept': 'Q6619679'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?k WHERE { VALUES ( ?q ) { ( ontology:Q234460 ) ( ontology:Q6619679 ) } . ?w rdf:type ?q } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P941 resource:Q22686 . { { ?n rdf:type ontology:Q6619679 } UNION { ?n rdf:type ontology:Q234460 } } } } . FILTER ( ?b < ?z ) }
Donald Trump
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Donald Trump
relation inspired by
type fictional humanoid
type text
[[{'concept': 'fictional humanoid'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?k WHERE { VALUES ( ?q ) { ( ontology:text ) ( ontology:fictional_humanoid ) } . ?w rdf:type ?q } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:inspired_by resource:Donald_Trump . { { ?n rdf:type ontology:fictional_humanoid } UNION { ?n rdf:type ontology:text } } } } . FILTER ( ?b < ?z ) }
[]
common name fictional humanoid text
SYSTEM
207
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 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 Q273079 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 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 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q6619679)|c(Q234460),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q22686
relation P941
type Q6619679
type Q234460
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?k WHERE { VALUES ( ?q ) { ( ontology:Q234460 ) ( ontology:Q6619679 ) } . ?w rdf:type ?q } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P941 resource:Q22686 . { { ?n rdf:type ontology:Q6619679 } UNION { ?n rdf:type ontology:Q234460 } } } } . FILTER ( ?b < ?z ) }
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 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 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 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 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 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
207
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Donald Trump
relation inspired by
type fictional humanoid
type text
[[{'concept': 'fictional humanoid'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?k WHERE { VALUES ( ?q ) { ( ontology:text ) ( ontology:fictional_humanoid ) } . ?w rdf:type ?q } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:inspired_by resource:Donald_Trump . { { ?n rdf:type ontology:fictional_humanoid } UNION { ?n rdf:type ontology:text } } } } . FILTER ( ?b < ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10392967 Q5085714
P27
Q15617994
USER
Which administrative territories are Charlie Wilson or Waldo Motta an inhabitant of ?
OR((Q5085714,P27,c(Q15617994)), (Q10392967,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5085714
relation P27
action find
entity Q10392967
relation P27
type Q15617994
{'OR': [['Q5085714', 'P27', {'concept': 'Q15617994'}], ['Q10392967', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { VALUES ( ?q ) { ( resource:Q5085714 ) ( resource:Q10392967 ) } . ?q property:P27 ?k } }
Waldo Motta Charlie Wilson
action filter_type
action union
action find
entity Charlie Wilson
relation country of citizenship
action find
entity Waldo Motta
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charlie Wilson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Waldo Motta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?q ) { ( resource:Charlie_Wilson ) ( resource:Waldo_Motta ) } . ?q property:country_of_citizenship ?k } }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q5085714,P27,c(Q15617994)), (Q10392967,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5085714
relation P27
action find
entity Q10392967
relation P27
type Q15617994
[ANSWERS] are Charlie Wilson or Waldo Motta an inhabitant of
{'OR': [['Q5085714', 'P27', {'concept': 'Q15617994'}], ['Q10392967', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { VALUES ( ?q ) { ( resource:Q5085714 ) ( resource:Q10392967 ) } . ?q property:P27 ?k } }
Brazil United States of America
Brazil and United States of America are Charlie Wilson or Waldo Motta an inhabitant of
Brazil United States of America
action filter_type
action union
action find
entity Charlie Wilson
relation country of citizenship
action find
entity Waldo Motta
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charlie Wilson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Waldo Motta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?q ) { ( resource:Charlie_Wilson ) ( resource:Waldo_Motta ) } . ?q property:country_of_citizenship ?k } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q507319
P530
Q15617994
USER
Do Gößweinstein have tactful political relations with those ones ?
(Q507319,P530,Q155) (Q507319,P530,Q30)
action is_in
entity prev_answer
action find
entity Q507319
relation P530
['Q507319', 'P530', 'Q155'] ['Q507319', 'P530', 'Q30']
ASK WHERE { VALUES ( ?d ) { ( resource:Q155 ) ( resource:Q30 ) } . resource:Q507319 property:P530 ?d }
Gößweinstein
action is_in
entity prev_answer
action find
entity Gößweinstein
relation diplomatic relation
['Gößweinstein', 'diplomatic relation', 'Brazil'] ['Gößweinstein', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?d ) { ( resource:Brazil ) ( resource:United_States_of_America ) } . resource:Gößweinstein property:diplomatic_relation ?d }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q507319,P530,Q155) (Q507319,P530,Q30)
action is_in
entity prev_answer
action find
entity Q507319
relation P530
[ANSWER]
['Q507319', 'P530', 'Q155'] ['Q507319', 'P530', 'Q30']
ASK WHERE { VALUES ( ?d ) { ( resource:Q155 ) ( resource:Q30 ) } . resource:Q507319 property:P530 ?d }
No
action is_in
entity prev_answer
action find
entity Gößweinstein
relation diplomatic relation
['Gößweinstein', 'diplomatic relation', 'Brazil'] ['Gößweinstein', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?d ) { ( resource:Brazil ) ( resource:United_States_of_America ) } . resource:Gößweinstein property:diplomatic_relation ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8020643
P166
Q618779
USER
Which award was received by William Y. Thompson ?
(Q8020643,P166,c(Q618779))
action filter_type
action find
entity Q8020643
relation P166
type Q618779
['Q8020643', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q8020643 property:P166 ?t . ?t rdf:type ontology:Q618779 }
William Y. Thompson
action filter_type
action find
entity William Y. Thompson
relation award received
type award
['William Y. Thompson', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:William_Y._Thompson property:award_received ?t . ?t rdf:type ontology:award }
[]
award
Q1754110
SYSTEM
Distinguished Flying Cross
Q1754110
(Q8020643,P166,c(Q618779))
action filter_type
action find
entity Q8020643
relation P166
type Q618779
Two [ANSWER] was received by William Y. Thompson
['Q8020643', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q8020643 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Distinguished Flying Cross
Two Distinguished Flying Cross was received by William Y. Thompson
Distinguished Flying Cross
action filter_type
action find
entity William Y. Thompson
relation award received
type award
['William Y. Thompson', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:William_Y._Thompson property:award_received ?t . ?t rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8020643
P20
Q56061
USER
Where did the expiration of William Y. Thompson occur ?
(Q8020643,P20,c(Q56061))
action filter_type
action find
entity Q8020643
relation P20
type Q56061
['Q8020643', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q8020643 property:P20 ?y }
William Y. Thompson
action filter_type
action find
entity William Y. Thompson
relation place of death
type administrative territorial entity
['William Y. Thompson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:William_Y._Thompson property:place_of_death ?y }
[]
administrative territorial entity
Q947115
SYSTEM
Monroe
Q947115
(Q8020643,P20,c(Q56061))
action filter_type
action find
entity Q8020643
relation P20
type Q56061
The expiration of William Y. did [ANSWER]
['Q8020643', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q8020643 property:P20 ?y }
Monroe
The expiration of William Y. did Monroe
Monroe
action filter_type
action find
entity William Y. Thompson
relation place of death
type administrative territorial entity
['William Y. Thompson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:William_Y._Thompson property:place_of_death ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8020643
P119
Q56061
USER
Which administrative territory is the tomb of that person ?
(Q947115,P119,c(Q56061))
action filter_type
action find
entity Q8020643
relation P119
type Q56061
['Q947115', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q8020643 property:P119 ?f . ?f rdf:type ontology:Q56061 }
William Y. Thompson
action filter_type
action find
entity William Y. Thompson
relation place of burial
type administrative territorial entity
['Monroe', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:William_Y._Thompson property:place_of_burial ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2271328
SYSTEM
Ruston
Q2271328
(Q947115,P119,c(Q56061))
action filter_type
action find
entity Q8020643
relation P119
type Q56061
[ANSWER] is the tomb of that person
['Q947115', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q8020643 property:P119 ?f . ?f rdf:type ontology:Q56061 }
Ruston
Ruston is the tomb of that person
Ruston
action filter_type
action find
entity William Y. Thompson
relation place of burial
type administrative territorial entity
['Monroe', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:William_Y._Thompson property:place_of_burial ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]