Simple Question (Direct)
Simple Question
Q2831206
P21
Q290
USER
Which sex does Albert Gorge have ?
(Q2831206,P21,c(Q290))
action filter_type
action find
entity Q2831206
relation P21
type Q290
['Q2831206', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q2831206 property:P21 ?z . ?z rdf:type ontology:Q290 }
Albert Gorge
action filter_type
action find
entity Albert Gorge
relation gender
type sex
['Albert Gorge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Albert_Gorge property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2831206,P21,c(Q290))
action filter_type
action find
entity Q2831206
relation P21
type Q290
Albert Gorge has a [ANSWER]
['Q2831206', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q2831206 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Albert Gorge has a male
male
action filter_type
action find
entity Albert Gorge
relation gender
type sex
['Albert Gorge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Albert_Gorge property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2831206
P39
Q12737077
USER
What was the position held by that person ?
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q2831206
relation P39
type Q12737077
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2831206 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Albert Gorge
action filter_type
action find
entity Albert Gorge
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Albert_Gorge property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q2831206
relation P39
type Q12737077
The position held by that person was a member of the French National Assembly
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2831206 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by that person was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Albert Gorge
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Albert_Gorge property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P1001
Q15617994
USER
Which administrative territory comes under the supervision of that occupation ?
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3044918 property:P1001 ?a . ?a rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
[ANSWER] comes under the supervision of that occupation
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3044918 property:P1001 ?a . ?a rdf:type ontology:Q15617994 }
France
France comes under the supervision of that occupation
France
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2199031
Q15617994
USER
And what about Minister of Justice of Serbia?
(Q2199031,P1001,c(Q15617994))
action filter_type
action find
entity Q2199031
relation P1001
type Q15617994
['Q2199031', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2199031 property:P1001 ?b . ?b rdf:type ontology:Q15617994 }
Minister of Justice of Serbia
action filter_type
action find
entity Minister of Justice of Serbia
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Justice of Serbia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Minister_of_Justice_of_Serbia property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q2199031,P1001,c(Q15617994))
action filter_type
action find
entity Q2199031
relation P1001
type Q15617994
[ANSWER]
['Q2199031', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2199031 property:P1001 ?b . ?b rdf:type ontology:Q15617994 }
Serbia
Serbia
action filter_type
action find
entity Minister of Justice of Serbia
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Justice of Serbia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Minister_of_Justice_of_Serbia property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4221498
P110
Q502895 Q571 Q2342494
USER
How many people had done the illustration of more number of books and collectables than Richard Kirk ?
(c(Q571)|c(Q2342494),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q4221498
relation P110
type Q571
type Q2342494
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?m ) WHERE { { ?i rdf:type ontology:Q502895 . ?u rdf:type ontology:Q571 . ?u property:P110 ?i } UNION { ?u property:P110 ?i . ?u rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { { ?d rdf:type ontology:Q571 } UNION { ?d rdf:type ontology:Q2342494 } } . ?d property:P110 resource:Q4221498 } } . FILTER ( ?m > ?t ) }
Richard Kirk
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Richard Kirk
relation illustrator
type book
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?m ) WHERE { { ?i rdf:type ontology:common_name . ?u rdf:type ontology:book . ?u property:illustrator ?i } UNION { ?u property:illustrator ?i . ?u rdf:type ontology:collectable . ?i rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { { ?d rdf:type ontology:book } UNION { ?d rdf:type ontology:collectable } } . ?d property:illustrator resource:Richard_Kirk } } . FILTER ( ?m > ?t ) }
[]
common name book collectable
SYSTEM
231
Q7184812 Q5335747 Q3519488 Q457881 Q5079712 Q6294209 Q6755879 Q892 Q7381538 Q721300 Q560015 Q982401 Q6104584 Q5056212 Q5537759 Q442386 Q3245042 Q6788819 Q932944 Q5109897 Q6742320 Q6830363 Q5335618 Q7270705 Q650991 Q5400805 Q5569216 Q8018893 Q1012900 Q2296116 Q3445791 Q7406676 Q706794 Q4726226 Q1364808 Q704689 Q1335436 Q7925680 Q7325472 Q293162 Q201157 Q775662 Q14766926 Q7150924 Q6396793 Q5349456 Q4977368 Q81649 Q956622 Q3509579 Q705267 Q5235360 Q122644 Q1161631 Q4795228 Q538533 Q6408013 Q6396491 Q7029528 Q3102425 Q715383 Q3296245 Q525713 Q2550486 Q430718 Q5568722 Q3379681 Q6112682 Q7609173 Q360466 Q96116 Q5592199 Q5203723 Q5921198 Q1494309 Q315560 Q102108 Q2526516 Q2330788 Q5649104 Q841310 Q2831042 Q309945 Q382031 Q7352570 Q656323 Q324633 Q62073 Q4893728 Q6694704 Q5534340 Q1507860 Q704553 Q5536737 Q6668251 Q274909 Q6688188 Q214565 Q6221056 Q7422331 Q7945798 Q4858829 Q3908954 Q5131341 Q1354212 Q1877026 Q7176300 Q3141534 Q3381186 Q937084 Q7362911 Q5231938 Q3217141 Q5112219 Q6175209 Q2340811 Q5703123 Q6686982 Q15053140 Q3051213 Q5230447 Q16198124 Q453980 Q4990902 Q20825601 Q2058797 Q448205 Q2066520 Q41513 Q7509343 Q6256932 Q57971 Q15987638 Q5006967 Q12665 Q2197061 Q4867263 Q4898308 Q239144 Q722831 Q6244178 Q314771 Q7788214 Q311704 Q7609286 Q298761 Q102071 Q3423005 Q5423369 Q583275 Q2223396 Q6513147 Q7787110 Q3047169 Q206685 Q4957314 Q3232279 Q7976466 Q7282244 Q11571917 Q5239117 Q3026604 Q273993 Q5605383 Q5233345 Q101951 Q7704294 Q2532830 Q446436 Q2829038 Q711830 Q144520 Q5524826 Q5668975 Q956879 Q5239868 Q561401 Q552255 Q314938 Q2737410 Q7350689 Q1235813 Q1341813 Q5292635 Q6525835 Q167768 Q8018855 Q7911354 Q7152805 Q3056406 Q45111 Q2213570 Q5241325 Q7788145 Q7027914 Q966547 Q5662198 Q325027 Q1095862 Q1153256 Q750545 Q16030513 Q5107828 Q6386218 Q18011187 Q7174817 Q4924129 Q439404 Q2004726 Q5132945 Q780102 Q5665537 Q7279155 Q159606 Q606557 Q8016558 Q913061 Q3180141 Q5415276 Q1374807 Q6036176 Q4793993 Q3580047 Q7149500 Q5584922 Q273322 Q5668367 Q355030 Q1582739 Q2910912 Q6557852
(c(Q571)|c(Q2342494),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q4221498
relation P110
type Q571
type Q2342494
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?m ) WHERE { { ?i rdf:type ontology:Q502895 . ?u rdf:type ontology:Q571 . ?u property:P110 ?i } UNION { ?u property:P110 ?i . ?u rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { { ?d rdf:type ontology:Q571 } UNION { ?d rdf:type ontology:Q2342494 } } . ?d property:P110 resource:Q4221498 } } . FILTER ( ?m > ?t ) }
Philippe Dupasquier Edd Cartier R. K. Laxman John Tenniel Charles Keeping José Villarrubia Marc Simont J. R. R. Tolkien Russell H. Tandy Dave McKean Hugh Lofting Edward Gorey J. Allen St. John Cecil Mary Leslie George Cattermole Seth Darrell K. Sweet Matt Howarth Larry Elmore Christian McGrath Malcolm Fraser Michael Foreman Ed Young Queenie Chan David Wiesner Esteban Maroto Glennray Tutor William Stout Wanda Gág Peter Laird Roy Krenkel Salvatore Murdocca Conn Iggulden Alicia Austin William Wallace Denslow Christian Wilhelm Allers Jeff Smith Victor Ambrus Richard Egielski Ilon Wikland George Roux Peter Sís Anne Yvonne Gilbert Paul Goble Kevin Long Eileen Soper Bruce Degen Jeffrey Catherine Jones Tony Ross Jules Férat Paul Kidby David Ireland Lynd Ward Daniel Maclise Arnold Roth John Lockwood Kipling Kilmeny Niland Kevin Henkes Nicolas Bentley Georges Cain Virgil Finlay Mary Shepard Howard Pyle Dav Pilkey H. A. Rey Glenn Chadbourne Philippe Daure Jack Gaughan Stephen Fabian George Cruikshank Axel Scheffler Graeme Base D. M. Cornish Howard Wandrei Alphonse de Neuville Kaii Higashiyama Alan Lee Carson Ellis Raymond Briggs Hannes Bok Garth Williams Albert Chazelle Peyo E. H. Shepard Robin Jacques John Jude Palencar George Evans Walter Moers Bernard Waber Loïc Jouannigot Geoff Taylor George Marston Chris Van Allsburg George Barr Lois Ehlert Émile Bayard Louis Slobodkin Beatrix Potter John Batchelor Sarah Gibb W. Lindsay Cable Barbara Cooney John Rocco Clement Hurd Ralph Steadman Daniel Carter Beard Peter Parnall Howard Chandler Christy Edward Ardizzone Philip Reeve Romas Kukalis David Burroughs Mattingly Lane Smith Christopher Denise Jeff Vespa Brett Helquist Helen Sewell Louis Darling Ray Hutchins Elizabeth Enright David A. Cherry Philip Dadd Quentin Blake Margot Zemach S. D. Schindler Adrien Moreau Frank Frazetta William Nicholson William Blake Sidney Sime John Schoenherr Cornelia Funke H. R. Hammond C. Walter Hodges Robert Baden-Powell Michael Whelan Basil Temple Blackwood Betsy Lewin Sidney Paget Nonny Hogrogian John Lawrence Maurice Sendak Thomas Canty Jeff Kinney Stephen Gammell Clive Barker Tove Jansson Reed Crandall Ezra Jack Keats Édouard Riou Georges Lévis Lee Brown Coye Thomas Aquinas Maguire Ed Emshwiller Albert Uderzo Branford Edward Clarke Les Edwards Wayne McLoughlin Rafael Palacios Gen'ichirō Inokuma David Roberts Dick Martin Marcia Brown Greg Call David Elliot Pauline Baynes Terry Denton Martin Handford Ingrid Vang Nyman Akihiro Yamada Chris Riddell Kurt Wiese Gary Chalk Harry Furniss Gerald Brom David Small Spike Milligan William Steig Arthur Rackham Hablot Knight Browne Robert W. Hines James Sowerby Feodor Stepanovich Rojankovsky Don Freeman Leonard Weisgard William Makepeace Thackeray William Stobbs Valerie Valusek Paul O. Zelinsky Eric Shanower John R. Neill Rei Izumi David Wyatt Thomas C. Lea III Nick Sharratt Léon Benett Harold Robert Millar Richard Doyle Clarkson Frederick Stanfield Robert Lawson Bob Eggleton Tommy McRae Chris Raschka Kelly Murphy Matt Wilson Peter I. Chang Blair Lent Lalla Ward Vaughn Bodē Clifford Geary Wyndham Lewis Harrison Cady Rachel Berman John Everett Millais Eric Carle William Papas Brian Selznick Joseph Mugnaini Evaline Ness John Leech Mónica Gutiérrez Armstrong Sperry Édouard Toudouze Paul Bransom Gordon Browne Eva Eriksson Kęstutis Kasparavičius Yoshitaka Amano Hans Tegner Boris Artzybasheff Lisa Brown
231
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Richard Kirk
relation illustrator
type book
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?m ) WHERE { { ?i rdf:type ontology:common_name . ?u rdf:type ontology:book . ?u property:illustrator ?i } UNION { ?u property:illustrator ?i . ?u rdf:type ontology:collectable . ?i rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { { ?d rdf:type ontology:book } UNION { ?d rdf:type ontology:collectable } } . ?d property:illustrator resource:Richard_Kirk } } . FILTER ( ?m > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11414112
P110
Q502895 Q571 Q2342494
USER
And what about Kenkichi Yoshida?
(c(Q571)|c(Q2342494),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q11414112
relation P110
type Q571
type Q2342494
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P110 resource:Q11414112 . { { ?y rdf:type ontology:Q571 } UNION { ?y rdf:type ontology:Q2342494 } } } } . FILTER ( ?l > ?r ) }
Kenkichi Yoshida
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Kenkichi Yoshida
relation illustrator
type book
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:illustrator resource:Kenkichi_Yoshida . { { ?y rdf:type ontology:book } UNION { ?y rdf:type ontology:collectable } } } } . FILTER ( ?l > ?r ) }
[]
common name book collectable
SYSTEM
231
Q7184812 Q5335747 Q3519488 Q457881 Q5079712 Q6294209 Q6755879 Q892 Q7381538 Q721300 Q560015 Q982401 Q6104584 Q5056212 Q5537759 Q442386 Q3245042 Q6788819 Q932944 Q5109897 Q6742320 Q6830363 Q5335618 Q7270705 Q650991 Q5400805 Q5569216 Q8018893 Q1012900 Q2296116 Q3445791 Q7406676 Q706794 Q4726226 Q1364808 Q704689 Q1335436 Q7925680 Q7325472 Q293162 Q201157 Q775662 Q14766926 Q7150924 Q6396793 Q5349456 Q4977368 Q81649 Q956622 Q3509579 Q705267 Q5235360 Q122644 Q1161631 Q4795228 Q538533 Q6408013 Q6396491 Q7029528 Q3102425 Q715383 Q3296245 Q525713 Q2550486 Q430718 Q5568722 Q3379681 Q6112682 Q7609173 Q360466 Q96116 Q5592199 Q5203723 Q5921198 Q1494309 Q315560 Q102108 Q2526516 Q2330788 Q5649104 Q841310 Q2831042 Q309945 Q382031 Q7352570 Q656323 Q324633 Q62073 Q4893728 Q6694704 Q5534340 Q1507860 Q704553 Q5536737 Q6668251 Q274909 Q6688188 Q214565 Q6221056 Q7422331 Q7945798 Q4858829 Q3908954 Q5131341 Q1354212 Q1877026 Q7176300 Q3141534 Q3381186 Q937084 Q7362911 Q5231938 Q3217141 Q5112219 Q6175209 Q2340811 Q5703123 Q6686982 Q15053140 Q3051213 Q5230447 Q16198124 Q453980 Q4990902 Q20825601 Q2058797 Q448205 Q2066520 Q41513 Q7509343 Q6256932 Q57971 Q15987638 Q5006967 Q12665 Q2197061 Q4867263 Q4898308 Q239144 Q722831 Q6244178 Q314771 Q7788214 Q311704 Q7609286 Q298761 Q102071 Q3423005 Q5423369 Q583275 Q2223396 Q6513147 Q7787110 Q3047169 Q206685 Q4957314 Q3232279 Q7976466 Q7282244 Q11571917 Q5239117 Q3026604 Q273993 Q5605383 Q5233345 Q101951 Q7704294 Q2532830 Q446436 Q2829038 Q711830 Q144520 Q5524826 Q5668975 Q956879 Q5239868 Q561401 Q552255 Q314938 Q2737410 Q7350689 Q1235813 Q1341813 Q5292635 Q6525835 Q167768 Q8018855 Q7911354 Q7152805 Q3056406 Q45111 Q2213570 Q5241325 Q7788145 Q7027914 Q966547 Q5662198 Q325027 Q1095862 Q1153256 Q750545 Q16030513 Q5107828 Q6386218 Q18011187 Q7174817 Q4924129 Q439404 Q2004726 Q5132945 Q780102 Q5665537 Q7279155 Q159606 Q606557 Q8016558 Q913061 Q3180141 Q5415276 Q1374807 Q6036176 Q4793993 Q3580047 Q7149500 Q5584922 Q273322 Q5668367 Q355030 Q1582739 Q2910912 Q6557852
(c(Q571)|c(Q2342494),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q11414112
relation P110
type Q571
type Q2342494
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P110 resource:Q11414112 . { { ?y rdf:type ontology:Q571 } UNION { ?y rdf:type ontology:Q2342494 } } } } . FILTER ( ?l > ?r ) }
Philippe Dupasquier Edd Cartier R. K. Laxman John Tenniel Charles Keeping José Villarrubia Marc Simont J. R. R. Tolkien Russell H. Tandy Dave McKean Hugh Lofting Edward Gorey J. Allen St. John Cecil Mary Leslie George Cattermole Seth Darrell K. Sweet Matt Howarth Larry Elmore Christian McGrath Malcolm Fraser Michael Foreman Ed Young Queenie Chan David Wiesner Esteban Maroto Glennray Tutor William Stout Wanda Gág Peter Laird Roy Krenkel Salvatore Murdocca Conn Iggulden Alicia Austin William Wallace Denslow Christian Wilhelm Allers Jeff Smith Victor Ambrus Richard Egielski Ilon Wikland George Roux Peter Sís Anne Yvonne Gilbert Paul Goble Kevin Long Eileen Soper Bruce Degen Jeffrey Catherine Jones Tony Ross Jules Férat Paul Kidby David Ireland Lynd Ward Daniel Maclise Arnold Roth John Lockwood Kipling Kilmeny Niland Kevin Henkes Nicolas Bentley Georges Cain Virgil Finlay Mary Shepard Howard Pyle Dav Pilkey H. A. Rey Glenn Chadbourne Philippe Daure Jack Gaughan Stephen Fabian George Cruikshank Axel Scheffler Graeme Base D. M. Cornish Howard Wandrei Alphonse de Neuville Kaii Higashiyama Alan Lee Carson Ellis Raymond Briggs Hannes Bok Garth Williams Albert Chazelle Peyo E. H. Shepard Robin Jacques John Jude Palencar George Evans Walter Moers Bernard Waber Loïc Jouannigot Geoff Taylor George Marston Chris Van Allsburg George Barr Lois Ehlert Émile Bayard Louis Slobodkin Beatrix Potter John Batchelor Sarah Gibb W. Lindsay Cable Barbara Cooney John Rocco Clement Hurd Ralph Steadman Daniel Carter Beard Peter Parnall Howard Chandler Christy Edward Ardizzone Philip Reeve Romas Kukalis David Burroughs Mattingly Lane Smith Christopher Denise Jeff Vespa Brett Helquist Helen Sewell Louis Darling Ray Hutchins Elizabeth Enright David A. Cherry Philip Dadd Quentin Blake Margot Zemach S. D. Schindler Adrien Moreau Frank Frazetta William Nicholson William Blake Sidney Sime John Schoenherr Cornelia Funke H. R. Hammond C. Walter Hodges Robert Baden-Powell Michael Whelan Basil Temple Blackwood Betsy Lewin Sidney Paget Nonny Hogrogian John Lawrence Maurice Sendak Thomas Canty Jeff Kinney Stephen Gammell Clive Barker Tove Jansson Reed Crandall Ezra Jack Keats Édouard Riou Georges Lévis Lee Brown Coye Thomas Aquinas Maguire Ed Emshwiller Albert Uderzo Branford Edward Clarke Les Edwards Wayne McLoughlin Rafael Palacios Gen'ichirō Inokuma David Roberts Dick Martin Marcia Brown Greg Call David Elliot Pauline Baynes Terry Denton Martin Handford Ingrid Vang Nyman Akihiro Yamada Chris Riddell Kurt Wiese Gary Chalk Harry Furniss Gerald Brom David Small Spike Milligan William Steig Arthur Rackham Hablot Knight Browne Robert W. Hines James Sowerby Feodor Stepanovich Rojankovsky Don Freeman Leonard Weisgard William Makepeace Thackeray William Stobbs Valerie Valusek Paul O. Zelinsky Eric Shanower John R. Neill Rei Izumi David Wyatt Thomas C. Lea III Nick Sharratt Léon Benett Harold Robert Millar Richard Doyle Clarkson Frederick Stanfield Robert Lawson Bob Eggleton Tommy McRae Chris Raschka Kelly Murphy Matt Wilson Peter I. Chang Blair Lent Lalla Ward Vaughn Bodē Clifford Geary Wyndham Lewis Harrison Cady Rachel Berman John Everett Millais Eric Carle William Papas Brian Selznick Joseph Mugnaini Evaline Ness John Leech Mónica Gutiérrez Armstrong Sperry Édouard Toudouze Paul Bransom Gordon Browne Eva Eriksson Kęstutis Kasparavičius Yoshitaka Amano Hans Tegner Boris Artzybasheff Lisa Brown
231
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Kenkichi Yoshida
relation illustrator
type book
type collectable
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?l ) WHERE { ?f rdf:type ?d . VALUES ( ?d ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:illustrator resource:Kenkichi_Yoshida . { { ?y rdf:type ontology:book } UNION { ?y rdf:type ontology:collectable } } } } . FILTER ( ?l > ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 29 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 29
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { FILTER ( ?o = 29 ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { ?f property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 } GROUP BY ?f } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { FILTER ( ?o = 29 ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { ?f property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?f } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 29
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { FILTER ( ?o = 29 ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { ?f property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 } GROUP BY ?f } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { FILTER ( ?o = 29 ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?o ) WHERE { ?f property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with atleast 80 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 80
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:P530 ?w . ?f rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?t >= 80 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 80
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:diplomatic_relation ?w . ?f rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?t >= 80 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 80
[ANSWERS] have diplomatic relations with atleast 80 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:P530 ?w . ?f rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?t >= 80 ) }
Germany Australia
Germany and Australia have diplomatic relations with atleast 80 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 80
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:diplomatic_relation ?w . ?f rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?t >= 80 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q408
P710
Q930933
USER
Which relationships did that political territory participate in ?
(c(Q930933),P710,Q408)
action filter_type
action find_reverse
entity Q408
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q408']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q930933 . ?x property:P710 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Australia']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:relationship . ?x property:participant resource:Australia }
[]
relationship
Clarification for simple ques.
Q183
SYSTEM
Did you mean Germany ?
Q183 Q408
(c(Q930933),P710,Q183) (c(Q930933),P710,Q408)
[ANSWER]
[{'concept': 'Q930933'}, 'P710', 'Q183'] [{'concept': 'Q930933'}, 'P710', 'Q408']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q930933 . ?x property:P710 resource:Q408 }
Germany Australia
Did you mean Germany ?
Germany
[{'concept': 'relationship'}, 'participant', 'Germany'] [{'concept': 'relationship'}, 'participant', 'Australia']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:relationship . ?x property:participant resource:Australia }
[]
Simple Question (Coreferenced)
USER
No, I meant Australia. Could you tell me the answer for that?
(c(Q930933),P710,Q408)
Q408
[{'concept': 'Q930933'}, 'P710', 'Q408']
[{'concept': 'relationship'}, 'participant', 'Australia']
[]
Q4398158 Q4825336 Q4825269
SYSTEM
Australia–Russia relations, Australia–United States relations, Australia–Brazil relations
Q4398158 Q4825336 Q4825269
(c(Q930933),P710,Q408)
action filter_type
action find_reverse
entity Q408
relation P710
type Q930933
That political territory participated in [ANSWERS]
[{'concept': 'Q930933'}, 'P710', 'Q408']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q930933 . ?x property:P710 resource:Q408 }
Australia–Russia relations Australia–United States relations Australia–Brazil relations
That political territory participated in Australia–Russia relations, Australia–United States relations and Australia–Brazil relations
Australia–Russia relations Australia–United States relations Australia–Brazil relations
action filter_type
action find_reverse
entity Australia
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Australia']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:relationship . ?x property:participant resource:Australia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P47
Q15617994
USER
Which administrative territories have a shared border with Germany ?
(Q183,P47,c(Q15617994))
action filter_type
action find
entity Q183
relation P47
type Q15617994
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q183 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Germany
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Germany property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q142 Q36
SYSTEM
Netherlands, France, Poland
Q142 Q213 Q55 Q29999 Q32 Q31 Q36 Q39
(Q183,P47,c(Q15617994))
action filter_type
action find
entity Q183
relation P47
type Q15617994
[ANSWERS] have a shared border with Germany
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q183 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium Poland Switzerland
Netherlands, France and Poland have a shared border with Germany
Netherlands France Poland
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Germany property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P463
Q874405
USER
What social groups had Germany as their member ?
(Q183,P463,c(Q874405))
action filter_type
action find
entity Q183
relation P463
type Q874405
['Q183', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { resource:Q183 property:P463 ?n . ?n rdf:type ontology:Q874405 }
Germany
action filter_type
action find
entity Germany
relation member of
type social group
['Germany', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { resource:Germany property:member_of ?n . ?n rdf:type ontology:social_group }
[]
social group
Q7817 Q41984 Q8908
SYSTEM
World Health Organization, International Atomic Energy Agency, Council of Europe
Q41984 Q376150 Q782942 Q8908 Q8919 Q7817
(Q183,P463,c(Q874405))
action filter_type
action find
entity Q183
relation P463
type Q874405
[ANSWERS] had Germany as their member
['Q183', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { resource:Q183 property:P463 ?n . ?n rdf:type ontology:Q874405 }
International Atomic Energy Agency International Telecommunication Union Australia Group Council of Europe European Atomic Energy Community World Health Organization
World Health Organization, International Atomic Energy Agency and Council of Europe had Germany as their member
World Health Organization International Atomic Energy Agency Council of Europe
action filter_type
action find
entity Germany
relation member of
type social group
['Germany', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { resource:Germany property:member_of ?n . ?n rdf:type ontology:social_group }
[]