Simple Question (Direct)
Simple Question
Q6222528
P19
Q180673
USER
Which ceremonial county of England is the birthplace of John Boswall ?
(Q6222528,P19,c(Q180673))
action filter_type
action find
entity Q6222528
relation P19
type Q180673
['Q6222528', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?i WHERE { resource:Q6222528 property:P19 ?i . ?i rdf:type ontology:Q180673 }
John Boswall
action filter_type
action find
entity John Boswall
relation place of birth
type ceremonial county of England
['John Boswall', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?i WHERE { resource:John_Boswall property:place_of_birth ?i . ?i rdf:type ontology:ceremonial_county_of_England }
[]
ceremonial county of England
Q23169
SYSTEM
Oxfordshire
Q23169
(Q6222528,P19,c(Q180673))
action filter_type
action find
entity Q6222528
relation P19
type Q180673
[ANSWER] is the birthplace of John Boswall
['Q6222528', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?i WHERE { resource:Q6222528 property:P19 ?i . ?i rdf:type ontology:Q180673 }
Oxfordshire
Oxfordshire is the birthplace of John Boswall
Oxfordshire
action filter_type
action find
entity John Boswall
relation place of birth
type ceremonial county of England
['John Boswall', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?i WHERE { resource:John_Boswall property:place_of_birth ?i . ?i rdf:type ontology:ceremonial_county_of_England }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6222528
P161
Q5398426
USER
What is the name of television series starring John Boswall ?
(c(Q5398426),P161,Q6222528)
action filter_type
action find_reverse
entity Q6222528
relation P161
type Q5398426
[{'concept': 'Q5398426'}, 'P161', 'Q6222528']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q5398426 . ?v property:P161 resource:Q6222528 }
John Boswall
action filter_type
action find_reverse
entity John Boswall
relation cast member
type television series
[{'concept': 'television series'}, 'cast member', 'John Boswall']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:television_series . ?v property:cast_member resource:John_Boswall }
[]
television series
Q26183508
SYSTEM
Anglo Saxon Attitudes
Q26183508
(c(Q5398426),P161,Q6222528)
action filter_type
action find_reverse
entity Q6222528
relation P161
type Q5398426
The name of television series starring John Boswall is The [ANSWER]
[{'concept': 'Q5398426'}, 'P161', 'Q6222528']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q5398426 . ?v property:P161 resource:Q6222528 }
Anglo Saxon Attitudes
The name of television series starring John Boswall is The Anglo Saxon Attitudes
Anglo Saxon Attitudes
action filter_type
action find_reverse
entity John Boswall
relation cast member
type television series
[{'concept': 'television series'}, 'cast member', 'John Boswall']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:television_series . ?v property:cast_member resource:John_Boswall }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23169
P915
Q838948
USER
How many works of art were filmed in the location Oxfordshire ?
(c(Q838948),P915,Q23169)
action count
action filter_type
action find_reverse
entity Q23169
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q23169']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P915 resource:Q23169 . ?e rdf:type ontology:Q838948 }
Oxfordshire
action count
action filter_type
action find_reverse
entity Oxfordshire
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Oxfordshire']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:filming_location resource:Oxfordshire . ?e rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
11
Q181086 Q15527055 Q244398 Q578873 Q102244 Q14786561 Q102235 Q14918344 Q780951 Q3522392 Q471716
(c(Q838948),P915,Q23169)
action count
action filter_type
action find_reverse
entity Q23169
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q23169']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P915 resource:Q23169 . ?e rdf:type ontology:Q838948 }
A Clockwork Orange Far from the Madding Crowd Stardust Entrapment Harry Potter and the Chamber of Secrets Fury Harry Potter and the Order of the Phoenix The Imitation Game Greystoke: The Legend of Tarzan, Lord of the Apes The Quiet Ones Barry Lyndon
11
action count
action filter_type
action find_reverse
entity Oxfordshire
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Oxfordshire']
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:filming_location resource:Oxfordshire . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q956
P17
Q15617994
USER
Which administrative territory is Beijing present in ?
(Q956,P17,c(Q15617994))
action filter_type
action find
entity Q956
relation P17
type Q15617994
['Q956', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q956 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Beijing
action filter_type
action find
entity Beijing
relation country
type designation for an administrative territorial entity
['Beijing', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Beijing property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q956,P17,c(Q15617994))
action filter_type
action find
entity Q956
relation P17
type Q15617994
Beijing is a [ANSWER]
['Q956', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q956 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
People's Republic of China
Beijing is a People's Republic of China
People's Republic of China
action filter_type
action find
entity Beijing
relation country
type designation for an administrative territorial entity
['Beijing', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Beijing property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P6
Q502895
USER
Which people do that administrative territory serve as the head of government for ?
(Q148,P6,c(Q502895))
action filter_type
action find
entity Q148
relation P6
type Q502895
['Q148', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q148 property:P6 ?c . ?c rdf:type ontology:Q502895 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
["People's Republic of China", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:People's_Republic_of_China property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q17410 Q18301 Q99829
SYSTEM
Zhou Enlai, Li Peng, Zhao Ziyang
Q99829 Q41570 Q18111 Q18285 Q18301 Q17410 Q16628
(Q148,P6,c(Q502895))
action filter_type
action find
entity Q148
relation P6
type Q502895
That administrative territory serve as the head of government for the [ANSWERS]
['Q148', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q148 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Zhao Ziyang Hua Guofeng Li Keqiang Zhu Rongji Li Peng Zhou Enlai Wen Jiabao
That administrative territory serve as the head of government for the Zhou Enlai, Li Peng and Zhao Ziyang
Zhou Enlai Li Peng Zhao Ziyang
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
["People's Republic of China", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:People's_Republic_of_China property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q148
P6
Q15617994
USER
Do People's Republic of China have their government headed by those people ?
(Q148,P6,Q17410) (Q148,P6,Q18301) (Q148,P6,Q99829)
action is_in
entity prev_answer
action find
entity Q148
relation P6
['Q148', 'P6', 'Q17410'] ['Q148', 'P6', 'Q18301'] ['Q148', 'P6', 'Q99829']
ASK WHERE { VALUES ( ?y ) { ( resource:Q99829 ) ( resource:Q41570 ) ( resource:Q18111 ) } . resource:Q148 property:P6 ?y }
People's Republic of China
action is_in
entity prev_answer
action find
entity People's Republic of China
relation head of government
["People's Republic of China", 'head of government', 'Zhou Enlai'] ["People's Republic of China", 'head of government', 'Li Peng'] ["People's Republic of China", 'head of government', 'Zhao Ziyang']
ASK WHERE { VALUES ( ?y ) { ( resource:Zhao_Ziyang ) ( resource:Hua_Guofeng ) ( resource:Li_Keqiang ) } . resource:People's_Republic_of_China property:head_of_government ?y }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q148,P6,Q17410) (Q148,P6,Q18301) (Q148,P6,Q99829)
action is_in
entity prev_answer
action find
entity Q148
relation P6
[ANSWER]
['Q148', 'P6', 'Q17410'] ['Q148', 'P6', 'Q18301'] ['Q148', 'P6', 'Q99829']
ASK WHERE { VALUES ( ?y ) { ( resource:Q99829 ) ( resource:Q41570 ) ( resource:Q18111 ) } . resource:Q148 property:P6 ?y }
Yes
action is_in
entity prev_answer
action find
entity People's Republic of China
relation head of government
["People's Republic of China", 'head of government', 'Zhou Enlai'] ["People's Republic of China", 'head of government', 'Li Peng'] ["People's Republic of China", 'head of government', 'Zhao Ziyang']
ASK WHERE { VALUES ( ?y ) { ( resource:Zhao_Ziyang ) ( resource:Hua_Guofeng ) ( resource:Li_Keqiang ) } . resource:People's_Republic_of_China property:head_of_government ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q148
P47
Q15617994
USER
How many administrative territories have a shared border with People's Republic of China ?
(Q148,P47,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P47
type Q15617994
['Q148', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q148 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
People's Republic of China
action count
action filter_type
action find
entity People's Republic of China
relation shares border with
type designation for an administrative territorial entity
["People's Republic of China", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:People's_Republic_of_China property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
16
Q711 Q836 Q837 Q232 Q813 Q843 Q17 Q819 Q863 Q881 Q889 Q668 Q423 Q159 Q884 Q917
(Q148,P47,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P47
type Q15617994
[ANSWER]
['Q148', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q148 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Mongolia Myanmar Nepal Kazakhstan Kyrgyzstan Pakistan Japan Laos Tajikistan Vietnam Afghanistan India North Korea Russia South Korea Bhutan
16
action count
action filter_type
action find
entity People's Republic of China
relation shares border with
type designation for an administrative territorial entity
["People's Republic of China", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:People's_Republic_of_China property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q70157
P47
Q15617994
USER
Which administrative territories are bordered by Bourg-Saint-Pierre ?
(c(Q15617994),P47,Q70157)
action filter_type
action find
entity Q70157
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q70157']
SELECT DISTINCT ?s WHERE { resource:Q70157 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Bourg-Saint-Pierre
action filter_type
action find
entity Bourg-Saint-Pierre
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bourg-Saint-Pierre']
SELECT DISTINCT ?s WHERE { resource:Bourg-Saint-Pierre property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q35036 Q35248 Q35411
SYSTEM
Etroubles, Ollomont, Saint-Oyen, Aosta Valley
Q35036 Q35248 Q35411
(c(Q15617994),P47,Q70157)
action filter_type
action find
entity Q70157
relation P47
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q70157']
SELECT DISTINCT ?s WHERE { resource:Q70157 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Etroubles Ollomont Saint-Oyen, Aosta Valley
Etroubles, Ollomont and Saint-Oyen, Aosta Valley are bordered by Bourg-Saint-Pierre
Etroubles Ollomont Saint-Oyen, Aosta Valley
action filter_type
action find
entity Bourg-Saint-Pierre
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bourg-Saint-Pierre']
SELECT DISTINCT ?s WHERE { resource:Bourg-Saint-Pierre property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17410
P102
Q7278
USER
Which political party is Zhou Enlai a member of ?
(Q17410,P102,c(Q7278))
action filter_type
action find
entity Q17410
relation P102
type Q7278
['Q17410', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7278 . resource:Q17410 property:P102 ?b }
Zhou Enlai
action filter_type
action find
entity Zhou Enlai
relation member of political party
type political party
['Zhou Enlai', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_party . resource:Zhou_Enlai property:member_of_political_party ?b }
[]
political party
Q17427
SYSTEM
Communist Party of China
Q17427
(Q17410,P102,c(Q7278))
action filter_type
action find
entity Q17410
relation P102
type Q7278
The [ANSWER] is Zhou Enlai a member of
['Q17410', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7278 . resource:Q17410 property:P102 ?b }
Communist Party of China
The Communist Party of China is Zhou Enlai a member of
Communist Party of China
action filter_type
action find
entity Zhou Enlai
relation member of political party
type political party
['Zhou Enlai', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_party . resource:Zhou_Enlai property:member_of_political_party ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17427
P361
Q43229
USER
Which organization is a portion of that political party ?
(c(Q43229),P361,Q17427)
action filter_type
action find_reverse
entity Q17427
relation P361
type Q43229
[{'concept': 'Q43229'}, 'P361', 'Q17427']
SELECT DISTINCT ?u WHERE { ?u property:P361 resource:Q17427 . ?u rdf:type ontology:Q43229 }
Communist Party of China
action filter_type
action find_reverse
entity Communist Party of China
relation part of
type organization
[{'concept': 'organization'}, 'part of', 'Communist Party of China']
SELECT DISTINCT ?u WHERE { ?u property:part_of resource:Communist_Party_of_China . ?u rdf:type ontology:organization }
[]
organization
Q1071253
SYSTEM
Communist Youth League of China
Q1071253
(c(Q43229),P361,Q17427)
action filter_type
action find_reverse
entity Q17427
relation P361
type Q43229
The [ANSWER] is a portion of that political party
[{'concept': 'Q43229'}, 'P361', 'Q17427']
SELECT DISTINCT ?u WHERE { ?u property:P361 resource:Q17427 . ?u rdf:type ontology:Q43229 }
Communist Youth League of China
The Communist Youth League of China is a portion of that political party
Communist Youth League of China
action filter_type
action find_reverse
entity Communist Party of China
relation part of
type organization
[{'concept': 'organization'}, 'part of', 'Communist Party of China']
SELECT DISTINCT ?u WHERE { ?u property:part_of resource:Communist_Party_of_China . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1071253
P159
Q56061
USER
Which administrative territory is the headquarter location of that organization ?
(Q1071253,P159,c(Q56061))
action filter_type
action find
entity Q1071253
relation P159
type Q56061
['Q1071253', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1071253 property:P159 ?m . ?m rdf:type ontology:Q56061 }
Communist Youth League of China
action filter_type
action find
entity Communist Youth League of China
relation headquarters location
type administrative territorial entity
['Communist Youth League of China', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Communist_Youth_League_of_China property:headquarters_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956
SYSTEM
Beijing
Q956
(Q1071253,P159,c(Q56061))
action filter_type
action find
entity Q1071253
relation P159
type Q56061
[ANSWER] is the headquarter location of that organization
['Q1071253', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1071253 property:P159 ?m . ?m rdf:type ontology:Q56061 }
Beijing
Beijing is the headquarter location of that organization
Beijing
action filter_type
action find
entity Communist Youth League of China
relation headquarters location
type administrative territorial entity
['Communist Youth League of China', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Communist_Youth_League_of_China property:headquarters_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]