Simple Question (Direct)
Simple Question
Q16105692
P19
Q56061
USER
Which administrative territory is the birthplace of John L. Martin ?
(Q16105692,P19,c(Q56061))
action filter_type
action find
entity Q16105692
relation P19
type Q56061
['Q16105692', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16105692 property:P19 ?f . ?f rdf:type ontology:Q56061 }
John L. Martin
action filter_type
action find
entity John L. Martin
relation place of birth
type administrative territorial entity
['John L. Martin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:John_L._Martin property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1276791
SYSTEM
Eagle Lake
Q1276791
(Q16105692,P19,c(Q56061))
action filter_type
action find
entity Q16105692
relation P19
type Q56061
Of [ANSWER] is the birthplace of John L. Martin
['Q16105692', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16105692 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Eagle Lake
Of Eagle Lake is the birthplace of John L. Martin
Eagle Lake
action filter_type
action find
entity John L. Martin
relation place of birth
type administrative territorial entity
['John L. Martin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:John_L._Martin property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1276791
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q1276791,P17,c(Q15617994))
action filter_type
action find
entity Q1276791
relation P17
type Q15617994
['Q1276791', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1276791 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Eagle Lake
action filter_type
action find
entity Eagle Lake
relation country
type designation for an administrative territorial entity
['Eagle Lake', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eagle_Lake property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1276791,P17,c(Q15617994))
action filter_type
action find
entity Q1276791
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q1276791', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1276791 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
That administrative territory belongs to United States of America
United States of America
action filter_type
action find
entity Eagle Lake
relation country
type designation for an administrative territorial entity
['Eagle Lake', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eagle_Lake property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q838948
USER
Which administrative territories are the origin of less number of film genres or works of art than that administrative territory ?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P495 ?g . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q201658 } UNION { ?q rdf:type ontology:Q838948 . ?g rdf:type ontology:Q15617994 . ?q property:P495 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P495 resource:Q30 . { { ?s rdf:type ontology:Q201658 } UNION { ?s rdf:type ontology:Q838948 } } } } . FILTER ( ?n < ?c ) }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:film_genre } UNION { ?q rdf:type ontology:work_of_art . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:country_of_origin ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:country_of_origin resource:United_States_of_America . { { ?s rdf:type ontology:film_genre } UNION { ?s rdf:type ontology:work_of_art } } } } . FILTER ( ?n < ?c ) }
[]
designation for an administrative territorial entity film genre work of art
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q201658
type Q838948
[ANSWERS] are the origin of less number of film genres or works of art than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P495 ?g . ?g rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q201658 } UNION { ?q rdf:type ontology:Q838948 . ?g rdf:type ontology:Q15617994 . ?q property:P495 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P495 resource:Q30 . { { ?s rdf:type ontology:Q201658 } UNION { ?s rdf:type ontology:Q838948 } } } } . FILTER ( ?n < ?c ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origin of less number of film genres or works of art than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:film_genre } UNION { ?q rdf:type ontology:work_of_art . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:country_of_origin ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:country_of_origin resource:United_States_of_America . { { ?s rdf:type ontology:film_genre } UNION { ?s rdf:type ontology:work_of_art } } } } . FILTER ( ?n < ?c ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q230
P1001
Q12737077
USER
Which occupations have jurisdiction over those administrative territories ?
(c(Q12737077),P1001,Q38) (c(Q12737077),P1001,Q155) (c(Q12737077),P1001,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q38'] [{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q12737077'}, 'P1001', 'Q230']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?x property:P1001 ?c . ?x rdf:type ontology:Q12737077 }
Italy Brazil Georgia
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Georgia']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?x property:applies_to_jurisdiction ?c . ?x rdf:type ontology:occupation }
[]
occupation
Q5176750 Q332711 Q13653224
SYSTEM
President of Brazil, President of Italy, member of the Italian Senate
Q13653224 Q23554157 Q18558478 Q3858501 Q26877839 Q6092845 Q6092842 Q26877879 Q3687266 Q1321872 Q796897 Q670106 Q1541071 Q826589 Q26912078 Q658082 Q332711 Q3705737 Q7477985 Q11805434 Q3721646 Q6360077 Q1714174 Q1538785 Q5097042 Q2978540 Q18964326 Q5176750 Q20058725 Q3652076 Q843405 Q1975365 Q19967450 Q21290878 Q17548315
(c(Q12737077),P1001,Q38) (c(Q12737077),P1001,Q155) (c(Q12737077),P1001,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over those administrative territories
[{'concept': 'Q12737077'}, 'P1001', 'Q38'] [{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q12737077'}, 'P1001', 'Q230']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?x property:P1001 ?c . ?x rdf:type ontology:Q12737077 }
member of the Italian Senate Minister of Federal Reforms member of the Chamber of Deputies of the Italian Republic Italian minister minister of War of Italy Italian Minister of Transports Italian Minister of Infrastructures minister of the Navy of Italy member of City Council Minister of Foreign Affairs Prime Minister of Italy sindaco Italian Minister of the Interior senatore a vita minister of Air Force of Italy Italian Minister of Agriculture President of Italy member of the Constituent Assembly of Italy President of the Italian Senate Italian Minister of Economic Development Italian Minister of Education President of the Chamber of Deputies of Italy judge of the Constitutional Court of Italy Italian Minister of Defence Chief of Staff of Brazil Vice President of Brazil Member of the Senate of Brazil President of Brazil member of the Chamber of Deputies of Brazil Chairperson of the Parliament of Georgia President of Georgia Prime Minister of Georgia Minister of Defense Member of the Parliament of Georgia member of the Georgia House of Representatives
President of Brazil, President of Italy and member of the Italian Senate have jurisdiction over those administrative territories
President of Brazil President of Italy member of the Italian Senate
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Georgia']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?x property:applies_to_jurisdiction ?c . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5176750 Q332711 Q13653224
P1001
Q15617994
USER
Which administrative territories come under the supervision of those occupations ?
(Q5176750,P1001,c(Q15617994)) (Q332711,P1001,c(Q15617994)) (Q13653224,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q5176750', 'P1001', {'concept': 'Q15617994'}] ['Q332711', 'P1001', {'concept': 'Q15617994'}] ['Q13653224', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:Q13653224 ) ( resource:Q23554157 ) ( resource:Q18558478 ) } . ?n property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
President of Brazil President of Italy member of the Italian Senate
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['President of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['President of Italy', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['member of the Italian Senate', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:member_of_the_Italian_Senate ) ( resource:Minister_of_Federal_Reforms ) ( resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic ) } . ?n property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q38 Q38
SYSTEM
Brazil for 1st, Italy for 2nd, 3rd
Q155 Q38 Q38
(Q5176750,P1001,c(Q15617994)) (Q332711,P1001,c(Q15617994)) (Q13653224,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS]
['Q5176750', 'P1001', {'concept': 'Q15617994'}] ['Q332711', 'P1001', {'concept': 'Q15617994'}] ['Q13653224', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:Q13653224 ) ( resource:Q23554157 ) ( resource:Q18558478 ) } . ?n property:P1001 ?t . ?t rdf:type ontology:Q15617994 }
Brazil Italy Italy
Brazil, Italy and Italy come under the supervision of those occupations
Brazil Italy Italy
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['President of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['President of Italy', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['member of the Italian Senate', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?n ) { ( resource:member_of_the_Italian_Senate ) ( resource:Minister_of_Federal_Reforms ) ( resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic ) } . ?n property:applies_to_jurisdiction ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5176750
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q5176750)
action filter_type
action find_reverse
entity Q5176750
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q5176750']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q5176750 . ?u rdf:type ontology:Q502895 }
President of Brazil
action filter_type
action find_reverse
entity President of Brazil
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Brazil']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:President_of_Brazil . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5176750
SYSTEM
Did you mean President of Brazil ?
Q155 Q38 Q38
(c(Q502895),P39,Q155) (c(Q502895),P39,Q38) (c(Q502895),P39,Q38)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q155'] [{'concept': 'Q502895'}, 'P39', 'Q38'] [{'concept': 'Q502895'}, 'P39', 'Q38']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q5176750 . ?u rdf:type ontology:Q502895 }
Brazil Italy Italy
Did you mean President of Brazil ?
President of Brazil
[{'concept': 'common name'}, 'position held', 'Brazil'] [{'concept': 'common name'}, 'position held', 'Italy'] [{'concept': 'common name'}, 'position held', 'Italy']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:President_of_Brazil . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P39,Q5176750)
[{'concept': 'Q502895'}, 'P39', 'Q5176750']
[{'concept': 'common name'}, 'position held', 'President of Brazil']
[]
Q37181 Q244997 Q230578
SYSTEM
Luiz Inácio Lula da Silva, José Sarney, Fernando Henrique Cardoso
Q155824 Q236503 Q244997 Q230578 Q200812 Q310230 Q463533 Q294241 Q296679 Q485946 Q37181 Q40722 Q310123
(c(Q502895),P39,Q5176750)
action filter_type
action find_reverse
entity Q5176750
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q5176750']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q5176750 . ?u rdf:type ontology:Q502895 }
Juscelino Kubitschek Fernando Collor de Mello José Sarney Fernando Henrique Cardoso Deodoro da Fonseca Prudente de Morais Michel Temer Ernesto Geisel Eurico Gaspar Dutra Itamar Franco Luiz Inácio Lula da Silva Dilma Rousseff Jânio Quadros
Luiz Inácio Lula da Silva, José Sarney and Fernando Henrique Cardoso were responsible for occupying the position of that occupation
Luiz Inácio Lula da Silva José Sarney Fernando Henrique Cardoso
action filter_type
action find_reverse
entity President of Brazil
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Brazil']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:President_of_Brazil . ?u rdf:type ontology:common_name }
[]