Simple Question (Direct)
Simple Question
Q21498088
P106
Q12737077
USER
Which occupations are the professions of Kurt Pelda ?
(Q21498088,P106,c(Q12737077))
action filter_type
action find
entity Q21498088
relation P106
type Q12737077
['Q21498088', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q21498088 property:P106 ?i }
Kurt Pelda
action filter_type
action find
entity Kurt Pelda
relation occupation
type occupation
['Kurt Pelda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Kurt_Pelda property:occupation ?i }
[]
occupation
Q1930187 Q188094 Q15980158
SYSTEM
journalist, economist, non-fiction writer
Q1930187 Q188094 Q15980158 Q164236 Q876864
(Q21498088,P106,c(Q12737077))
action filter_type
action find
entity Q21498088
relation P106
type Q12737077
The professions of Kurt Pelda are [ANSWERS]
['Q21498088', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q21498088 property:P106 ?i }
journalist economist non-fiction writer war correspondent contributing editor
The professions of Kurt Pelda are journalist, economist and non-fiction writer
journalist economist non-fiction writer
action filter_type
action find
entity Kurt Pelda
relation occupation
type occupation
['Kurt Pelda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Kurt_Pelda property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21498088
P27
Q15617994
USER
Which administrative territory does Kurt Pelda belong to ?
(Q21498088,P27,c(Q15617994))
action filter_type
action find
entity Q21498088
relation P27
type Q15617994
['Q21498088', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q21498088 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Kurt Pelda
action filter_type
action find
entity Kurt Pelda
relation country of citizenship
type designation for an administrative territorial entity
['Kurt Pelda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Kurt_Pelda property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q21498088,P27,c(Q15617994))
action filter_type
action find
entity Q21498088
relation P27
type Q15617994
Kurt Pelda belongs to [ANSWER]
['Q21498088', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q21498088 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Switzerland
Kurt Pelda belongs to Switzerland
Switzerland
action filter_type
action find
entity Kurt Pelda
relation country of citizenship
type designation for an administrative territorial entity
['Kurt Pelda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Kurt_Pelda property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21498088
P21
Q290
USER
Which sex does that person belong to ?
(Q39,P21,c(Q290))
action filter_type
action find
entity Q21498088
relation P21
type Q290
['Q39', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q21498088 property:P21 ?l }
Kurt Pelda
action filter_type
action find
entity Kurt Pelda
relation gender
type sex
['Switzerland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Kurt_Pelda property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q39,P21,c(Q290))
action filter_type
action find
entity Q21498088
relation P21
type Q290
That person belongs to [ANSWER]
['Q39', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q21498088 property:P21 ?l }
male
That person belongs to male
male
action filter_type
action find
entity Kurt Pelda
relation gender
type sex
['Switzerland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Kurt_Pelda property:gender ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q16421859
P21
Q502895
USER
Is Þorvarður Erlendsson a that sex ?
(Q16421859,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q16421859
relation P21
['Q16421859', 'P21', 'Q6581097']
ASK WHERE { resource:Q16421859 property:P21 resource:Q6581097 }
male Þorvarður Erlendsson
action is_in
entity male
action find
entity Þorvarður Erlendsson
relation gender
['Þorvarður Erlendsson', 'gender', 'male']
ASK WHERE { resource:Þorvarður_Erlendsson property:gender resource:male }
[]
common name
SYSTEM
YES
(Q16421859,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q16421859
relation P21
[ANSWER]
['Q16421859', 'P21', 'Q6581097']
ASK WHERE { resource:Q16421859 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Þorvarður Erlendsson
relation gender
['Þorvarður Erlendsson', 'gender', 'male']
ASK WHERE { resource:Þorvarður_Erlendsson property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q733965
P941
Q502895 Q14514600 Q3305213
USER
How many people were lesser number of groups of fictional characters or paintings inspired by than Jack Carlson ?
(c(Q14514600)|c(Q3305213),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q733965
relation P941
type Q14514600
type Q3305213
[[{'concept': 'Q14514600'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?w WHERE { VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q14514600 ) } . ?x rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P941 resource:Q733965 . { { ?h rdf:type ontology:Q14514600 } UNION { ?h rdf:type ontology:Q3305213 } } } } . FILTER ( ?o < ?n ) }
Jack Carlson
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Jack Carlson
relation inspired by
type group of fictional characters
type painting
[[{'concept': 'group of fictional characters'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?w WHERE { VALUES ( ?t ) { ( ontology:painting ) ( ontology:group_of_fictional_characters ) } . ?x rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:inspired_by resource:Jack_Carlson . { { ?h rdf:type ontology:group_of_fictional_characters } UNION { ?h rdf:type ontology:painting } } } } . FILTER ( ?o < ?n ) }
[]
common name group of fictional characters painting
SYSTEM
208
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 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 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 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 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q14514600)|c(Q3305213),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q733965
relation P941
type Q14514600
type Q3305213
[ANSWER]
[[{'concept': 'Q14514600'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?w WHERE { VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q14514600 ) } . ?x rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P941 resource:Q733965 . { { ?h rdf:type ontology:Q14514600 } UNION { ?h rdf:type ontology:Q3305213 } } } } . FILTER ( ?o < ?n ) }
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 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 Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard 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 Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
208
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Jack Carlson
relation inspired by
type group of fictional characters
type painting
[[{'concept': 'group of fictional characters'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?w WHERE { VALUES ( ?t ) { ( ontology:painting ) ( ontology:group_of_fictional_characters ) } . ?x rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:inspired_by resource:Jack_Carlson . { { ?h rdf:type ontology:group_of_fictional_characters } UNION { ?h rdf:type ontology:painting } } } } . FILTER ( ?o < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3498875
P941
Q502895 Q14514600 Q3305213
USER
And what about Steve Carlson?
(c(Q14514600)|c(Q3305213),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q3498875
relation P941
type Q14514600
type Q3305213
[[{'concept': 'Q14514600'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:P941 ?f . ?f rdf:type ontology:Q502895 . ?o rdf:type ontology:Q14514600 } UNION { ?o rdf:type ontology:Q3305213 . ?f rdf:type ontology:Q502895 . ?o property:P941 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P941 resource:Q3498875 . { { ?r rdf:type ontology:Q14514600 } UNION { ?r rdf:type ontology:Q3305213 } } } } . FILTER ( ?x < ?g ) }
Steve Carlson
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Steve Carlson
relation inspired by
type group of fictional characters
type painting
[[{'concept': 'group of fictional characters'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:inspired_by ?f . ?f rdf:type ontology:common_name . ?o rdf:type ontology:group_of_fictional_characters } UNION { ?o rdf:type ontology:painting . ?f rdf:type ontology:common_name . ?o property:inspired_by ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:inspired_by resource:Steve_Carlson . { { ?r rdf:type ontology:group_of_fictional_characters } UNION { ?r rdf:type ontology:painting } } } } . FILTER ( ?x < ?g ) }
[]
common name group of fictional characters painting
SYSTEM
208
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 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 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 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 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q14514600)|c(Q3305213),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q3498875
relation P941
type Q14514600
type Q3305213
[ANSWER]
[[{'concept': 'Q14514600'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:P941 ?f . ?f rdf:type ontology:Q502895 . ?o rdf:type ontology:Q14514600 } UNION { ?o rdf:type ontology:Q3305213 . ?f rdf:type ontology:Q502895 . ?o property:P941 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P941 resource:Q3498875 . { { ?r rdf:type ontology:Q14514600 } UNION { ?r rdf:type ontology:Q3305213 } } } } . FILTER ( ?x < ?g ) }
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 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 Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard 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 Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
208
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Steve Carlson
relation inspired by
type group of fictional characters
type painting
[[{'concept': 'group of fictional characters'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { { ?o property:inspired_by ?f . ?f rdf:type ontology:common_name . ?o rdf:type ontology:group_of_fictional_characters } UNION { ?o rdf:type ontology:painting . ?f rdf:type ontology:common_name . ?o property:inspired_by ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:inspired_by resource:Steve_Carlson . { { ?r rdf:type ontology:group_of_fictional_characters } UNION { ?r rdf:type ontology:painting } } } } . FILTER ( ?x < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P551
Q502895
USER
Which people live in Switzerland ?
(c(Q502895),P551,Q39)
action filter_type
action find_reverse
entity Q39
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q39']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q39 . ?v rdf:type ontology:Q502895 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Switzerland']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Switzerland . ?v rdf:type ontology:common_name }
[]
common name
Q131433 Q5040332 Q7604
SYSTEM
Shania Twain, Carl Holty, Leonhard Euler
Q333713 Q9014784 Q2977245 Q116960 Q117008 Q9673 Q16615183 Q1554682 Q2976979 Q1512497 Q131433 Q12036655 Q125458 Q3617481 Q5040332 Q18642388 Q13360671 Q3087670 Q26922710 Q17486002 Q8960746 Q23759321 Q17319976 Q374118 Q2249757 Q2221144 Q1065156 Q11192 Q549886 Q7604 Q26820934 Q12007399 Q3218950 Q16016263 Q1078090 Q2545899 Q12296038
(c(Q502895),P551,Q39)
action filter_type
action find_reverse
entity Q39
relation P551
type Q502895
[ANSWERS] live in Switzerland
[{'concept': 'Q502895'}, 'P551', 'Q39']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q39 . ?v rdf:type ontology:Q502895 }
Alistair MacLean José Ruiz Santaella Claude Dauphin Albert Eschenmoser Michael Grätzel Lewis Hamilton Wiktoria Padlewska Gunild Feigenwinter Claude Berda Koichi Sugimura Shania Twain Michaela Bakala Jürgen Theobaldy Anilda Ibrahimi Carl Holty Martin Koenig Ivo Werner Frieda Rossel Aline Gohard-Radenkovic HJ Lim Facundo Agudin Martial Knaebel Alfred Aeppli Adrian Scheidegger Damyan Velchev Sandra Wöhe Charles Kessler Kimi Räikkönen Anita Lenti Leonhard Euler Jean-Pierre Masclet Trent Herbst Laurence Vidal Ruth Leach Amonette Christa Kanitz Walter Rebell Tania Schellhorn
Shania Twain, Carl Holty and Leonhard Euler live in Switzerland
Shania Twain Carl Holty Leonhard Euler
action filter_type
action find_reverse
entity Switzerland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Switzerland']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Switzerland . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P710
Q930933
USER
Which relationship was Switzerland a participant of ?
(c(Q930933),P710,Q39)
action filter_type
action find_reverse
entity Q39
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q39']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q39 . ?r rdf:type ontology:Q930933 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Switzerland']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Switzerland . ?r rdf:type ontology:relationship }
[]
relationship
Q4793366
SYSTEM
Armenia–Switzerland relations
Q4793366
(c(Q930933),P710,Q39)
action filter_type
action find_reverse
entity Q39
relation P710
type Q930933
Which relationship was Switzerland a participant of
[{'concept': 'Q930933'}, 'P710', 'Q39']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q39 . ?r rdf:type ontology:Q930933 }
Armenia–Switzerland relations
Which relationship was Switzerland a participant of
Armenia–Switzerland relations
action filter_type
action find_reverse
entity Switzerland
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Switzerland']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Switzerland . ?r rdf:type ontology:relationship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4793366
P17
Q15617994
USER
Which administrative territory is that relationship located in ?
(Q4793366,P17,c(Q15617994))
action filter_type
action find
entity Q4793366
relation P17
type Q15617994
['Q4793366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4793366 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Armenia–Switzerland relations
action filter_type
action find
entity Armenia–Switzerland relations
relation country
type designation for an administrative territorial entity
['Armenia–Switzerland relations', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Armenia–Switzerland_relations property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q399
SYSTEM
Armenia
Q399
(Q4793366,P17,c(Q15617994))
action filter_type
action find
entity Q4793366
relation P17
type Q15617994
That relationship is located in [ANSWER]
['Q4793366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4793366 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Armenia
That relationship is located in Armenia
Armenia
action filter_type
action find
entity Armenia–Switzerland relations
relation country
type designation for an administrative territorial entity
['Armenia–Switzerland relations', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Armenia–Switzerland_relations property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q15416
USER
Which administrative territories did less number of film genres and television programs originate than that administrative territory ?
(c(Q201658)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q399
relation P495
type Q201658
type Q15416
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { VALUES ( ?d ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } . ?f rdf:type ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P495 resource:Q399 . { VALUES ( ?h ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } . ?n rdf:type ?h } } } . FILTER ( ?b < ?o ) }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Armenia
relation country of origin
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { VALUES ( ?d ) { ( ontology:film_genre ) ( ontology:television_program ) } . ?f rdf:type ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:country_of_origin resource:Armenia . { VALUES ( ?h ) { ( ontology:film_genre ) ( ontology:television_program ) } . ?n rdf:type ?h } } } . FILTER ( ?b < ?o ) }
[]
designation for an administrative territorial entity film genre television program
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q805 Q804 Q800 Q1462 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q837 Q1460 Q398 Q657 Q792 Q790 Q4628 Q796 Q954 Q889 Q958 Q986 Q826 Q241 Q242 Q244 Q811 Q153136 Q924 Q423 Q983 Q851 Q733 Q29999 Q819 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1027 Q1020 Q184 Q1028 Q736 Q786 Q227 Q223 Q221 Q229 Q347 Q1036 Q1037 Q1032 Q1030 Q967 Q962 Q963 Q115 Q114 Q754 Q750 Q211 Q217 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q858 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q201658)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q399
relation P495
type Q201658
type Q15416
[ANSWERS] less number of film genres and television programs originated than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { VALUES ( ?d ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } . ?f rdf:type ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P495 resource:Q399 . { VALUES ( ?h ) { ( ontology:Q201658 ) ( ontology:Q15416 ) } . ?n rdf:type ?h } } } . FILTER ( ?b < ?o ) }
Yemen Panama Costa Rica Sardinia Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Nepal Sicily Bahrain Chad El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Eritrea Maldives Cuba Belize Barbados Nicaragua Habsburg Empire Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Laos Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Brunei Sudan Mauritania Mauritius Malawi Belarus Morocco Ecuador Dominican Republic Azerbaijan Greenland Republic of Macedonia Cyprus Liechtenstein Uganda Rwanda Niger Namibia Burundi Benin Botswana Ethiopia Kenya Trinidad and Tobago Bolivia Latvia Republic of Moldova Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
Georgia, Zambia and Belarus less number of film genres and television programs originated than that administrative territory
Georgia Zambia Belarus
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Armenia
relation country of origin
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?v WHERE { VALUES ( ?d ) { ( ontology:film_genre ) ( ontology:television_program ) } . ?f rdf:type ?d } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:country_of_origin resource:Armenia . { VALUES ( ?h ) { ( ontology:film_genre ) ( ontology:television_program ) } . ?n rdf:type ?h } } } . FILTER ( ?b < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q398
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with more number of administrative territories than Bahrain ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q398 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?n ) WHERE { ?i property:P530 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?i } }
Bahrain
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Bahrain property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?n ) WHERE { ?i property:diplomatic_relation ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with more number of administrative territories than Bahrain
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Q398 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?n ) WHERE { ?i property:P530 ?d . ?i rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?i } }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have diplomatic relationships with more number of administrative territories than Bahrain
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { resource:Bahrain property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?n ) WHERE { ?i property:diplomatic_relation ?d . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q222
P530
Q15617994 Q15617994
USER
And how about Albania?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?m ) WHERE { ?z property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q222 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?q ) }
Albania
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?m ) WHERE { ?z property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Albania property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q796 Q794 Q30 Q38 Q347 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?m ) WHERE { ?z property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q222 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?m > ?q ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Serbia Russia Turkey Brazil Iraq Iran United States of America Italy Liechtenstein Japan Egypt Libya Cape Verde Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?m ) WHERE { ?z property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Albania property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m > ?q ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2064952
P530
Q1048835
USER
Are Strutynka known to have diplomatic connections with those administrative territories ?
(Q2064952,P530,Q38) (Q2064952,P530,Q155) (Q2064952,P530,Q30)
action is_in
entity prev_answer
action find
entity Q2064952
relation P530
['Q2064952', 'P530', 'Q38'] ['Q2064952', 'P530', 'Q155'] ['Q2064952', 'P530', 'Q30']
ASK WHERE { resource:Q2064952 property:P530 ?k . VALUES ( ?k ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } }
Strutynka
action is_in
entity prev_answer
action find
entity Strutynka
relation diplomatic relation
['Strutynka', 'diplomatic relation', 'Italy'] ['Strutynka', 'diplomatic relation', 'Brazil'] ['Strutynka', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Strutynka property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } }
[]
political territorial entity
SYSTEM
NO
(Q2064952,P530,Q38) (Q2064952,P530,Q155) (Q2064952,P530,Q30)
action is_in
entity prev_answer
action find
entity Q2064952
relation P530
[ANSWER]
['Q2064952', 'P530', 'Q38'] ['Q2064952', 'P530', 'Q155'] ['Q2064952', 'P530', 'Q30']
ASK WHERE { resource:Q2064952 property:P530 ?k . VALUES ( ?k ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } }
No
action is_in
entity prev_answer
action find
entity Strutynka
relation diplomatic relation
['Strutynka', 'diplomatic relation', 'Italy'] ['Strutynka', 'diplomatic relation', 'Brazil'] ['Strutynka', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Strutynka property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } }
[]