Simple Question (Direct)
Simple Question
Q589977
P27
Q15617994
USER
Which administrative territory is the native country of Jack Reacher ?
(Q589977,P27,c(Q15617994))
action filter_type
action find
entity Q589977
relation P27
type Q15617994
['Q589977', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q589977 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Jack Reacher
action filter_type
action find
entity Jack Reacher
relation country of citizenship
type designation for an administrative territorial entity
['Jack Reacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jack_Reacher property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q589977,P27,c(Q15617994))
action filter_type
action find
entity Q589977
relation P27
type Q15617994
[ANSWER] is the native country of Jack Reacher
['Q589977', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q589977 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
United States of America is the native country of Jack Reacher
United States of America
action filter_type
action find
entity Jack Reacher
relation country of citizenship
type designation for an administrative territorial entity
['Jack Reacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Jack_Reacher property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q589977
P170
Q502895
USER
Which person is credited with creation of that abstract being ?
(Q30,P170,c(Q502895))
action filter_type
action find
entity Q589977
relation P170
type Q502895
['Q30', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q589977 property:P170 ?q . ?q rdf:type ontology:Q502895 }
Jack Reacher
action filter_type
action find
entity Jack Reacher
relation creator
type common name
['United States of America', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Jack_Reacher property:creator ?q . ?q rdf:type ontology:common_name }
[]
common name
Q333719
SYSTEM
Lee Child
Q333719
(Q30,P170,c(Q502895))
action filter_type
action find
entity Q589977
relation P170
type Q502895
[ANSWER] is credited with creation of that abstract being
['Q30', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q589977 property:P170 ?q . ?q rdf:type ontology:Q502895 }
Lee Child
Lee Child is credited with creation of that abstract being
Lee Child
action filter_type
action find
entity Jack Reacher
relation creator
type common name
['United States of America', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Jack_Reacher property:creator ?q . ?q rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q265
P840
Q15617994 Q15416 Q2342494
USER
Which administrative territories are lesser number of television programs and collectables set in than Uzbekistan ?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q265
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?h WHERE { VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?t rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?f rdf:type ?l } . ?f property:P840 resource:Q265 } } . FILTER ( ?w < ?k ) }
Uzbekistan
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Uzbekistan
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?h WHERE { VALUES ( ?n ) { ( ontology:television_program ) ( ontology:collectable ) } . ?t rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { VALUES ( ?l ) { ( ontology:collectable ) ( ontology:television_program ) } . ?f rdf:type ?l } . ?f property:narrative_location resource:Uzbekistan } } . FILTER ( ?w < ?k ) }
[]
designation for an administrative territorial entity television program collectable
Q184 Q32 Q31
SYSTEM
Belarus, Luxembourg, Belgium
Q377277 Q804 Q278221 Q186115 Q262 Q189 Q47428 Q18021 Q842 Q36678 Q710 Q837 Q1460 Q403 Q790 Q419 Q165040 Q232782 Q244 Q12515 Q32 Q31 Q37 Q34 Q928 Q851 Q769680 Q12798 Q236 Q12538 Q232 Q233 Q1093 Q1860611 Q913434 Q127043 Q184 Q1029 Q1028 Q1458 Q91217 Q1452 Q225 Q12700 Q2336399 Q3207 Q1033 Q1030 Q962 Q159689 Q114 Q41158 Q212 Q517107 Q217 Q912 Q2107 Q1007 Q833 Q14859 Q2742 Q836 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q800 Q12545 Q53216 Q6247
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q265
relation P840
type Q15416
type Q2342494
[ANSWERS] are lesser number of television programs and collectables set in than Uzbekistan
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?h WHERE { VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?t rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?f rdf:type ?l } . ?f property:P840 resource:Q265 } } . FILTER ( ?w < ?k ) }
Glückstadt Panama Berchtesgaden Montmartre Algeria Iceland Valdobbiadene Biella Oman West Bank Kiribati Nepal Sicily Serbia Haiti Peru Duchy of Parma Portofino Barbados Gard Luxembourg Belgium Lithuania Sweden Philippines Saudi Arabia Bornholm Vendée Montenegro Haute-Garonne Kazakhstan Malta Limburg Viby Les Halles Garmisch-Partenkirchen Belarus Mozambique Morocco Calabria Montepulciano Basilicata Bosnia and Herzegovina Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Benin Bomarzo Kenya Cortina d'Ampezzo Ukraine Rudolstadt Republic of Moldova Mali Wuppertal Guinea-Bissau Malaysia Ansbach Münster Myanmar Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Costa Rica Hérault Aquileia Mantua
Belarus, Luxembourg and Belgium are lesser number of television programs and collectables set in than Uzbekistan
Belarus Luxembourg Belgium
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Uzbekistan
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?h WHERE { VALUES ( ?n ) { ( ontology:television_program ) ( ontology:collectable ) } . ?t rdf:type ?n } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { VALUES ( ?l ) { ( ontology:collectable ) ( ontology:television_program ) } . ?f rdf:type ?l } . ?f property:narrative_location resource:Uzbekistan } } . FILTER ( ?w < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20837
P840
Q15617994 Q15416 Q2342494
USER
And also tell me about Fanø?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q20837
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?o WHERE { { ?p property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15416 } UNION { ?p property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P840 resource:Q20837 . { { ?r rdf:type ontology:Q15416 } UNION { ?r rdf:type ontology:Q2342494 } } } } }
Fanø
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Fanø
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?o WHERE { { ?p property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:television_program } UNION { ?p property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:narrative_location resource:Fanø . { { ?r rdf:type ontology:television_program } UNION { ?r rdf:type ontology:collectable } } } } }
[]
designation for an administrative territorial entity television program collectable
Q230 Q159 Q801
SYSTEM
Georgia, Russia, Israel
Q377277 Q805 Q804 Q801 Q278221 Q186115 Q414 Q3278 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q711 Q710 Q717 Q837 Q252 Q1460 Q403 Q45 Q159 Q790 Q419 Q165040 Q822 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q34 Q928 Q58477 Q423 Q424 Q851 Q733 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q913434 Q127043 Q1027 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q159689 Q114 Q41158 Q750 Q212 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q53216 Q869 Q6247
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q20837
relation P840
type Q15416
type Q2342494
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?o WHERE { { ?p property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15416 } UNION { ?p property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P840 resource:Q20837 . { { ?r rdf:type ontology:Q15416 } UNION { ?r rdf:type ontology:Q2342494 } } } } }
Glückstadt Yemen Panama Israel Berchtesgaden Montmartre Argentina Charente-Maritime Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Mongolia Kiribati Venezuela Nepal Indonesia Sicily Serbia Portugal Russia Haiti Peru Duchy of Parma Lebanon Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Sweden Philippines Capua North Korea Cambodia Saudi Arabia Paraguay Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Les Halles Garmisch-Partenkirchen Mauritius Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Bomarzo Kenya Cortina d'Ampezzo Bolivia Ukraine Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Aquileia Thailand Mantua
Georgia Russia Israel
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Fanø
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?o WHERE { { ?p property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:television_program } UNION { ?p property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:narrative_location resource:Fanø . { { ?r rdf:type ontology:television_program } UNION { ?r rdf:type ontology:collectable } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q230
P27
Q502895
USER
Which people are a citizen of Georgia and United States of America ?
AND((c(Q502895),P27,Q230), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q230
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q230'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q230 . ?e property:P27 resource:Q30 . ?e rdf:type ontology:Q502895 }
United States of America Georgia
action filter_type
action intersection
action find_reverse
entity Georgia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Georgia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Georgia . ?e property:country_of_citizenship resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
common name
Q228584 Q3854325 Q8003148 Q730262 Q132208 Q3805795 Q236789 Q1748399 Q2359221
SYSTEM
Svetlana Alliluyeva, Melvin Sanders, Will Thomas, Jeremy Richardson, Joe Johnson, Jacob Pullen, Anna Tatishvili, Taurean Green, Luke Zeller
Q228584 Q3854325 Q8003148 Q730262 Q132208 Q3805795 Q236789 Q1748399 Q2359221
AND((c(Q502895),P27,Q230), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q230
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are a citizen of Georgia and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q230'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q230 . ?e property:P27 resource:Q30 . ?e rdf:type ontology:Q502895 }
Svetlana Alliluyeva Melvin Sanders Will Thomas Jeremy Richardson Joe Johnson Jacob Pullen Anna Tatishvili Taurean Green Luke Zeller
Svetlana Alliluyeva, Melvin Sanders, Will Thomas, Jeremy Richardson, Joe Johnson, Jacob Pullen, Anna Tatishvili, Taurean Green and Luke Zeller are a citizen of Georgia and United States of America
Svetlana Alliluyeva Melvin Sanders Will Thomas Jeremy Richardson Joe Johnson Jacob Pullen Anna Tatishvili Taurean Green Luke Zeller
action filter_type
action intersection
action find_reverse
entity Georgia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Georgia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Georgia . ?e property:country_of_citizenship resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q15619164 Q15850590 Q838948
USER
Which abstract beings were min number of theatrical genres and works of art inspired by ?
(c(Q15850590)|c(Q838948),P941,c(Q15619164))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q838948
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q15619164'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ontology:Q15850590 . ?b rdf:type ontology:Q15619164 . ?e property:P941 ?b } UNION { ?e property:P941 ?b . ?b rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q838948 } } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?s ) { ( ontology:Q15850590 ) ( ontology:Q838948 ) } . ?i rdf:type ?s } GROUP BY ?m } . FILTER ( ?q = ?p ) }
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type abstract being
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type abstract being
type work of art
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'abstract being'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ontology:theatrical_genre . ?b rdf:type ontology:abstract_being . ?e property:inspired_by ?b } UNION { ?e property:inspired_by ?b . ?b rdf:type ontology:abstract_being . ?e rdf:type ontology:work_of_art } } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?s ) { ( ontology:theatrical_genre ) ( ontology:work_of_art ) } . ?i rdf:type ?s } GROUP BY ?m } . FILTER ( ?q = ?p ) }
[]
abstract being theatrical genre work of art
Q3266236 Q17486714 Q6502703
SYSTEM
Count Dracula, Jonathan Kent, Pinocchio
Q2583524 Q587307 Q3844557 Q3838768 Q3820836 Q919407 Q1257834 Q17486714 Q1237652 Q942964 Q234801 Q583810 Q132582 Q3266236 Q6502703 Q825 Q7679809 Q3686483
(c(Q15850590)|c(Q838948),P941,c(Q15619164))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q838948
[ANSWERS] were min number of theatrical genres and works of art inspired by
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q15619164'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ontology:Q15850590 . ?b rdf:type ontology:Q15619164 . ?e property:P941 ?b } UNION { ?e property:P941 ?b . ?b rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q838948 } } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?s ) { ( ontology:Q15850590 ) ( ontology:Q838948 ) } . ?i rdf:type ?s } GROUP BY ?m } . FILTER ( ?q = ?p ) }
Dorothy Gale Brian Kinney Mangiafuoco Candlewick The Fairy with Turquoise Hair Wicked fairy godmother Gudrun Jonathan Kent The Terrible Dogfish Mickey Goldmill Allah Betty Boop Pan Count Dracula Pinocchio God Talking Cricket The Coachman
Count Dracula, Jonathan Kent and Pinocchio were min number of theatrical genres and works of art inspired by
Count Dracula Jonathan Kent Pinocchio
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type abstract being
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type abstract being
type work of art
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'abstract being'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?x ) WHERE { { ?e rdf:type ontology:theatrical_genre . ?b rdf:type ontology:abstract_being . ?e property:inspired_by ?b } UNION { ?e property:inspired_by ?b . ?b rdf:type ontology:abstract_being . ?e rdf:type ontology:work_of_art } } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?s ) { ( ontology:theatrical_genre ) ( ontology:work_of_art ) } . ?i rdf:type ?s } GROUP BY ?m } . FILTER ( ?q = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q983971
P991
Q1076105
USER
Which general election was Tom Thabane elected from ?
(c(Q1076105),P991,Q983971)
action filter_type
action find_reverse
entity Q983971
relation P991
type Q1076105
[{'concept': 'Q1076105'}, 'P991', 'Q983971']
SELECT DISTINCT ?l WHERE { ?l property:P991 resource:Q983971 . ?l rdf:type ontology:Q1076105 }
Tom Thabane
action filter_type
action find_reverse
entity Tom Thabane
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Tom Thabane']
SELECT DISTINCT ?l WHERE { ?l property:successful_candidate resource:Tom_Thabane . ?l rdf:type ontology:general_election }
[]
general election
Q1646532
SYSTEM
Lesotho general election, 2012
Q1646532
(c(Q1076105),P991,Q983971)
action filter_type
action find_reverse
entity Q983971
relation P991
type Q1076105
Tom Thabane was elected in [ANSWER]
[{'concept': 'Q1076105'}, 'P991', 'Q983971']
SELECT DISTINCT ?l WHERE { ?l property:P991 resource:Q983971 . ?l rdf:type ontology:Q1076105 }
Lesotho general election, 2012
Tom Thabane was elected in Lesotho general election, 2012
Lesotho general election, 2012
action filter_type
action find_reverse
entity Tom Thabane
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Tom Thabane']
SELECT DISTINCT ?l WHERE { ?l property:successful_candidate resource:Tom_Thabane . ?l rdf:type ontology:general_election }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q983971
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q1646532,P19,c(Q56061))
action filter_type
action find
entity Q983971
relation P19
type Q56061
['Q1646532', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q983971 property:P19 ?r }
Tom Thabane
action filter_type
action find
entity Tom Thabane
relation place of birth
type administrative territorial entity
['Lesotho general election, 2012', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Tom_Thabane property:place_of_birth ?r }
[]
administrative territorial entity
Q3909
SYSTEM
Maseru
Q3909
(Q1646532,P19,c(Q56061))
action filter_type
action find
entity Q983971
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q1646532', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q983971 property:P19 ?r }
Maseru
Maseru is the place of birth of that person
Maseru
action filter_type
action find
entity Tom Thabane
relation place of birth
type administrative territorial entity
['Lesotho general election, 2012', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Tom_Thabane property:place_of_birth ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q640504 Q983971
P19
Q56061
USER
Or Mike Burton?
OR((Q983971,P19,c(Q56061)), (Q640504,P19,c(Q56061)))
action filter_type
action union
action find
entity Q983971
relation P19
action find
entity Q640504
relation P19
type Q56061
{'OR': [['Q983971', 'P19', {'concept': 'Q56061'}], ['Q640504', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P19 ?x . VALUES ( ?q ) { ( resource:Q983971 ) ( resource:Q640504 ) } } . ?x rdf:type ontology:Q56061 }
Mike Burton Tom Thabane
action filter_type
action union
action find
entity Tom Thabane
relation place of birth
action find
entity Mike Burton
relation place of birth
type administrative territorial entity
{'OR': [['Tom Thabane', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mike Burton', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:place_of_birth ?x . VALUES ( ?q ) { ( resource:Tom_Thabane ) ( resource:Mike_Burton ) } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q39709 Q3909
SYSTEM
Des Moines, Maseru
Q39709 Q3909
OR((Q983971,P19,c(Q56061)), (Q640504,P19,c(Q56061)))
action filter_type
action union
action find
entity Q983971
relation P19
action find
entity Q640504
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q983971', 'P19', {'concept': 'Q56061'}], ['Q640504', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:P19 ?x . VALUES ( ?q ) { ( resource:Q983971 ) ( resource:Q640504 ) } } . ?x rdf:type ontology:Q56061 }
Des Moines Maseru
Des Moines Maseru
action filter_type
action union
action find
entity Tom Thabane
relation place of birth
action find
entity Mike Burton
relation place of birth
type administrative territorial entity
{'OR': [['Tom Thabane', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mike Burton', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?q property:place_of_birth ?x . VALUES ( ?q ) { ( resource:Tom_Thabane ) ( resource:Mike_Burton ) } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q7275 Q15617994
USER
Which people have the highest formal authority in approximately 5 states and administrative territories ?
(c(Q7275)|c(Q15617994),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 5
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } GROUP BY ?a } . FILTER ( ?p = 5 ) }
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 5
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?a } . FILTER ( ?p = 5 ) }
[]
common name state designation for an administrative territorial entity
Q154952 Q9682
SYSTEM
Willem-Alexander of the Netherlands, Elizabeth II
Q154952 Q9682
(c(Q7275)|c(Q15617994),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 5
[ANSWERS] have the highest formal authority in approximately 5 states and administrative territories
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } GROUP BY ?a } . FILTER ( ?p = 5 ) }
Willem-Alexander of the Netherlands Elizabeth II
Willem-Alexander of the Netherlands and Elizabeth II have the highest formal authority in approximately 5 states and administrative territories
Willem-Alexander of the Netherlands Elizabeth II
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 5
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?a } . FILTER ( ?p = 5 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 1056 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1056
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?y = 1056 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1056
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?y = 1056 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1056
[ANSWERS] are played by around 1056 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?y = 1056 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around 1056 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1056
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?y = 1056 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Who play those musical instruments ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } . ?k property:P1303 ?x }
davul harpsichord Wurlitzer electric piano
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } . ?k property:instrument ?x }
[]
common name
Q45909 Q1339 Q254
SYSTEM
John Cale, Johann Sebastian Bach, Wolfgang Amadeus Mozart
Q343394 Q5125310 Q3147213 Q45909 Q1270605 Q3218863 Q4497156 Q2965877 Q18889499 Q3613839 Q11434081 Q378905 Q96304 Q289847 Q446103 Q3295831 Q2805699 Q2556199 Q339128 Q876342 Q1348195 Q11454604 Q3560424 Q1895475 Q459715 Q3573587 Q17648436 Q2958126 Q3148824 Q1976924 Q551008 Q3619994 Q3724246 Q2528311 Q3181642 Q3106857 Q3411056 Q160257 Q3168308 Q3190862 Q434644 Q3667494 Q2424360 Q3827718 Q2034506 Q2553716 Q1284831 Q2535808 Q699207 Q463998 Q22712389 Q1046616 Q13334256 Q314799 Q3298708 Q457010 Q2094389 Q3350801 Q6264882 Q1709071 Q2526926 Q590410 Q965256 Q2837040 Q3452937 Q6733079 Q3168042 Q3142793 Q3568609 Q9253269 Q1959923 Q3183956 Q509362 Q254 Q3168842 Q434774 Q2414155 Q3154364 Q1339 Q963003 Q15041700 Q700648 Q18642513 Q70011 Q969937 Q3761917 Q3010160 Q3587893 Q2462092 Q1682366 Q21088137 Q231234 Q2564666 Q4526398 Q339929 Q1682344 Q3507386 Q2416902 Q3141950 Q3524273 Q199856 Q4979366 Q928954 Q571445 Q3446656 Q3219532 Q963831 Q2959912 Q1406863 Q2848507 Q3162009 Q3287715 Q119189 Q3136187 Q3315982 Q2451955 Q3725604 Q92244 Q5112624 Q376588 Q1843799 Q445985 Q521250 Q4980119 Q2140912 Q17630873 Q76735 Q181474 Q18214287 Q319306 Q435198 Q2870861 Q563321 Q2574241 Q597101 Q2982659 Q3351094 Q3187447 Q560325 Q2735112 Q697674 Q3294067 Q739019 Q274544 Q3147203 Q2898792 Q4133063 Q718398 Q2899489 Q3167320 Q3154996 Q23001989 Q609940 Q2856990 Q3317233 Q3293546 Q7281591
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[ANSWERS] play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q201129 ) } . ?k property:P1303 ?x }
İbrahim Tatlıses Claire Schapira Iakovos Pappas John Cale Lars Ulrik Mortensen Laurence Boulay Stanislav Heller Christine Auger Francesco Mazzoli Ambrogio Minoja Naoya Ōtsuka Michael Wollny Tobias Koch Étienne Loulié Huguette Dreyfus Martine Roche Frédérick Haas Anne Gallet Rafael Puyana Fritz Neumeyer Louis-Emmanuel Jadin Kanoko Miyazaki Violet Gordon-Woodhouse Marguerite Roesgen-Champion Matteo Messori Yves Cuenot Władysław Kłosiewicz Charles-Henri Plantade Ilton Wjuniski Aimée Van de Wiele Jon Laukvik Antonio Palella Emilia Fadini Jovanka Marville John Grew Giovanni Pietro Del Buono Putnam Aldrich Wanda Landowska Jean-Patrice Brosse Jérôme Correas Christiane Jaccottet Chiara Massini Antoine Geoffroy-Dechaume Laura Alvini Luciano Sgrizzi Jean Rondeau Eta Harich-Schneider Václav Luks Joseph Anton Steffan James Nares Martine Reymond Tim Rice-Oxley Anne-Catherine Bucher Antonio Soler Mathieu Duguay Igor Kipnis Pietro Alessandro Guglielmi Olivier Baumont John Worgan Martha Goldstein Vincenzo Lavigna Christophe Rousset Alan Curtis Aline d'Ambricourt Ruggero Gerlin Mahan Esfahani Jean-Michel Hasler Huguette Grémy-Chauliac William Felton Elżbieta Stefańska Christine Whiffen Jory Vinikour Françoise-Charlotte de Senneterre Ménétou Wolfgang Amadeus Mozart Jean-Philippe Navarre Trevor Pinnock Skip Sempé Irina Danšina Johann Sebastian Bach Thurston Dart Cosimo Damiano Lanza Masaaki Suzuki Pierre-Alain Clerc Edith Picht-Axenfeld Denis Bédard Giacinto Manna Céline Frisch Élisabeth Joyé Pascal Dubreuil Jan Willem Jansen Yasuko Uyama-Bouvard Zuzana Růžičková Beatrice Berstel Miklós Spányi Thomas Linley the elder Joseph-Nicolas-Pancrace Royer Sylvie Pécot-Douatte Blandine Verlet Hubert Bédard Thierry Geffrotin Johann Christian Schieferdecker Bruno Procopio Vincenzo Manfredini Rinaldo Alessandrini Rudi Jacques Laurent Teycheney Ottavio Dantone Charles Noblet Fernando Valenti André Raynaud Janine Reiss Marc-Roger Normand Vital Julian Frey Nicholas McGegan Mireille Lagacé Yves Rechsteiner Enrico Baiano Johann Paul Schulthesius Christopher Jackson William Christie Frédéric Champion Emmanuelle Haïm Marcelle de Lacour Sophie Stebnowska Blandine Rannou Jean-Luc Ho Karl Richter Teodorico Pedrini Véronique Carrot Oscar Milani Christopher Hogwood Marguerite-Antoinette Couperin Kenneth Gilbert Elisabeth Chojnacka Ralph Kirkpatrick Colin Tilney Olivier Houette Joël Pontet Hervé Niquet William Babell René Clemencic Mark Edwards Giovanni Battista Lampugnani Isolde Ahlgrimm Iain Simcock Bernard de Bury Malcolm Hamilton Robert Veyron-Lacroix Bertrand Cuiller Jean-Marc Aymes Isabelle Nef György Vashegyi Marguerite-Louise Couperin Anton Bemetzrieder Mitzi Meyerson Mario Raskin Radoslav Lorković
John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart play those musical instruments
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:lyre ) } . ?k property:instrument ?x }
[]