Simple Question (Direct)
Simple Question
Q6487275
P21
Q290
USER
Which sex does Lanny Johnson have ?
(Q6487275,P21,c(Q290))
action filter_type
action find
entity Q6487275
relation P21
type Q290
['Q6487275', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q6487275 property:P21 ?z . ?z rdf:type ontology:Q290 }
Lanny Johnson
action filter_type
action find
entity Lanny Johnson
relation gender
type sex
['Lanny Johnson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Lanny_Johnson property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6487275,P21,c(Q290))
action filter_type
action find
entity Q6487275
relation P21
type Q290
Lanny Johnson has a [ANSWER]
['Q6487275', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q6487275 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Lanny Johnson has a male
male
action filter_type
action find
entity Lanny Johnson
relation gender
type sex
['Lanny Johnson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Lanny_Johnson property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6487275
P102
Q7210356
USER
Which party is Lanny Johnson affiliated with ?
(Q6487275,P102,c(Q7210356))
action filter_type
action find
entity Q6487275
relation P102
type Q7210356
['Q6487275', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . resource:Q6487275 property:P102 ?s }
Lanny Johnson
action filter_type
action find
entity Lanny Johnson
relation member of political party
type political organization
['Lanny Johnson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . resource:Lanny_Johnson property:member_of_political_party ?s }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q6487275,P102,c(Q7210356))
action filter_type
action find
entity Q6487275
relation P102
type Q7210356
Lanny Johnson is affiliated with [ANSWER]
['Q6487275', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . resource:Q6487275 property:P102 ?s }
Democratic Party
Lanny Johnson is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Lanny Johnson
relation member of political party
type political organization
['Lanny Johnson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . resource:Lanny_Johnson property:member_of_political_party ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6487275
P734
Q82799
USER
Who has the surname Lanny Johnson ?
(Q6487275,P734,c(Q82799))
action filter_type
action find
entity Q6487275
relation P734
type Q82799
['Q6487275', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q6487275 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Lanny Johnson
action filter_type
action find
entity Lanny Johnson
relation family name
type name
['Lanny Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Lanny_Johnson property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q6487275,P734,c(Q82799))
action filter_type
action find
entity Q6487275
relation P734
type Q82799
[ANSWER] has the surname Lanny [ANSWER]
['Q6487275', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q6487275 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Johnson
Johnson has the surname Lanny Johnson
Johnson
action filter_type
action find
entity Lanny Johnson
relation family name
type name
['Lanny Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Lanny_Johnson property:family_name ?r . ?r rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1158485
P407
Q34770
USER
How many languages are the languages of work for Johnson ?
(Q1158485,P407,c(Q34770))
action count
action filter_type
action find
entity Q1158485
relation P407
type Q34770
['Q1158485', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q1158485 property:P407 ?j . ?j rdf:type ontology:Q34770 }
Johnson
action count
action filter_type
action find
entity Johnson
relation language of work or name
type language
['Johnson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Johnson property:language_of_work_or_name ?j . ?j rdf:type ontology:language }
[]
language
SYSTEM
1
Q1860
(Q1158485,P407,c(Q34770))
action count
action filter_type
action find
entity Q1158485
relation P407
type Q34770
[ANSWER]
['Q1158485', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q1158485 property:P407 ?j . ?j rdf:type ontology:Q34770 }
English
1
action count
action filter_type
action find
entity Johnson
relation language of work or name
type language
['Johnson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Johnson property:language_of_work_or_name ?j . ?j rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q17654200
P407
Q34770
USER
And how about Imagination Movers to shoot Disney series pilot?
(Q17654200,P407,c(Q34770))
action count
action filter_type
action find
entity Q17654200
relation P407
type Q34770
['Q17654200', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q17654200 property:P407 ?y . ?y rdf:type ontology:Q34770 }
Imagination Movers to shoot Disney series pilot
action count
action filter_type
action find
entity Imagination Movers to shoot Disney series pilot
relation language of work or name
type language
['Imagination Movers to shoot Disney series pilot', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Imagination_Movers_to_shoot_Disney_series_pilot property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
language
SYSTEM
1
Q1860
(Q17654200,P407,c(Q34770))
action count
action filter_type
action find
entity Q17654200
relation P407
type Q34770
[ANSWER]
['Q17654200', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q17654200 property:P407 ?y . ?y rdf:type ontology:Q34770 }
English
1
action count
action filter_type
action find
entity Imagination Movers to shoot Disney series pilot
relation language of work or name
type language
['Imagination Movers to shoot Disney series pilot', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Imagination_Movers_to_shoot_Disney_series_pilot property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17655831
Q34770
USER
And how about Widespread looting blamed for disrupted rescue efforts in New Orleans?
(Q17655831,P407,c(Q34770))
action count
action filter_type
action find
entity Q17655831
relation P407
type Q34770
['Q17655831', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q17655831 property:P407 ?w . ?w rdf:type ontology:Q34770 }
Widespread looting blamed for disrupted rescue efforts in New Orleans
action count
action filter_type
action find
entity Widespread looting blamed for disrupted rescue efforts in New Orleans
relation language of work or name
type language
['Widespread looting blamed for disrupted rescue efforts in New Orleans', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Widespread_looting_blamed_for_disrupted_rescue_efforts_in_New_Orleans property:language_of_work_or_name ?w . ?w rdf:type ontology:language }
[]
language
SYSTEM
1
(Q17655831,P407,c(Q34770))
action count
action filter_type
action find
entity Q17655831
relation P407
type Q34770
[ANSWER]
['Q17655831', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q17655831 property:P407 ?w . ?w rdf:type ontology:Q34770 }
1
action count
action filter_type
action find
entity Widespread looting blamed for disrupted rescue efforts in New Orleans
relation language of work or name
type language
['Widespread looting blamed for disrupted rescue efforts in New Orleans', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Widespread_looting_blamed_for_disrupted_rescue_efforts_in_New_Orleans property:language_of_work_or_name ?w . ?w rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5582
P941
Q502895 Q3305213 Q6619679
USER
How many people were the sources of inspiration for around the same number of paintings and fictional humanoids as Vincent van Gogh ?
(c(Q3305213)|c(Q6619679),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q5582
relation P941
type Q3305213
type Q6619679
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?v WHERE { { ?g property:P941 ?v . ?v rdf:type ontology:Q502895 . ?g rdf:type ontology:Q6619679 } UNION { ?g property:P941 ?v . ?v rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3305213 } } GROUP BY ?v } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P941 resource:Q5582 . { { ?j rdf:type ontology:Q6619679 } UNION { ?j rdf:type ontology:Q3305213 } } } } }
Vincent van Gogh
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Vincent van Gogh
relation inspired by
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?v WHERE { { ?g property:inspired_by ?v . ?v rdf:type ontology:common_name . ?g rdf:type ontology:fictional_humanoid } UNION { ?g property:inspired_by ?v . ?v rdf:type ontology:common_name . ?g rdf:type ontology:painting } } GROUP BY ?v } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:inspired_by resource:Vincent_van_Gogh . { { ?j rdf:type ontology:fictional_humanoid } UNION { ?j rdf:type ontology:painting } } } } }
[]
common name painting fictional humanoid
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 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 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(Q3305213)|c(Q6619679),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q5582
relation P941
type Q3305213
type Q6619679
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?v WHERE { { ?g property:P941 ?v . ?v rdf:type ontology:Q502895 . ?g rdf:type ontology:Q6619679 } UNION { ?g property:P941 ?v . ?v rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3305213 } } GROUP BY ?v } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P941 resource:Q5582 . { { ?j rdf:type ontology:Q6619679 } UNION { ?j rdf:type ontology:Q3305213 } } } } }
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 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 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 approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Vincent van Gogh
relation inspired by
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?v WHERE { { ?g property:inspired_by ?v . ?v rdf:type ontology:common_name . ?g rdf:type ontology:fictional_humanoid } UNION { ?g property:inspired_by ?v . ?v rdf:type ontology:common_name . ?g rdf:type ontology:painting } } GROUP BY ?v } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:inspired_by resource:Vincent_van_Gogh . { { ?j rdf:type ontology:fictional_humanoid } UNION { ?j rdf:type ontology:painting } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q182462
P941
Q502895 Q3305213 Q6619679
USER
And what about Janet Gaynor?
(c(Q3305213)|c(Q6619679),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q182462
relation P941
type Q3305213
type Q6619679
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?a WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q6619679 ) ( ontology:Q3305213 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:Q3305213 ) ( ontology:Q6619679 ) } } . ?j property:P941 resource:Q182462 } } . FILTER ( ?x = ?d ) }
Janet Gaynor
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Janet Gaynor
relation inspired by
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?a WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:fictional_humanoid ) ( ontology:painting ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:painting ) ( ontology:fictional_humanoid ) } } . ?j property:inspired_by resource:Janet_Gaynor } } . FILTER ( ?x = ?d ) }
[]
common name painting fictional humanoid
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 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 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(Q3305213)|c(Q6619679),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q182462
relation P941
type Q3305213
type Q6619679
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?a WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q6619679 ) ( ontology:Q3305213 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:Q3305213 ) ( ontology:Q6619679 ) } } . ?j property:P941 resource:Q182462 } } . FILTER ( ?x = ?d ) }
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 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 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 approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Janet Gaynor
relation inspired by
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?a WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:fictional_humanoid ) ( ontology:painting ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:painting ) ( ontology:fictional_humanoid ) } } . ?j property:inspired_by resource:Janet_Gaynor } } . FILTER ( ?x = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6487275
P937
Q56061
USER
What is the location where Lanny Johnson worked ?
(Q6487275,P937,c(Q56061))
action filter_type
action find
entity Q6487275
relation P937
type Q56061
['Q6487275', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q6487275 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Lanny Johnson
action filter_type
action find
entity Lanny Johnson
relation work location
type administrative territorial entity
['Lanny Johnson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lanny_Johnson property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q28218
SYSTEM
Baton Rouge
Q28218
(Q6487275,P937,c(Q56061))
action filter_type
action find
entity Q6487275
relation P937
type Q56061
The location Lanny Johnson worked is in [ANSWER]
['Q6487275', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q6487275 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Baton Rouge
The location Lanny Johnson worked is in Baton Rouge
Baton Rouge
action filter_type
action find
entity Lanny Johnson
relation work location
type administrative territorial entity
['Lanny Johnson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lanny_Johnson property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29552
P106
Q502895
USER
Which person has the profession as Democratic Party ?
(c(Q502895),P106,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q29552']
SELECT DISTINCT ?v WHERE { ?v property:P106 resource:Q29552 . ?v rdf:type ontology:Q502895 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Democratic Party']
SELECT DISTINCT ?v WHERE { ?v property:occupation resource:Democratic_Party . ?v rdf:type ontology:common_name }
[]
common name
Q361146
SYSTEM
Ruby Laffoon
Q361146
(c(Q502895),P106,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
[ANSWER] has the profession as Democratic Party
[{'concept': 'Q502895'}, 'P106', 'Q29552']
SELECT DISTINCT ?v WHERE { ?v property:P106 resource:Q29552 . ?v rdf:type ontology:Q502895 }
Ruby Laffoon
Ruby Laffoon has the profession as Democratic Party
Ruby Laffoon
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Democratic Party']
SELECT DISTINCT ?v WHERE { ?v property:occupation resource:Democratic_Party . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28218
P206
Q355304
USER
Which watercourse is located next to Baton Rouge ?
(Q28218,P206,c(Q355304))
action filter_type
action find
entity Q28218
relation P206
type Q355304
['Q28218', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?z WHERE { resource:Q28218 property:P206 ?z . ?z rdf:type ontology:Q355304 }
Baton Rouge
action filter_type
action find
entity Baton Rouge
relation located next to body of water
type watercourse
['Baton Rouge', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?z WHERE { resource:Baton_Rouge property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse }
[]
watercourse
Q1497
SYSTEM
Mississippi River
Q1497
(Q28218,P206,c(Q355304))
action filter_type
action find
entity Q28218
relation P206
type Q355304
[ANSWER] is located next to Baton Rouge
['Q28218', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?z WHERE { resource:Q28218 property:P206 ?z . ?z rdf:type ontology:Q355304 }
Mississippi River
Mississippi River is located next to Baton Rouge
Mississippi River
action filter_type
action find
entity Baton Rouge
relation located next to body of water
type watercourse
['Baton Rouge', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?z WHERE { resource:Baton_Rouge property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3593451
Q355304
USER
And how about île de la Quarantaine?
(Q3593451,P206,c(Q355304))
action filter_type
action find
entity Q3593451
relation P206
type Q355304
['Q3593451', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q3593451 property:P206 ?x . ?x rdf:type ontology:Q355304 }
île de la Quarantaine
action filter_type
action find
entity île de la Quarantaine
relation located next to body of water
type watercourse
['île de la Quarantaine', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:île_de_la_Quarantaine property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
watercourse
Q1369002
SYSTEM
Maroni
Q1369002
(Q3593451,P206,c(Q355304))
action filter_type
action find
entity Q3593451
relation P206
type Q355304
[ANSWER]
['Q3593451', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q3593451 property:P206 ?x . ?x rdf:type ontology:Q355304 }
Maroni
Maroni
action filter_type
action find
entity île de la Quarantaine
relation located next to body of water
type watercourse
['île de la Quarantaine', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:île_de_la_Quarantaine property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P206
Q355304 Q179049 Q20667921
USER
How many watercourses are situated nearby lesser number of nature reserves and french administrative divisions than that watercourse ?
(c(Q179049)|c(Q20667921),P206,c(Q355304))
action count
action less
action union
action find_reverse_tuple_counts
relation P206
type Q355304
type Q179049
action find_reverse_tuple_counts
relation P206
type Q355304
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q1369002
relation P206
type Q179049
type Q20667921
[[{'concept': 'Q179049'}, {'concept': 'Q20667921'}], 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P206 resource:Q1369002 . { VALUES ( ?g ) { ( ontology:Q179049 ) ( ontology:Q20667921 ) } . ?q rdf:type ?g } } } . FILTER ( ?r < ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q179049 ) ( ontology:Q20667921 ) } } GROUP BY ?m } }
action count
action less
action union
action find_reverse_tuple_counts
relation located next to body of water
type watercourse
type nature reserve
action find_reverse_tuple_counts
relation located next to body of water
type watercourse
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Maroni
relation located next to body of water
type nature reserve
type type of french administrative division
[[{'concept': 'nature reserve'}, {'concept': 'type of french administrative division'}], 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:located_next_to_body_of_water resource:Maroni . { VALUES ( ?g ) { ( ontology:nature_reserve ) ( ontology:type_of_french_administrative_division ) } . ?q rdf:type ?g } } } . FILTER ( ?r < ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:nature_reserve ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?m } }
[]
watercourse nature reserve type of french administrative division
SYSTEM
0
(c(Q179049)|c(Q20667921),P206,c(Q355304))
action count
action less
action union
action find_reverse_tuple_counts
relation P206
type Q355304
type Q179049
action find_reverse_tuple_counts
relation P206
type Q355304
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q1369002
relation P206
type Q179049
type Q20667921
[ANSWER]
[[{'concept': 'Q179049'}, {'concept': 'Q20667921'}], 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P206 resource:Q1369002 . { VALUES ( ?g ) { ( ontology:Q179049 ) ( ontology:Q20667921 ) } . ?q rdf:type ?g } } } . FILTER ( ?r < ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q179049 ) ( ontology:Q20667921 ) } } GROUP BY ?m } }
0
action count
action less
action union
action find_reverse_tuple_counts
relation located next to body of water
type watercourse
type nature reserve
action find_reverse_tuple_counts
relation located next to body of water
type watercourse
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Maroni
relation located next to body of water
type nature reserve
type type of french administrative division
[[{'concept': 'nature reserve'}, {'concept': 'type of french administrative division'}], 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:located_next_to_body_of_water resource:Maroni . { VALUES ( ?g ) { ( ontology:nature_reserve ) ( ontology:type_of_french_administrative_division ) } . ?q rdf:type ?g } } } . FILTER ( ?r < ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:nature_reserve ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?m } }
[]