Simple Question (Direct)
Simple Question
Q1448651
P19
Q15617994
USER
Where was Franz Rediger born ?
(Q1448651,P19,c(Q15617994))
action filter_type
action find
entity Q1448651
relation P19
type Q15617994
['Q1448651', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1448651 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Franz Rediger
action filter_type
action find
entity Franz Rediger
relation place of birth
type designation for an administrative territorial entity
['Franz Rediger', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Rediger property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q7028
SYSTEM
Kamen
Q7028
(Q1448651,P19,c(Q15617994))
action filter_type
action find
entity Q1448651
relation P19
type Q15617994
Franz Rediger was born in [ANSWER]
['Q1448651', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1448651 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Kamen
Franz Rediger was born in Kamen
Kamen
action filter_type
action find
entity Franz Rediger
relation place of birth
type designation for an administrative territorial entity
['Franz Rediger', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Rediger property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1448651
P39
Q12737077
USER
Which occupation was a position held by Franz Rediger ?
(Q1448651,P39,c(Q12737077))
action filter_type
action find
entity Q1448651
relation P39
type Q12737077
['Q1448651', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1448651 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Franz Rediger
action filter_type
action find
entity Franz Rediger
relation position held
type occupation
['Franz Rediger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Rediger property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q1448651,P39,c(Q12737077))
action filter_type
action find
entity Q1448651
relation P39
type Q12737077
The [ANSWER] was a position held by Franz Rediger
['Q1448651', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1448651 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
mayor
The mayor was a position held by Franz Rediger
mayor
action filter_type
action find
entity Franz Rediger
relation position held
type occupation
['Franz Rediger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Franz_Rediger property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30185 Q6873135
P39
Q502895
USER
Was Mirela Rusu responsible for occupying the position of that occupation ?
(Q6873135,P39,Q30185)
action is_in
entity Q6873135
action find
entity Q30185
relation P39
['Q6873135', 'P39', 'Q30185']
ASK WHERE { resource:Q30185 property:P39 resource:Q6873135 }
mayor Mirela Rusu
action is_in
entity Mirela Rusu
action find
entity mayor
relation position held
['Mirela Rusu', 'position held', 'mayor']
ASK WHERE { resource:mayor property:position_held resource:Mirela_Rusu }
[]
common name
SYSTEM
NO
(Q6873135,P39,Q30185)
action is_in
entity Q6873135
action find
entity Q30185
relation P39
[ANSWER]
['Q6873135', 'P39', 'Q30185']
ASK WHERE { resource:Q30185 property:P39 resource:Q6873135 }
No
action is_in
entity Mirela Rusu
action find
entity mayor
relation position held
['Mirela Rusu', 'position held', 'mayor']
ASK WHERE { resource:mayor property:position_held resource:Mirela_Rusu }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35548
P941
Q502895 Q2342494 Q15416
USER
How many people were the sources of inspiration for around the same number of collectables or television programs as Paul Cézanne ?
(c(Q2342494)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q35548
relation P941
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P941 resource:Q35548 . { VALUES ( ?a ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?k rdf:type ?a } } } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?p rdf:type ?w } GROUP BY ?u } }
Paul Cézanne
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Paul Cézanne
relation inspired by
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:inspired_by resource:Paul_Cézanne . { VALUES ( ?a ) { ( ontology:collectable ) ( ontology:television_program ) } . ?k rdf:type ?a } } } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:television_program ) ( ontology:collectable ) } . ?p rdf:type ?w } GROUP BY ?u } }
[]
common name collectable television program
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 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q9061 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 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 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q2342494)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q35548
relation P941
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P941 resource:Q35548 . { VALUES ( ?a ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?k rdf:type ?a } } } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?p rdf:type ?w } GROUP BY ?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 Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas 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 Karl Marx Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump 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 Dušan Popov 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 collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Paul Cézanne
relation inspired by
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:inspired_by resource:Paul_Cézanne . { VALUES ( ?a ) { ( ontology:collectable ) ( ontology:television_program ) } . ?k rdf:type ?a } } } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:television_program ) ( ontology:collectable ) } . ?p rdf:type ?w } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3481979
P941
Q502895 Q2342494 Q15416
USER
And also tell me about Sherri Stoner?
(c(Q2342494)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3481979
relation P941
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?a WHERE { { ?q property:P941 ?a . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q2342494 } UNION { ?q property:P941 ?a . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15416 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P941 resource:Q3481979 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q15416 } } } } . FILTER ( ?g = ?l ) }
Sherri Stoner
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Sherri Stoner
relation inspired by
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?a WHERE { { ?q property:inspired_by ?a . ?a rdf:type ontology:common_name . ?q rdf:type ontology:collectable } UNION { ?q property:inspired_by ?a . ?a rdf:type ontology:common_name . ?q rdf:type ontology:television_program } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:inspired_by resource:Sherri_Stoner . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:television_program } } } } . FILTER ( ?g = ?l ) }
[]
common name collectable television program
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 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q9061 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 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 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q2342494)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3481979
relation P941
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?a WHERE { { ?q property:P941 ?a . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q2342494 } UNION { ?q property:P941 ?a . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15416 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P941 resource:Q3481979 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q15416 } } } } . FILTER ( ?g = ?l ) }
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 Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas 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 Karl Marx Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump 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 Dušan Popov 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 collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Sherri Stoner
relation inspired by
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?a WHERE { { ?q property:inspired_by ?a . ?a rdf:type ontology:common_name . ?q rdf:type ontology:collectable } UNION { ?q property:inspired_by ?a . ?a rdf:type ontology:common_name . ?q rdf:type ontology:television_program } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:inspired_by resource:Sherri_Stoner . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:television_program } } } } . FILTER ( ?g = ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1448651
P106
Q12737077
USER
What does Franz Rediger do for a living ?
(Q1448651,P106,c(Q12737077))
action filter_type
action find
entity Q1448651
relation P106
type Q12737077
['Q1448651', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1448651 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Franz Rediger
action filter_type
action find
entity Franz Rediger
relation occupation
type occupation
['Franz Rediger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Franz_Rediger property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1448651,P106,c(Q12737077))
action filter_type
action find
entity Q1448651
relation P106
type Q12737077
Franz Rediger does for a living a [ANSWER]
['Q1448651', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1448651 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
Franz Rediger does for a living a politician
politician
action filter_type
action find
entity Franz Rediger
relation occupation
type occupation
['Franz Rediger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Franz_Rediger property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q654849
P1376
Q15617994 Q20667921 Q56061
USER
How many administrative territories have around the same number of french administrative divisions or administrative territories have their center of administration as Joe Gqabi District Municipality ?
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q654849
relation P1376
type Q20667921
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:P1376 ?d . ?l rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q56061 . ?l property:P1376 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1376 resource:Q654849 . { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } } } . FILTER ( ?a = ?f ) }
Joe Gqabi District Municipality
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Joe Gqabi District Municipality
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:capital_of ?d . ?l rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity . ?l property:capital_of ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:capital_of resource:Joe_Gqabi_District_Municipality . { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?a = ?f ) }
[]
designation for an administrative territorial entity type of french administrative division administrative territorial entity
SYSTEM
409
Q804 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q3044731 Q252 Q398 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q983 Q730 Q734 Q12574 Q1280 Q1282 Q12792 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q184 Q1029 Q1028 Q1390630 Q1452 Q12700 Q815731 Q31074 Q31075 Q96 Q12709 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q760 Q12804 Q12808 Q14762300 Q3326 Q3286 Q3528124 Q2719360 Q1243 Q945 Q3266 Q3105 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q45 Q43 Q792 Q1232680 Q231168 Q2281221 Q241 Q1965 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q3364 Q302479 Q3148 Q2567535 Q3068 Q3389 Q30644 Q236 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q902 Q1036 Q1032 Q1033 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q191 Q79 Q77 Q3044651 Q3044715 Q12816 Q30682 Q30683 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q712 Q710 Q3044777 Q2900529 Q12770 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q654849 Q2038939 Q311794 Q20 Q28 Q1366860 Q148 Q227 Q30650 Q223 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q967 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q3240 Q2662372 Q3249 Q686924 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q924 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1447 Q2360428 Q30656 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q12679 Q30815 Q17 Q153402 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q244 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q8575586 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q20667921)|c(Q56061),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q654849
relation P1376
type Q20667921
type Q56061
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:P1376 ?d . ?l rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q56061 . ?l property:P1376 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1376 resource:Q654849 . { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } } } . FILTER ( ?a = ?f ) }
Panama Israel Costa Rica Gênes Meuse Peru Essonne Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Guyane Indonesia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Loiret Umbria Lazio Vaucluse Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Belarus Mozambique Morocco Ourthe Basilicata Hautes-Pyrénées Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Cher Tibre Duchy of Luxembourg Veneto Togo Charente Vosges New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Portugal Turkey El Salvador Ithaque Zuyderzée Principality of Orange Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Drôme Ems-Occidental Ardèche Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort Bangladesh Uganda Niger Nigeria Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen West Coast District Municipality Dakahlia Governorate Saône-et-Loire Ismailia Governorate Qena Governorate ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Indre-et-Loire East Timor Rome Estonia Egypt Uruguay Louverture Ozama Yonne Matrouh Governorate Beni Suef Governorate Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Fiji Kiribati Nord Bezirk Lothringen Somme Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Norway Hungary Escaut People's Republic of China Azerbaijan New Valley Governorate Greenland Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Mer-Égée Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Tanzania Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Apulia Tijuana Municipality Faiyum Governorate Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Orne South Sinai Governorate Japan Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Umayyad Caliphate Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
409
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Joe Gqabi District Municipality
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:capital_of ?d . ?l rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity . ?l property:capital_of ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:capital_of resource:Joe_Gqabi_District_Municipality . { ?c rdf:type ?q . VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?a = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1578803
P463
Q874405
USER
Which organization was Hans Brandenburg a member of ?
(Q1578803,P463,c(Q874405))
action filter_type
action find
entity Q1578803
relation P463
type Q874405
['Q1578803', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q874405 . resource:Q1578803 property:P463 ?d }
Hans Brandenburg
action filter_type
action find
entity Hans Brandenburg
relation member of
type social group
['Hans Brandenburg', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:social_group . resource:Hans_Brandenburg property:member_of ?d }
[]
social group
Q805937
SYSTEM
Bamberger Dichterkreis
Q805937
(Q1578803,P463,c(Q874405))
action filter_type
action find
entity Q1578803
relation P463
type Q874405
Which organization was Hans Brandenburg a member of
['Q1578803', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q874405 . resource:Q1578803 property:P463 ?d }
Bamberger Dichterkreis
Which organization was Hans Brandenburg a member of
Bamberger Dichterkreis
action filter_type
action find
entity Hans Brandenburg
relation member of
type social group
['Hans Brandenburg', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:social_group . resource:Hans_Brandenburg property:member_of ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q805937
P17
Q7275
USER
Which state is that social group present in ?
(Q805937,P17,c(Q7275))
action filter_type
action find
entity Q805937
relation P17
type Q7275
['Q805937', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7275 . resource:Q805937 property:P17 ?q }
Bamberger Dichterkreis
action filter_type
action find
entity Bamberger Dichterkreis
relation country
type state
['Bamberger Dichterkreis', 'country', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:state . resource:Bamberger_Dichterkreis property:country ?q }
[]
state
Q7318
SYSTEM
Nazi Germany
Q7318
(Q805937,P17,c(Q7275))
action filter_type
action find
entity Q805937
relation P17
type Q7275
That social group is present in [ANSWER]
['Q805937', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7275 . resource:Q805937 property:P17 ?q }
Nazi Germany
That social group is present in Nazi Germany
Nazi Germany
action filter_type
action find
entity Bamberger Dichterkreis
relation country
type state
['Bamberger Dichterkreis', 'country', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:state . resource:Bamberger_Dichterkreis property:country ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7318
P35
Q502895
USER
Who are the heads of state of that one ?
(Q7318,P35,c(Q502895))
action filter_type
action find
entity Q7318
relation P35
type Q502895
['Q7318', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7318 property:P35 ?f . ?f rdf:type ontology:Q502895 }
Nazi Germany
action filter_type
action find
entity Nazi Germany
relation head of state
type common name
['Nazi Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Nazi_Germany property:head_of_state ?f . ?f rdf:type ontology:common_name }
[]
common name
Q2667 Q76437 Q352
SYSTEM
Paul von Hindenburg, Karl Dönitz, Adolf Hitler
Q2667 Q76437 Q352
(Q7318,P35,c(Q502895))
action filter_type
action find
entity Q7318
relation P35
type Q502895
The heads of state of that one are the [ANSWERS]
['Q7318', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q7318 property:P35 ?f . ?f rdf:type ontology:Q502895 }
Paul von Hindenburg Karl Dönitz Adolf Hitler
The heads of state of that one are the Paul von Hindenburg, Karl Dönitz and Adolf Hitler
Paul von Hindenburg Karl Dönitz Adolf Hitler
action filter_type
action find
entity Nazi Germany
relation head of state
type common name
['Nazi Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Nazi_Germany property:head_of_state ?f . ?f rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P921
Q15416 Q838948
USER
How many television programs and works of art were primarily based on that person ?
(c(Q15416),P921,Q352) (c(Q838948),P921,Q352) (c(Q15416),P921,Q2667) (c(Q838948),P921,Q2667) (c(Q15416),P921,Q76437) (c(Q838948),P921,Q76437) (c(Q15416),P921,Q352) (c(Q838948),P921,Q352)
[{'concept': 'Q15416'}, 'P921', 'Q352'] [{'concept': 'Q838948'}, 'P921', 'Q352'] [{'concept': 'Q15416'}, 'P921', 'Q2667'] [{'concept': 'Q838948'}, 'P921', 'Q2667'] [{'concept': 'Q15416'}, 'P921', 'Q76437'] [{'concept': 'Q838948'}, 'P921', 'Q76437'] [{'concept': 'Q15416'}, 'P921', 'Q352'] [{'concept': 'Q838948'}, 'P921', 'Q352']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q352 } UNION { ?y property:P921 resource:Q352 } UNION { ?z property:P921 resource:Q2667 } UNION { ?y property:P921 resource:Q2667 } UNION { ?z property:P921 resource:Q21176377 } UNION { ?y property:P921 resource:Q21176377 } UNION { ?z property:P921 resource:Q352 } UNION { ?y property:P921 resource:Q352 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
[{'concept': 'television program'}, 'main subject', 'Adolf Hitler'] [{'concept': 'work of art'}, 'main subject', 'Adolf Hitler'] [{'concept': 'television program'}, 'main subject', 'Paul von Hindenburg'] [{'concept': 'work of art'}, 'main subject', 'Paul von Hindenburg'] [{'concept': 'television program'}, 'main subject', 'Karl Dönitz'] [{'concept': 'work of art'}, 'main subject', 'Karl Dönitz'] [{'concept': 'television program'}, 'main subject', 'Adolf Hitler'] [{'concept': 'work of art'}, 'main subject', 'Adolf Hitler']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:Adolf_Hitler } UNION { ?y property:main_subject resource:Adolf_Hitler } UNION { ?z property:main_subject resource:Paul_von_Hindenburg } UNION { ?y property:main_subject resource:Paul_von_Hindenburg } UNION { ?z property:main_subject resource:Karl_Dönitz } UNION { ?y property:main_subject resource:Karl_Dönitz } UNION { ?z property:main_subject resource:Adolf_Hitler } UNION { ?y property:main_subject resource:Adolf_Hitler } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
television program work of art
Quantitative|Count|Mult. entity type|Clarification
Q352
SYSTEM
Did you mean Adolf Hitler ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q352 } UNION { ?y property:P921 resource:Q352 } UNION { ?z property:P921 resource:Q2667 } UNION { ?y property:P921 resource:Q2667 } UNION { ?z property:P921 resource:Q21176377 } UNION { ?y property:P921 resource:Q21176377 } UNION { ?z property:P921 resource:Q352 } UNION { ?y property:P921 resource:Q352 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
Did you mean Adolf Hitler ?
Adolf Hitler
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:Adolf_Hitler } UNION { ?y property:main_subject resource:Adolf_Hitler } UNION { ?z property:main_subject resource:Paul_von_Hindenburg } UNION { ?y property:main_subject resource:Paul_von_Hindenburg } UNION { ?z property:main_subject resource:Karl_Dönitz } UNION { ?y property:main_subject resource:Karl_Dönitz } UNION { ?z property:main_subject resource:Adolf_Hitler } UNION { ?y property:main_subject resource:Adolf_Hitler } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15416),P921,Q352) (c(Q838948),P921,Q352) (c(Q15416),P921,Q2667) (c(Q838948),P921,Q2667) (c(Q15416),P921,Q76437) (c(Q838948),P921,Q76437) (c(Q15416),P921,Q352) (c(Q838948),P921,Q352)
[{'concept': 'Q15416'}, 'P921', 'Q352'] [{'concept': 'Q838948'}, 'P921', 'Q352'] [{'concept': 'Q15416'}, 'P921', 'Q2667'] [{'concept': 'Q838948'}, 'P921', 'Q2667'] [{'concept': 'Q15416'}, 'P921', 'Q76437'] [{'concept': 'Q838948'}, 'P921', 'Q76437'] [{'concept': 'Q15416'}, 'P921', 'Q352'] [{'concept': 'Q838948'}, 'P921', 'Q352']
[{'concept': 'television program'}, 'main subject', 'Adolf Hitler'] [{'concept': 'work of art'}, 'main subject', 'Adolf Hitler'] [{'concept': 'television program'}, 'main subject', 'Paul von Hindenburg'] [{'concept': 'work of art'}, 'main subject', 'Paul von Hindenburg'] [{'concept': 'television program'}, 'main subject', 'Karl Dönitz'] [{'concept': 'work of art'}, 'main subject', 'Karl Dönitz'] [{'concept': 'television program'}, 'main subject', 'Adolf Hitler'] [{'concept': 'work of art'}, 'main subject', 'Adolf Hitler']
[]
SYSTEM
3 television programs and 8 works of art
Q818968 Q1965005 Q529353 Q152857 Q17515125 Q3214254 Q699685 Q163806 Q24045493 Q159054 Q604954
(c(Q15416),P921,Q352) (c(Q838948),P921,Q352) (c(Q15416),P921,Q2667) (c(Q838948),P921,Q2667) (c(Q15416),P921,Q76437) (c(Q838948),P921,Q76437) (c(Q15416),P921,Q352) (c(Q838948),P921,Q352)
[ANSWER]
[{'concept': 'Q15416'}, 'P921', 'Q352'] [{'concept': 'Q838948'}, 'P921', 'Q352'] [{'concept': 'Q15416'}, 'P921', 'Q2667'] [{'concept': 'Q838948'}, 'P921', 'Q2667'] [{'concept': 'Q15416'}, 'P921', 'Q76437'] [{'concept': 'Q838948'}, 'P921', 'Q76437'] [{'concept': 'Q15416'}, 'P921', 'Q352'] [{'concept': 'Q838948'}, 'P921', 'Q352']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q352 } UNION { ?y property:P921 resource:Q352 } UNION { ?z property:P921 resource:Q2667 } UNION { ?y property:P921 resource:Q2667 } UNION { ?z property:P921 resource:Q21176377 } UNION { ?y property:P921 resource:Q21176377 } UNION { ?z property:P921 resource:Q352 } UNION { ?y property:P921 resource:Q352 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
Hitler: The Rise of Evil The Nazis: A Warning from History The Bunker Downfall Race Hitler Hitler: The Last Ten Days The Last Ten Days Him Valkyrie Moloch
3 television programs and 8 works of art
[{'concept': 'television program'}, 'main subject', 'Adolf Hitler'] [{'concept': 'work of art'}, 'main subject', 'Adolf Hitler'] [{'concept': 'television program'}, 'main subject', 'Paul von Hindenburg'] [{'concept': 'work of art'}, 'main subject', 'Paul von Hindenburg'] [{'concept': 'television program'}, 'main subject', 'Karl Dönitz'] [{'concept': 'work of art'}, 'main subject', 'Karl Dönitz'] [{'concept': 'television program'}, 'main subject', 'Adolf Hitler'] [{'concept': 'work of art'}, 'main subject', 'Adolf Hitler']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:Adolf_Hitler } UNION { ?y property:main_subject resource:Adolf_Hitler } UNION { ?z property:main_subject resource:Paul_von_Hindenburg } UNION { ?y property:main_subject resource:Paul_von_Hindenburg } UNION { ?z property:main_subject resource:Karl_Dönitz } UNION { ?y property:main_subject resource:Karl_Dönitz } UNION { ?z property:main_subject resource:Adolf_Hitler } UNION { ?y property:main_subject resource:Adolf_Hitler } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications had atmost 18 people as the dubbing artist ?
(c(Q166142),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 18
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?w property:P725 ?o . ?w rdf:type ontology:Q166142 . ?o rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?u <= 18 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type application
type common name
value 18
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?w property:voice_actor ?o . ?w rdf:type ontology:application . ?o rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?u <= 18 ) }
[]
common name application
SYSTEM
102
Q16031150 Q1052131 Q5319170 Q1141963 Q602979 Q1371495 Q53362 Q1065670 Q870981 Q8059682 Q7379808 Q3546883 Q2578717 Q7379806 Q6902732 Q15588417 Q3274352 Q1191681 Q2709892 Q2061445 Q3291127 Q2987460 Q1986800 Q14831173 Q166060 Q1302197 Q1141572 Q1035512 Q27863 Q2887359 Q840449 Q338486 Q538150 Q483103 Q239288 Q756856 Q14785138 Q216995 Q3823700 Q2819427 Q2525598 Q3992270 Q838707 Q1068256 Q207981 Q1154327 Q1037042 Q1207525 Q2005910 Q1801455 Q699815 Q6133492 Q847471 Q1868703 Q483120 Q2627892 Q537389 Q706638 Q482472 Q23017199 Q482500 Q17911588 Q1153316 Q6143593 Q170489 Q839091 Q5944170 Q484072 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q182548 Q1347470 Q385228 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q4121008 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q2473832 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 18
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?w property:P725 ?o . ?w rdf:type ontology:Q166142 . ?o rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?u <= 18 ) }
Hyperdimension Neptunia PP Super Smash Bros. Melee Dynasty Warriors 8 Star Fox 64 Tokyo Majin System Shock 2 Bakemonogatari Shuffle! Super Smash Bros. Ys Seven Rune Factory 4 Hourglass of Summer Star Fox Adventures Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Project 575 Poyopoyo Kansatsu Nikki Battle Vixens Phantasy Star Online 2 Hyperdimension Neptunia Mk2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Umineko: When They Cry Princess Lover! Miracle Girls Danganronpa: Trigger Happy Havoc Sword Art Online God Eater 2 Kenran Butohsai Street Fighter X Tekken To Love-Ru Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Super Mario 64 Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Mario Kart Wii Gakuen Utopia Manabi Straight! Code Geass XIII Hitman 2: Silent Assassin Hyperdimension Neptunia Metroid: Other M Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Full Throttle Lollipop Chainsaw Nichijou Tales of Innocence Soul Eater Future GPX Cyber Formula School Rumble Marvel Avengers Academy Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Super Mario Galaxy Lucky Star Nora to Toki no Kōbō: Kiri no Mori no Majo Granado Espada A Certain Magical Index Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera Dungeon Fighter Online (DFO) Date A Live 11eyes: Tsumi to Batsu to Aganai no Shōjo Spice and Wolf Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Hyperdimension Neptunia Victory Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Tantei Opera Milky Holmes Fate/Extra
102
action count
action atmost
action find_tuple_counts
relation voice actor
type application
type common name
value 18
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?u ) WHERE { ?w property:voice_actor ?o . ?w rdf:type ontology:application . ?o rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?u <= 18 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20022427 Q1578803
P27
Q1048835
USER
Which political territories are the native countriesof Hans Brandenburg or Tony Analau ?
OR((Q1578803,P27,c(Q1048835)), (Q20022427,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1578803
relation P27
action find
entity Q20022427
relation P27
type Q1048835
{'OR': [['Q1578803', 'P27', {'concept': 'Q1048835'}], ['Q20022427', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . { ?s property:P27 ?v . VALUES ( ?s ) { ( resource:Q1578803 ) ( resource:Q20022427 ) } } }
Tony Analau Hans Brandenburg
action filter_type
action union
action find
entity Hans Brandenburg
relation country of citizenship
action find
entity Tony Analau
relation country of citizenship
type political territorial entity
{'OR': [['Hans Brandenburg', 'country of citizenship', {'concept': 'political territorial entity'}], ['Tony Analau', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . { ?s property:country_of_citizenship ?v . VALUES ( ?s ) { ( resource:Hans_Brandenburg ) ( resource:Tony_Analau ) } } }
[]
political territorial entity
Q685 Q183
SYSTEM
Solomon Islands, Germany
Q685 Q183
OR((Q1578803,P27,c(Q1048835)), (Q20022427,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1578803
relation P27
action find
entity Q20022427
relation P27
type Q1048835
[ANSWERS] are the native countriesof Hans Brandenburg or Tony Analau
{'OR': [['Q1578803', 'P27', {'concept': 'Q1048835'}], ['Q20022427', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . { ?s property:P27 ?v . VALUES ( ?s ) { ( resource:Q1578803 ) ( resource:Q20022427 ) } } }
Solomon Islands Germany
Solomon Islands and Germany are the native countriesof Hans Brandenburg or Tony Analau
Solomon Islands Germany
action filter_type
action union
action find
entity Hans Brandenburg
relation country of citizenship
action find
entity Tony Analau
relation country of citizenship
type political territorial entity
{'OR': [['Hans Brandenburg', 'country of citizenship', {'concept': 'political territorial entity'}], ['Tony Analau', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . { ?s property:country_of_citizenship ?v . VALUES ( ?s ) { ( resource:Hans_Brandenburg ) ( resource:Tony_Analau ) } } }
[]