Simple Question (Direct)
Simple Question
Q4209634
P735
Q82799
USER
Which name is Divya Narendra known by ?
(Q4209634,P735,c(Q82799))
action filter_type
action find
entity Q4209634
relation P735
type Q82799
['Q4209634', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q4209634 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Divya Narendra
action filter_type
action find
entity Divya Narendra
relation given name
type name
['Divya Narendra', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Divya_Narendra property:given_name ?l . ?l rdf:type ontology:name }
[]
name
Q16290281
SYSTEM
Divya
Q16290281
(Q4209634,P735,c(Q82799))
action filter_type
action find
entity Q4209634
relation P735
type Q82799
[ANSWER] Narendra is known as [ANSWER]
['Q4209634', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q4209634 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Divya
Divya Narendra is known as Divya
Divya
action filter_type
action find
entity Divya Narendra
relation given name
type name
['Divya Narendra', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Divya_Narendra property:given_name ?l . ?l rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16290281 Q16106423
P735
Q502895
USER
Does Charles Reynolds have that one as first name ?
(Q16106423,P735,Q16290281)
action is_in
entity Q16106423
action find
entity Q16290281
relation P735
['Q16106423', 'P735', 'Q16290281']
ASK WHERE { resource:Q16290281 property:P735 resource:Q16106423 }
Divya Charles Reynolds
action is_in
entity Charles Reynolds
action find
entity Divya
relation given name
['Charles Reynolds', 'given name', 'Divya']
ASK WHERE { resource:Divya property:given_name resource:Charles_Reynolds }
[]
common name
SYSTEM
NO
(Q16106423,P735,Q16290281)
action is_in
entity Q16106423
action find
entity Q16290281
relation P735
[ANSWER]
['Q16106423', 'P735', 'Q16290281']
ASK WHERE { resource:Q16290281 property:P735 resource:Q16106423 }
No
action is_in
entity Charles Reynolds
action find
entity Divya
relation given name
['Charles Reynolds', 'given name', 'Divya']
ASK WHERE { resource:Divya property:given_name resource:Charles_Reynolds }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q15709879 Q17335294
USER
Which names are expressed in min number of artwork series and coats of arms ?
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:P180 ?y . ?x rdf:type ontology:Q15709879 . ?y rdf:type ontology:Q82799 } UNION { ?x property:P180 ?y . ?y rdf:type ontology:Q82799 . ?x rdf:type ontology:Q17335294 } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:P180 ?e . ?e rdf:type ontology:Q82799 . ?r rdf:type ontology:Q15709879 } UNION { ?r property:P180 ?e . ?r rdf:type ontology:Q17335294 . ?e rdf:type ontology:Q82799 } } GROUP BY ?e } . FILTER ( ?c = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:depicts ?y . ?x rdf:type ontology:artwork_series . ?y rdf:type ontology:name } UNION { ?x property:depicts ?y . ?y rdf:type ontology:name . ?x rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:depicts ?e . ?e rdf:type ontology:name . ?r rdf:type ontology:artwork_series } UNION { ?r property:depicts ?e . ?r rdf:type ontology:flag_or_coat_of_arms . ?e rdf:type ontology:name } } GROUP BY ?e } . FILTER ( ?c = ?q ) }
[]
name artwork series flag or coat of arms
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q15709879)|c(Q17335294),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[ANSWERS] are expressed in min number of artwork series and coats of arms
[[{'concept': 'Q15709879'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:P180 ?y . ?x rdf:type ontology:Q15709879 . ?y rdf:type ontology:Q82799 } UNION { ?x property:P180 ?y . ?y rdf:type ontology:Q82799 . ?x rdf:type ontology:Q17335294 } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:P180 ?e . ?e rdf:type ontology:Q82799 . ?r rdf:type ontology:Q15709879 } UNION { ?r property:P180 ?e . ?r rdf:type ontology:Q17335294 . ?e rdf:type ontology:Q82799 } } GROUP BY ?e } . FILTER ( ?c = ?q ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
Leek, magi and Cynara scolymus are expressed in min number of artwork series and coats of arms
leek magi Cynara scolymus
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'artwork series'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:depicts ?y . ?x rdf:type ontology:artwork_series . ?y rdf:type ontology:name } UNION { ?x property:depicts ?y . ?y rdf:type ontology:name . ?x rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?r property:depicts ?e . ?e rdf:type ontology:name . ?r rdf:type ontology:artwork_series } UNION { ?r property:depicts ?e . ?r rdf:type ontology:flag_or_coat_of_arms . ?e rdf:type ontology:name } } GROUP BY ?e } . FILTER ( ?c = ?q ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7762059
Q874405
USER
And also tell me about The Saint Agnes School?
(Q7762059,P140,c(Q874405))
action filter_type
action find
entity Q7762059
relation P140
type Q874405
['Q7762059', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q7762059 property:P140 ?f . ?f rdf:type ontology:Q874405 }
The Saint Agnes School
action filter_type
action find
entity The Saint Agnes School
relation religion
type social group
['The Saint Agnes School', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:The_Saint_Agnes_School property:religion ?f . ?f rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q7762059,P140,c(Q874405))
action filter_type
action find
entity Q7762059
relation P140
type Q874405
[ANSWER]
['Q7762059', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q7762059 property:P140 ?f . ?f rdf:type ontology:Q874405 }
Catholicism
Catholicism
action filter_type
action find
entity The Saint Agnes School
relation religion
type social group
['The Saint Agnes School', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:The_Saint_Agnes_School property:religion ?f . ?f rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4938538 Q16106423
P27
Q15617994
USER
Which administrative territories do Charles Reynolds or Birgitta Bergman belong to ?
OR((Q16106423,P27,c(Q15617994)), (Q4938538,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16106423
relation P27
action find
entity Q4938538
relation P27
type Q15617994
{'OR': [['Q16106423', 'P27', {'concept': 'Q15617994'}], ['Q4938538', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?h ) { ( resource:Q16106423 ) ( resource:Q4938538 ) } . ?h property:P27 ?c } . ?c rdf:type ontology:Q15617994 }
Birgitta Bergman Charles Reynolds
action filter_type
action union
action find
entity Charles Reynolds
relation country of citizenship
action find
entity Birgitta Bergman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charles Reynolds', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Birgitta Bergman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?h ) { ( resource:Charles_Reynolds ) ( resource:Birgitta_Bergman ) } . ?h property:country_of_citizenship ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q34
SYSTEM
United Kingdom, Sweden
Q145 Q34
OR((Q16106423,P27,c(Q15617994)), (Q4938538,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16106423
relation P27
action find
entity Q4938538
relation P27
type Q15617994
Charles Reynolds or Birgitta Bergman belong to [ANSWERS]
{'OR': [['Q16106423', 'P27', {'concept': 'Q15617994'}], ['Q4938538', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?h ) { ( resource:Q16106423 ) ( resource:Q4938538 ) } . ?h property:P27 ?c } . ?c rdf:type ontology:Q15617994 }
United Kingdom Sweden
Charles Reynolds or Birgitta Bergman belong to United Kingdom and Sweden
United Kingdom Sweden
action filter_type
action union
action find
entity Charles Reynolds
relation country of citizenship
action find
entity Birgitta Bergman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Charles Reynolds', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Birgitta Bergman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?h ) { ( resource:Charles_Reynolds ) ( resource:Birgitta_Bergman ) } . ?h property:country_of_citizenship ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q733965
P941
Q502895 Q234460 Q340169
USER
How many people inspired approximately the same number of texts and medias as Jack Carlson ?
(c(Q234460)|c(Q340169),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q733965
relation P941
type Q234460
type Q340169
[[{'concept': 'Q234460'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:P941 ?o . ?o rdf:type ontology:Q502895 . ?x rdf:type ontology:Q340169 } UNION { ?x property:P941 ?o . ?o rdf:type ontology:Q502895 . ?x rdf:type ontology:Q234460 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P941 resource:Q733965 . { { ?p rdf:type ontology:Q234460 } UNION { ?p rdf:type ontology:Q340169 } } } } . FILTER ( ?e = ?w ) }
Jack Carlson
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action count
action filter_multi_types
action find_reverse
entity Jack Carlson
relation inspired by
type text
type media
[[{'concept': 'text'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:inspired_by ?o . ?o rdf:type ontology:common_name . ?x rdf:type ontology:media } UNION { ?x property:inspired_by ?o . ?o rdf:type ontology:common_name . ?x rdf:type ontology:text } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:inspired_by resource:Jack_Carlson . { { ?p rdf:type ontology:text } UNION { ?p rdf:type ontology:media } } } } . FILTER ( ?e = ?w ) }
[]
common name text media
SYSTEM
209
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 Q116462 Q357786 Q1779 Q310476 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 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 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q234460)|c(Q340169),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q733965
relation P941
type Q234460
type Q340169
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:P941 ?o . ?o rdf:type ontology:Q502895 . ?x rdf:type ontology:Q340169 } UNION { ?x property:P941 ?o . ?o rdf:type ontology:Q502895 . ?x rdf:type ontology:Q234460 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P941 resource:Q733965 . { { ?p rdf:type ontology:Q234460 } UNION { ?p rdf:type ontology:Q340169 } } } } . FILTER ( ?e = ?w ) }
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 Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens 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 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
209
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action count
action filter_multi_types
action find_reverse
entity Jack Carlson
relation inspired by
type text
type media
[[{'concept': 'text'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?e ) WHERE { { ?x property:inspired_by ?o . ?o rdf:type ontology:common_name . ?x rdf:type ontology:media } UNION { ?x property:inspired_by ?o . ?o rdf:type ontology:common_name . ?x rdf:type ontology:text } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:inspired_by resource:Jack_Carlson . { { ?p rdf:type ontology:text } UNION { ?p rdf:type ontology:media } } } } . FILTER ( ?e = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q183221
P941
Q502895 Q234460 Q340169
USER
And how about Antoine Watteau?
(c(Q234460)|c(Q340169),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q183221
relation P941
type Q234460
type Q340169
[[{'concept': 'Q234460'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { { ?j rdf:type ontology:Q234460 } UNION { ?j rdf:type ontology:Q340169 } } . ?j property:P941 resource:Q183221 } } . FILTER ( ?p = ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?m WHERE { VALUES ( ?r ) { ( ontology:Q234460 ) ( ontology:Q340169 ) } . ?a rdf:type ?r } GROUP BY ?m } }
Antoine Watteau
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action count
action filter_multi_types
action find_reverse
entity Antoine Watteau
relation inspired by
type text
type media
[[{'concept': 'text'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { { ?j rdf:type ontology:text } UNION { ?j rdf:type ontology:media } } . ?j property:inspired_by resource:Antoine_Watteau } } . FILTER ( ?p = ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?m WHERE { VALUES ( ?r ) { ( ontology:text ) ( ontology:media ) } . ?a rdf:type ?r } GROUP BY ?m } }
[]
common name text media
SYSTEM
209
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 Q116462 Q357786 Q1779 Q310476 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 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 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q234460)|c(Q340169),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q183221
relation P941
type Q234460
type Q340169
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { { ?j rdf:type ontology:Q234460 } UNION { ?j rdf:type ontology:Q340169 } } . ?j property:P941 resource:Q183221 } } . FILTER ( ?p = ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?m WHERE { VALUES ( ?r ) { ( ontology:Q234460 ) ( ontology:Q340169 ) } . ?a rdf:type ?r } GROUP BY ?m } }
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 Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens 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 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
209
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action count
action filter_multi_types
action find_reverse
entity Antoine Watteau
relation inspired by
type text
type media
[[{'concept': 'text'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { { ?j rdf:type ontology:text } UNION { ?j rdf:type ontology:media } } . ?j property:inspired_by resource:Antoine_Watteau } } . FILTER ( ?p = ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?m WHERE { VALUES ( ?r ) { ( ontology:text ) ( ontology:media ) } . ?a rdf:type ?r } GROUP BY ?m } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183221
P170
Q340169
USER
Which medias were created by that person ?
action filter_type
action find_reverse
entity Q183221
relation P170
type Q340169
SELECT DISTINCT ?n WHERE { ?n property:P170 resource:Q183221 . ?n rdf:type ontology:Q340169 }
Antoine Watteau
action filter_type
action find_reverse
entity Antoine Watteau
relation creator
type media
SELECT DISTINCT ?n WHERE { ?n property:creator resource:Antoine_Watteau . ?n rdf:type ontology:media }
[]
media
Q18683315 Q18683320 Q19968909
SYSTEM
Diana Bathing, Two Figure Studies of a Young Woman, Study of a Standing Dancer with an Outstretched Arm
Q18683320 Q19968909 Q26806397 Q18683315
action filter_type
action find_reverse
entity Q183221
relation P170
type Q340169
[ANSWERS] were created by that person
SELECT DISTINCT ?n WHERE { ?n property:P170 resource:Q183221 . ?n rdf:type ontology:Q340169 }
Two Figure Studies of a Young Woman Study of a Standing Dancer with an Outstretched Arm Flora Diana Bathing
Diana Bathing, Two Figure Studies of a Young Woman and Study of a Standing Dancer with an Outstretched Arm were created by that person
Diana Bathing Two Figure Studies of a Young Woman Study of a Standing Dancer with an Outstretched Arm
action filter_type
action find_reverse
entity Antoine Watteau
relation creator
type media
SELECT DISTINCT ?n WHERE { ?n property:creator resource:Antoine_Watteau . ?n rdf:type ontology:media }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18683315
P276
Q2668072
USER
Which collection is the place where that media is located ?
(Q18683315,P276,c(Q2668072))
action filter_type
action find
entity Q18683315
relation P276
type Q2668072
['Q18683315', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?c WHERE { resource:Q18683315 property:P276 ?c . ?c rdf:type ontology:Q2668072 }
Diana Bathing
action filter_type
action find
entity Diana Bathing
relation location
type collection
['Diana Bathing', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?c WHERE { resource:Diana_Bathing property:location ?c . ?c rdf:type ontology:collection }
[]
collection
Clarification for simple ques.
Q18683315
SYSTEM
Did you mean Diana Bathing ?
Q18683315 Q18683320 Q19968909
(Q18683315,P276,c(Q2668072)) (Q18683320,P276,c(Q2668072)) (Q19968909,P276,c(Q2668072))
[ANSWER]
['Q18683315', 'P276', {'concept': 'Q2668072'}] ['Q18683320', 'P276', {'concept': 'Q2668072'}] ['Q19968909', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?c WHERE { resource:Q18683315 property:P276 ?c . ?c rdf:type ontology:Q2668072 }
Diana Bathing Two Figure Studies of a Young Woman Study of a Standing Dancer with an Outstretched Arm
Did you mean Diana Bathing ?
Diana Bathing
['Diana Bathing', 'location', {'concept': 'collection'}] ['Two Figure Studies of a Young Woman', 'location', {'concept': 'collection'}] ['Study of a Standing Dancer with an Outstretched Arm', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?c WHERE { resource:Diana_Bathing property:location ?c . ?c rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18683315,P276,c(Q2668072))
['Q18683315', 'P276', {'concept': 'Q2668072'}]
['Diana Bathing', 'location', {'concept': 'collection'}]
[]
Q371908
SYSTEM
Albertina
Q371908
(Q18683315,P276,c(Q2668072))
action filter_type
action find
entity Q18683315
relation P276
type Q2668072
[ANSWER] is the place where that media is located
['Q18683315', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?c WHERE { resource:Q18683315 property:P276 ?c . ?c rdf:type ontology:Q2668072 }
Albertina
Albertina is the place where that media is located
Albertina
action filter_type
action find
entity Diana Bathing
relation location
type collection
['Diana Bathing', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?c WHERE { resource:Diana_Bathing property:location ?c . ?c rdf:type ontology:collection }
[]