Simple Question (Direct)
Simple Question
Q11412162
P106
Q12737077
USER
Which occupation has Kenta Migimatsu as his/her 's career ?
(Q11412162,P106,c(Q12737077))
action filter_type
action find
entity Q11412162
relation P106
type Q12737077
['Q11412162', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q11412162 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Kenta Migimatsu
action filter_type
action find
entity Kenta Migimatsu
relation occupation
type occupation
['Kenta Migimatsu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Kenta_Migimatsu property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q1371925
SYSTEM
announcer
Q1371925
(Q11412162,P106,c(Q12737077))
action filter_type
action find
entity Q11412162
relation P106
type Q12737077
The [ANSWER] has Kenta Migimatsu as his/her 's career
['Q11412162', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q11412162 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
announcer
The announcer has Kenta Migimatsu as his/her 's career
announcer
action filter_type
action find
entity Kenta Migimatsu
relation occupation
type occupation
['Kenta Migimatsu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Kenta_Migimatsu property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2666591
P748
Q11204 Q502895 Q12737077
USER
Which occupations did more number of legislatures and people appoint than Chair of the Federal Reserve ?
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q2666591
relation P748
type Q11204
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } . ?g rdf:type ?o } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q2666591 property:P748 ?d . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } } } } . FILTER ( ?e > ?j ) }
Chair of the Federal Reserve
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Chair of the Federal Reserve
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:common_name ) ( ontology:legislature ) } . ?g rdf:type ?o } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Chair_of_the_Federal_Reserve property:appointed_by ?d . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:common_name ) ( ontology:legislature ) } } } } . FILTER ( ?e > ?j ) }
[]
legislature common name occupation
Q655407 Q4970706 Q4122271
SYSTEM
President of the People's Republic of China, Federal Chancellor of Germany, Premier of the People's Republic of China
Q1846384 Q11793630 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q3246797 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q835586 Q4970706 Q531471 Q596123 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q1043568 Q862559 Q182762 Q1060844 Q3397406 Q691615 Q866680 Q152814 Q26000995 Q195965 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q4122271 Q3315134 Q3777749 Q111784 Q1362216 Q25860233
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q2666591
relation P748
type Q11204
type Q502895
More number of legislatures and people appointed than Chair of the Federal Reserve [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } . ?g rdf:type ?o } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q2666591 property:P748 ?d . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } } } } . FILTER ( ?e > ?j ) }
Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Serbia Federal Chancellor of Germany Chancellor of the Exchequer president of Bangladesh Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Vietnam Prime Minister of Malaysia Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands President of Vietnam Prime Minister of Malta President of the Parliament of Catalonia Governor of Gibraltar Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Premier of the People's Republic of China Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Secretary of State for Exiting the European Union
More number of legislatures and people appointed than Chair of the Federal Reserve President of the People's Republic of China, Federal Chancellor of Germany and Premier of the People's Republic of China
President of the People's Republic of China Federal Chancellor of Germany Premier of the People's Republic of China
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Chair of the Federal Reserve
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:common_name ) ( ontology:legislature ) } . ?g rdf:type ?o } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Chair_of_the_Federal_Reserve property:appointed_by ?d . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:common_name ) ( ontology:legislature ) } } } } . FILTER ( ?e > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1430943
P748
Q11204 Q502895 Q12737077
USER
And what about Prime Minister of Jamaica?
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1430943
relation P748
type Q11204
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?c WHERE { { ?c property:P748 ?e . ?c rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q11204 } UNION { ?c rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 . ?c property:P748 ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q1430943 property:P748 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q11204 } } } } . FILTER ( ?q > ?j ) }
Prime Minister of Jamaica
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Prime Minister of Jamaica
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?c WHERE { { ?c property:appointed_by ?e . ?c rdf:type ontology:occupation . ?e rdf:type ontology:legislature } UNION { ?c rdf:type ontology:occupation . ?e rdf:type ontology:common_name . ?c property:appointed_by ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Prime_Minister_of_Jamaica property:appointed_by ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:legislature } } } } . FILTER ( ?q > ?j ) }
[]
legislature common name occupation
Q655407 Q4970706 Q4122271
SYSTEM
President of the People's Republic of China, Federal Chancellor of Germany, Premier of the People's Republic of China
Q1846384 Q11793630 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q3246797 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q835586 Q4970706 Q531471 Q596123 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q1043568 Q862559 Q182762 Q1060844 Q3397406 Q691615 Q866680 Q152814 Q26000995 Q195965 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q4122271 Q3315134 Q3777749 Q111784 Q1362216 Q25860233
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1430943
relation P748
type Q11204
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?c WHERE { { ?c property:P748 ?e . ?c rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q11204 } UNION { ?c rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 . ?c property:P748 ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q1430943 property:P748 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q11204 } } } } . FILTER ( ?q > ?j ) }
Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Serbia Federal Chancellor of Germany Chancellor of the Exchequer president of Bangladesh Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Vietnam Prime Minister of Malaysia Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands President of Vietnam Prime Minister of Malta President of the Parliament of Catalonia Governor of Gibraltar Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Premier of the People's Republic of China Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Secretary of State for Exiting the European Union
President of the People's Republic of China Federal Chancellor of Germany Premier of the People's Republic of China
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Prime Minister of Jamaica
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?c WHERE { { ?c property:appointed_by ?e . ?c rdf:type ontology:occupation . ?e rdf:type ontology:legislature } UNION { ?c rdf:type ontology:occupation . ?e rdf:type ontology:common_name . ?c property:appointed_by ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Prime_Minister_of_Jamaica property:appointed_by ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:legislature } } } } . FILTER ( ?q > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26700951 Q1430943
P1001
Q1048835
USER
Which political territories come under the jurisdiction of Prime Minister of Jamaica or mayor of Sestao ?
OR((Q1430943,P1001,c(Q1048835)), (Q26700951,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q1430943
relation P1001
action find
entity Q26700951
relation P1001
type Q1048835
{'OR': [['Q1430943', 'P1001', {'concept': 'Q1048835'}], ['Q26700951', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1430943 property:P1001 ?o } UNION { resource:Q26700951 property:P1001 ?o } } . ?o rdf:type ontology:Q1048835 }
mayor of Sestao Prime Minister of Jamaica
action filter_type
action union
action find
entity Prime Minister of Jamaica
relation applies to jurisdiction
action find
entity mayor of Sestao
relation applies to jurisdiction
type political territorial entity
{'OR': [['Prime Minister of Jamaica', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['mayor of Sestao', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Prime_Minister_of_Jamaica property:applies_to_jurisdiction ?o } UNION { resource:mayor_of_Sestao property:applies_to_jurisdiction ?o } } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766 Q909707
SYSTEM
Jamaica, Sestao
Q766 Q909707
OR((Q1430943,P1001,c(Q1048835)), (Q26700951,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q1430943
relation P1001
action find
entity Q26700951
relation P1001
type Q1048835
[ANSWERS] come under the jurisdiction of Prime Minister of Jamaica or mayor of Sestao
{'OR': [['Q1430943', 'P1001', {'concept': 'Q1048835'}], ['Q26700951', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1430943 property:P1001 ?o } UNION { resource:Q26700951 property:P1001 ?o } } . ?o rdf:type ontology:Q1048835 }
Jamaica Sestao
Jamaica and Sestao come under the jurisdiction of Prime Minister of Jamaica or mayor of Sestao
Jamaica Sestao
action filter_type
action union
action find
entity Prime Minister of Jamaica
relation applies to jurisdiction
action find
entity mayor of Sestao
relation applies to jurisdiction
type political territorial entity
{'OR': [['Prime Minister of Jamaica', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['mayor of Sestao', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Prime_Minister_of_Jamaica property:applies_to_jurisdiction ?o } UNION { resource:mayor_of_Sestao property:applies_to_jurisdiction ?o } } . ?o rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q655407
P39
Q502895
USER
How many people were appointed for the position of President of the People's Republic of China ?
(c(Q502895),P39,Q655407)
action count
action filter_type
action find_reverse
entity Q655407
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q655407']
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P39 resource:Q655407 . ?c rdf:type ontology:Q502895 }
President of the People's Republic of China
action count
action filter_type
action find_reverse
entity President of the People's Republic of China
relation position held
type common name
[{'concept': 'common name'}, 'position held', "President of the People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:position_held resource:President_of_the_People's_Republic_of_China . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
9
Q311413 Q17132 Q377935 Q15031 Q15029 Q16988 Q968038 Q5816 Q16597
(c(Q502895),P39,Q655407)
action count
action filter_type
action find_reverse
entity Q655407
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q655407']
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P39 resource:Q655407 . ?c rdf:type ontology:Q502895 }
Li Xiannian Soong Ching-ling Yang Shangkun Xi Jinping Hu Jintao Liu Shaoqi Dong Biwu Mao Zedong Jiang Zemin
9
action count
action filter_type
action find_reverse
entity President of the People's Republic of China
relation position held
type common name
[{'concept': 'common name'}, 'position held', "President of the People's Republic of China"]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:position_held resource:President_of_the_People's_Republic_of_China . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q655407
P39
Q502895
USER
Which people held the position of that occupation ?
action filter_type
action find_reverse
entity Q655407
relation P39
type Q502895
SELECT DISTINCT ?j WHERE { ?j property:P39 resource:Q655407 . ?j rdf:type ontology:Q502895 }
President of the People's Republic of China
action filter_type
action find_reverse
entity President of the People's Republic of China
relation position held
type common name
SELECT DISTINCT ?j WHERE { ?j property:position_held resource:President_of_the_People's_Republic_of_China . ?j rdf:type ontology:common_name }
[]
common name
Q5816 Q17132 Q15031
SYSTEM
Mao Zedong, Soong Ching-ling, Xi Jinping
Q311413 Q15029 Q377935 Q17132 Q15031 Q16597 Q968038 Q16988 Q5816
action filter_type
action find_reverse
entity Q655407
relation P39
type Q502895
[ANSWERS] held the position of that occupation
SELECT DISTINCT ?j WHERE { ?j property:P39 resource:Q655407 . ?j rdf:type ontology:Q502895 }
Li Xiannian Hu Jintao Yang Shangkun Soong Ching-ling Xi Jinping Jiang Zemin Dong Biwu Liu Shaoqi Mao Zedong
Mao Zedong, Soong Ching-ling and Xi Jinping held the position of that occupation
Mao Zedong Soong Ching-ling Xi Jinping
action filter_type
action find_reverse
entity President of the People's Republic of China
relation position held
type common name
SELECT DISTINCT ?j WHERE { ?j property:position_held resource:President_of_the_People's_Republic_of_China . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5816 Q17132 Q15031
P35
Q15617994
USER
Which administrative territories have Mao Zedong, Soong Ching-ling and Xi Jinping as their head of state ?
(c(Q15617994),P35,Q5816) (c(Q15617994),P35,Q17132) (c(Q15617994),P35,Q15031)
action union
action filter_type
action find_reverse
entity Q5816
relation P35
type Q15617994
action filter_type
action find_reverse
entity Q17132
relation P35
type Q15617994
action filter_type
action find_reverse
entity Q15031
relation P35
type Q15617994
[{'concept': 'Q15617994'}, 'P35', 'Q5816'] [{'concept': 'Q15617994'}, 'P35', 'Q17132'] [{'concept': 'Q15617994'}, 'P35', 'Q15031']
SELECT DISTINCT ?l WHERE { ?l property:P35 ?t . VALUES ( ?t ) { ( resource:Q5816 ) ( resource:Q17132 ) } }
Mao Zedong Soong Ching-ling Xi Jinping
action union
action filter_type
action find_reverse
entity Mao Zedong
relation head of state
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Soong Ching-ling
relation head of state
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Xi Jinping
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Mao Zedong'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Soong Ching-ling'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Xi Jinping']
SELECT DISTINCT ?l WHERE { ?l property:head_of_state ?t . VALUES ( ?t ) { ( resource:Mao_Zedong ) ( resource:Soong_Ching-ling ) } }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(c(Q15617994),P35,Q5816) (c(Q15617994),P35,Q17132) (c(Q15617994),P35,Q15031)
action union
action filter_type
action find_reverse
entity Q5816
relation P35
type Q15617994
action filter_type
action find_reverse
entity Q17132
relation P35
type Q15617994
action filter_type
action find_reverse
entity Q15031
relation P35
type Q15617994
[ANSWER] have Mao Zedong, Soong Ching-ling and Xi Jinping as their head of state
[{'concept': 'Q15617994'}, 'P35', 'Q5816'] [{'concept': 'Q15617994'}, 'P35', 'Q17132'] [{'concept': 'Q15617994'}, 'P35', 'Q15031']
SELECT DISTINCT ?l WHERE { ?l property:P35 ?t . VALUES ( ?t ) { ( resource:Q5816 ) ( resource:Q17132 ) } }
People's Republic of China
People's Republic of China have Mao Zedong, Soong Ching-ling and Xi Jinping as their head of state
People's Republic of China
action union
action filter_type
action find_reverse
entity Mao Zedong
relation head of state
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Soong Ching-ling
relation head of state
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Xi Jinping
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Mao Zedong'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Soong Ching-ling'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Xi Jinping']
SELECT DISTINCT ?l WHERE { ?l property:head_of_state ?t . VALUES ( ?t ) { ( resource:Mao_Zedong ) ( resource:Soong_Ching-ling ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q148,P30,c(Q2221906))
action filter_type
action find
entity Q148
relation P30
type Q2221906
['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q148 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:People's_Republic_of_China property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q148,P30,c(Q2221906))
action filter_type
action find
entity Q148
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q148 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Asia
That administrative territory is situated in Asia
Asia
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:People's_Republic_of_China property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q48 Q5401 Q6745877
P361
Q2221906
USER
Is that geographic location a part of Eurasia and Mammoth Spring ?
(Q48,P361,Q5401) (Q48,P361,Q6745877)
action is_in
entity Q48
action intersection
action find_reverse
entity Q5401
relation P361
action find_reverse
entity Q6745877
relation P361
['Q48', 'P361', 'Q5401'] ['Q48', 'P361', 'Q6745877']
ASK WHERE { resource:Q48 property:P361 resource:Q5401 . resource:Q48 property:P361 resource:Q6745877 }
Asia Eurasia Mammoth Spring
action is_in
entity Asia
action intersection
action find_reverse
entity Eurasia
relation part of
action find_reverse
entity Mammoth Spring
relation part of
['Asia', 'part of', 'Eurasia'] ['Asia', 'part of', 'Mammoth Spring']
ASK WHERE { resource:Asia property:part_of resource:Eurasia . resource:Asia property:part_of resource:Mammoth_Spring }
[]
geographic location
SYSTEM
YES and NO respectively
(Q48,P361,Q5401) (Q48,P361,Q6745877)
action is_in
entity Q48
action intersection
action find_reverse
entity Q5401
relation P361
action find_reverse
entity Q6745877
relation P361
[ANSWER]
['Q48', 'P361', 'Q5401'] ['Q48', 'P361', 'Q6745877']
ASK WHERE { resource:Q48 property:P361 resource:Q5401 . resource:Q48 property:P361 resource:Q6745877 }
YES and NO respectively
action is_in
entity Asia
action intersection
action find_reverse
entity Eurasia
relation part of
action find_reverse
entity Mammoth Spring
relation part of
['Asia', 'part of', 'Eurasia'] ['Asia', 'part of', 'Mammoth Spring']
ASK WHERE { resource:Asia property:part_of resource:Eurasia . resource:Asia property:part_of resource:Mammoth_Spring }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17132 Q504093 Q650107
P27
Q15617994
USER
Is Soong Ching-ling a native of Lauenbrück and Gehrde ?
(Q17132,P27,Q504093) (Q17132,P27,Q650107)
action is_in
entity Q17132
action intersection
action find_reverse
entity Q504093
relation P27
action find_reverse
entity Q650107
relation P27
['Q17132', 'P27', 'Q504093'] ['Q17132', 'P27', 'Q650107']
ASK WHERE { resource:Q17132 property:P27 resource:Q504093 . resource:Q17132 property:P27 resource:Q650107 }
Soong Ching-ling Lauenbrück Gehrde
action is_in
entity Soong Ching-ling
action intersection
action find_reverse
entity Lauenbrück
relation country of citizenship
action find_reverse
entity Gehrde
relation country of citizenship
['Soong Ching-ling', 'country of citizenship', 'Lauenbrück'] ['Soong Ching-ling', 'country of citizenship', 'Gehrde']
ASK WHERE { resource:Soong_Ching-ling property:country_of_citizenship resource:Lauenbrück . resource:Soong_Ching-ling property:country_of_citizenship resource:Gehrde }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q17132,P27,Q504093) (Q17132,P27,Q650107)
action is_in
entity Q17132
action intersection
action find_reverse
entity Q504093
relation P27
action find_reverse
entity Q650107
relation P27
[ANSWER]
['Q17132', 'P27', 'Q504093'] ['Q17132', 'P27', 'Q650107']
ASK WHERE { resource:Q17132 property:P27 resource:Q504093 . resource:Q17132 property:P27 resource:Q650107 }
No
action is_in
entity Soong Ching-ling
action intersection
action find_reverse
entity Lauenbrück
relation country of citizenship
action find_reverse
entity Gehrde
relation country of citizenship
['Soong Ching-ling', 'country of citizenship', 'Lauenbrück'] ['Soong Ching-ling', 'country of citizenship', 'Gehrde']
ASK WHERE { resource:Soong_Ching-ling property:country_of_citizenship resource:Lauenbrück . resource:Soong_Ching-ling property:country_of_citizenship resource:Gehrde }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q766 Q2301558 Q408
P530
Q1048835
USER
Does Jamaica have ambassadorial relations with Matriz and Australia ?
(Q766,P530,Q2301558) (Q766,P530,Q408)
action is_in
entity Q766
action intersection
action find_reverse
entity Q2301558
relation P530
action find_reverse
entity Q408
relation P530
['Q766', 'P530', 'Q2301558'] ['Q766', 'P530', 'Q408']
ASK WHERE { resource:Q766 property:P530 resource:Q408 . resource:Q766 property:P530 resource:Q2301558 }
Jamaica Matriz Australia
action is_in
entity Jamaica
action intersection
action find_reverse
entity Matriz
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Jamaica', 'diplomatic relation', 'Matriz'] ['Jamaica', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Jamaica property:diplomatic_relation resource:Australia . resource:Jamaica property:diplomatic_relation resource:Matriz }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q766,P530,Q2301558) (Q766,P530,Q408)
action is_in
entity Q766
action intersection
action find_reverse
entity Q2301558
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q766', 'P530', 'Q2301558'] ['Q766', 'P530', 'Q408']
ASK WHERE { resource:Q766 property:P530 resource:Q408 . resource:Q766 property:P530 resource:Q2301558 }
NO and YES respectively
action is_in
entity Jamaica
action intersection
action find_reverse
entity Matriz
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Jamaica', 'diplomatic relation', 'Matriz'] ['Jamaica', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Jamaica property:diplomatic_relation resource:Australia . resource:Jamaica property:diplomatic_relation resource:Matriz }
[]