Simple Question (Direct)
Simple Question
Q172127
P19
Q56061
USER
Which administrative territory was Ivor Bueb born at ?
(Q172127,P19,c(Q56061))
action filter_type
action find
entity Q172127
relation P19
type Q56061
['Q172127', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q172127 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Ivor Bueb
action filter_type
action find
entity Ivor Bueb
relation place of birth
type administrative territorial entity
['Ivor Bueb', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Ivor_Bueb property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1025593
SYSTEM
East Ham
Q1025593
(Q172127,P19,c(Q56061))
action filter_type
action find
entity Q172127
relation P19
type Q56061
Ivor Bueb was born in [ANSWER]
['Q172127', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q172127 property:P19 ?o . ?o rdf:type ontology:Q56061 }
East Ham
Ivor Bueb was born in East Ham
East Ham
action filter_type
action find
entity Ivor Bueb
relation place of birth
type administrative territorial entity
['Ivor Bueb', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Ivor_Bueb property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1025593
P20
Q502895
USER
Which people have that administrative territory as the location of death ?
(c(Q502895),P20,Q1025593)
action filter_type
action find_reverse
entity Q1025593
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1025593']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q1025593 . ?o rdf:type ontology:Q502895 }
East Ham
action filter_type
action find_reverse
entity East Ham
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'East Ham']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:East_Ham . ?o rdf:type ontology:common_name }
[]
common name
Q929679 Q17626964
SYSTEM
Ray Jones, Samuel March
Q929679 Q17626964
(c(Q502895),P20,Q1025593)
action filter_type
action find_reverse
entity Q1025593
relation P20
type Q502895
[ANSWERS] have that administrative territory as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q1025593']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q1025593 . ?o rdf:type ontology:Q502895 }
Ray Jones Samuel March
Ray Jones and Samuel March have that administrative territory as the location of death
Ray Jones Samuel March
action filter_type
action find_reverse
entity East Ham
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'East Ham']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:East_Ham . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q929679 Q17626964
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ray Jones and Samuel March ?
(Q929679,P27,c(Q15617994)) (Q17626964,P27,c(Q15617994))
action union
action filter_type
action find
entity Q929679
relation P27
type Q15617994
action filter_type
action find
entity Q17626964
relation P27
type Q15617994
['Q929679', 'P27', {'concept': 'Q15617994'}] ['Q17626964', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?h ) { ( resource:Q929679 ) ( resource:Q17626964 ) } . ?h property:P27 ?v }
Ray Jones Samuel March
action union
action filter_type
action find
entity Ray Jones
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Samuel March
relation country of citizenship
type designation for an administrative territorial entity
['Ray Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Samuel March', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?h ) { ( resource:Ray_Jones ) ( resource:Samuel_March ) } . ?h property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
Q145 Q145
SYSTEM
United Kingdom
Q145 Q145
(Q929679,P27,c(Q15617994)) (Q17626964,P27,c(Q15617994))
action union
action filter_type
action find
entity Q929679
relation P27
type Q15617994
action filter_type
action find
entity Q17626964
relation P27
type Q15617994
[ANSWER] and [ANSWER] are the countries of citizenship of Ray Jones and Samuel March
['Q929679', 'P27', {'concept': 'Q15617994'}] ['Q17626964', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?h ) { ( resource:Q929679 ) ( resource:Q17626964 ) } . ?h property:P27 ?v }
United Kingdom United Kingdom
United Kingdom and United Kingdom are the countries of citizenship of Ray Jones and Samuel March
United Kingdom United Kingdom
action union
action filter_type
action find
entity Ray Jones
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Samuel March
relation country of citizenship
type designation for an administrative territorial entity
['Ray Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Samuel March', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?h ) { ( resource:Ray_Jones ) ( resource:Samuel_March ) } . ?h property:country_of_citizenship ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q929679
P172
Q2472587
USER
What is the race of Ray Jones ?
(Q145,P172,c(Q2472587)) (Q145,P172,c(Q2472587))
action filter_type
action find
entity Q929679
relation P172
type Q2472587
['Q145', 'P172', {'concept': 'Q2472587'}] ['Q145', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?r WHERE { resource:Q929679 property:P172 ?r . ?r rdf:type ontology:Q2472587 }
Ray Jones
action filter_type
action find
entity Ray Jones
relation ethnic group
type people
['United Kingdom', 'ethnic group', {'concept': 'people'}] ['United Kingdom', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?r WHERE { resource:Ray_Jones property:ethnic_group ?r . ?r rdf:type ontology:people }
[]
people
Q3244280
SYSTEM
Black British
Q3244280
(Q145,P172,c(Q2472587)) (Q145,P172,c(Q2472587))
action filter_type
action find
entity Q929679
relation P172
type Q2472587
The race of Ray Jones is a [ANSWER]
['Q145', 'P172', {'concept': 'Q2472587'}] ['Q145', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?r WHERE { resource:Q929679 property:P172 ?r . ?r rdf:type ontology:Q2472587 }
Black British
The race of Ray Jones is a Black British
Black British
action filter_type
action find
entity Ray Jones
relation ethnic group
type people
['United Kingdom', 'ethnic group', {'concept': 'people'}] ['United Kingdom', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?r WHERE { resource:Ray_Jones property:ethnic_group ?r . ?r rdf:type ontology:people }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with atmost 51 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 51
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { FILTER ( ?c <= 51 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?v } }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 51
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { FILTER ( ?c <= 51 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 51
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { FILTER ( ?c <= 51 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?v } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 51
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { FILTER ( ?c <= 51 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with around 67 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 67
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?w ) WHERE { ?d property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?w = 67 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 67
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?w ) WHERE { ?d property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?w = 67 ) }
[]
political territorial entity designation for an administrative territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 67
[ANSWERS] have diplomatic relationships with around 67 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?w ) WHERE { ?d property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?w = 67 ) }
Australia Canada
Australia and Canada have diplomatic relationships with around 67 administrative territories
Australia Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 67
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?w ) WHERE { ?d property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?w = 67 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1025593
P19 P21
Q502895
USER
Which people were born at East Ham and have male as the sex ?
AND((c(Q502895),P19,Q1025593), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1025593
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1025593'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q1025593 . ?q property:P21 resource:Q6581097 }
male East Ham
action filter_type
action intersection
action find_reverse
entity East Ham
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'East Ham'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:East_Ham . ?q property:gender resource:male }
[]
common name
Q461633 Q827506 Q351168 Q1375498 Q172127 Q5261803 Q7612793 Q7365804 Q5416885 Q7694059
SYSTEM
Some of them are Frank Lampard, Bert Weedon, Terrance Dicks, Ted Morgan, Ivor Bueb, Derek Bellotti, Steve Hatter, Ronnie Boyce, Everald La Ronde, Teddy Nesbitt
Q5261803 Q13522516 Q4909653 Q7365804 Q7705165 Q5229283 Q382052 Q461633 Q7519220 Q2331742 Q7694059 Q5525469 Q1375498 Q7358046 Q5214613 Q6247706 Q5495878 Q4706183 Q5485938 Q10514868 Q7153669 Q5416885 Q8009815 Q351168 Q8014275 Q172414 Q827506 Q713824 Q7461515 Q172127 Q7612793
AND((c(Q502895),P19,Q1025593), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1025593
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at East Ham and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1025593'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q1025593 . ?q property:P21 resource:Q6581097 }
Derek Bellotti Harold Max Rosenberg Bill Kaine Ronnie Boyce Terry Woodgate Dave Martin Jimmy Bullard Frank Lampard Simon Livett Stanley Lebor Teddy Nesbitt Gary Lewin Ted Morgan Roger Cross Dan Woodards John McDowell Fred Massey Alan Birchenall Frank Coombs Michael Hector Paul Smith Everald La Ronde William George Tuck Terrance Dicks William Lammus Eric Brandon Bert Weedon John Cornwell Shahed Ahmed Ivor Bueb Steve Hatter
Frank Lampard, Bert Weedon, Terrance Dicks, Ted Morgan, Ivor Bueb, Derek Bellotti, Steve Hatter, Ronnie Boyce, Everald La Ronde and Teddy Nesbitt were born at East Ham and have male as the sex
Frank Lampard Bert Weedon Terrance Dicks Ted Morgan Ivor Bueb Derek Bellotti Steve Hatter Ronnie Boyce Everald La Ronde Teddy Nesbitt
action filter_type
action intersection
action find_reverse
entity East Ham
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'East Ham'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:East_Ham . ?q property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q26971562 Q2342494
USER
How many people did the illustration of around 8 comic formats and collectables ?
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 8
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?w WHERE { { ?f property:P110 ?w . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P110 ?w . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q26971562 } } GROUP BY ?w } . FILTER ( ?s = 8 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 8
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?w WHERE { { ?f property:illustrator ?w . ?w rdf:type ontology:common_name . ?f rdf:type ontology:collectable } UNION { ?f property:illustrator ?w . ?w rdf:type ontology:common_name . ?f rdf:type ontology:comic_format } } GROUP BY ?w } . FILTER ( ?s = 8 ) }
[]
common name comic format collectable
SYSTEM
23
Q5335747 Q5079712 Q721300 Q6830363 Q3445791 Q1335436 Q7925680 Q5349456 Q956622 Q3509579 Q2550486 Q3379681 Q6112682 Q7945798 Q3908954 Q5703123 Q6686982 Q5006967 Q583275 Q6513147 Q2532830 Q5524826 Q273322
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 8
[ANSWER]
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?w WHERE { { ?f property:P110 ?w . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P110 ?w . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q26971562 } } GROUP BY ?w } . FILTER ( ?s = 8 ) }
Edd Cartier Charles Keeping Dave McKean Michael Foreman Roy Krenkel Jeff Smith Victor Ambrus Eileen Soper Tony Ross Jules Férat Dav Pilkey Philippe Daure Jack Gaughan W. Lindsay Cable John Rocco Helen Sewell Louis Darling C. Walter Hodges Édouard Riou Lee Brown Coye Martin Handford Gary Chalk Eva Eriksson
23
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 8
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) ?w WHERE { { ?f property:illustrator ?w . ?w rdf:type ontology:common_name . ?f rdf:type ontology:collectable } UNION { ?f property:illustrator ?w . ?w rdf:type ontology:common_name . ?f rdf:type ontology:comic_format } } GROUP BY ?w } . FILTER ( ?s = 8 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P495
Q12757 Q502895
USER
How many internal combustion engines or people originated in United Kingdom ?
(c(Q12757),P495,Q145) (c(Q502895),P495,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P495
type Q12757
action filter_type
action find_reverse
entity Q145
relation P495
type Q502895
[{'concept': 'Q12757'}, 'P495', 'Q145'] [{'concept': 'Q502895'}, 'P495', 'Q145']
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:Q12757 ) ( ontology:Q502895 ) } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type internal combustion engine
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type common name
[{'concept': 'internal combustion engine'}, 'country of origin', 'United Kingdom'] [{'concept': 'common name'}, 'country of origin', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:internal_combustion_engine ) ( ontology:common_name ) } }
[]
internal combustion engine common name
SYSTEM
55
Q5739697 Q7087437 Q2467436 Q26180172 Q1655455 Q5134575 Q5301392 Q3286189 Q2666217 Q16014284 Q160371 Q16648954 Q15991188 Q5155259 Q14954443 Q7383155 Q322217 Q15734628 Q720322 Q15196266 Q5486672 Q4241166 Q1383565 Q6775512 Q21293241 Q541685 Q3290472 Q590301 Q16324885 Q19800878 Q517162 Q6187362 Q25939025 Q1372034 Q229716 Q8017857 Q20886208 Q26720353 Q18390983 Q1077742 Q438096 Q926558 Q15627245 Q6113779 Q7372652 Q2799860 Q3739023 Q2830695 Q8014975 Q4800678 Q8025360 Q8009777 Q27033532 Q1291291 Q7324184
(c(Q12757),P495,Q145) (c(Q502895),P495,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P495
type Q12757
action filter_type
action find_reverse
entity Q145
relation P495
type Q502895
[ANSWER]
[{'concept': 'Q12757'}, 'P495', 'Q145'] [{'concept': 'Q502895'}, 'P495', 'Q145']
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:Q12757 ) ( ontology:Q502895 ) } }
Michael Francis Oliver Butterworth Jack Brymer Heber Robert McBride Ian Bousfield Clive Gillinson Douglas Cummings Arthur Devis Duncan Patterson Gertrude Emily Benham James Galway Seymour Joseph Guy Leslie Joseph Walker Ana Torres-Álvarez Dzhambulat Khatokhov Ruth Ojadi Afterlife Ken Purvis John Deighton Sarla Behn Frank Forman David Cripps Alexi Murdoch Martin Gatt Moira Dunbar William Alwyn Margaret Sarah Carpenter William Bennett Cornelius Janson van Ceulen the Younger Tim Maguire Agnes Mary Frances Duclaux Jessica Messenger Christine McMahon Lamorna Birch Lulu William Russell Birch E. John Walford Clara J. Peck Rolls-Royce Marine Olympus Chris Sievey Sidonie Goossens Gervase de Peyer Alexander Fisher Jack Lyons Roy Carter Ceephax Acid Crew Julia Janet Georgiana Abercromby Alastair Northedge William MacTaggart Arthur William Devis Winifred Ashby William George Constable James Wilson Robertson (dairyman) John Fletcher Richard Bissill
55
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type internal combustion engine
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type common name
[{'concept': 'internal combustion engine'}, 'country of origin', 'United Kingdom'] [{'concept': 'common name'}, 'country of origin', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:internal_combustion_engine ) ( ontology:common_name ) } }
[]