Simple Question (Direct)
Simple Question
Q139412
P102
Q7210356
USER
Which party does Z. K. Matthews belong to ?
(Q139412,P102,c(Q7210356))
action filter_type
action find
entity Q139412
relation P102
type Q7210356
['Q139412', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q139412 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Z. K. Matthews
action filter_type
action find
entity Z. K. Matthews
relation member of political party
type political organization
['Z. K. Matthews', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Z._K._Matthews property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q83162
SYSTEM
African National Congress
Q83162
(Q139412,P102,c(Q7210356))
action filter_type
action find
entity Q139412
relation P102
type Q7210356
Z. K. Matthews belongs to [ANSWER]
['Q139412', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q139412 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
African National Congress
Z. K. Matthews belongs to African National Congress
African National Congress
action filter_type
action find
entity Z. K. Matthews
relation member of political party
type political organization
['Z. K. Matthews', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Z._K._Matthews property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83162
P190
Q56061
USER
Which administrative territory is sister town of that political organization ?
(Q83162,P190,c(Q56061))
action filter_type
action find
entity Q83162
relation P190
type Q56061
['Q83162', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q83162 property:P190 ?y }
African National Congress
action filter_type
action find
entity African National Congress
relation sister city
type administrative territorial entity
['African National Congress', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:African_National_Congress property:sister_city ?y }
[]
administrative territorial entity
Q13360
SYSTEM
Reggio Emilia
Q13360
(Q83162,P190,c(Q56061))
action filter_type
action find
entity Q83162
relation P190
type Q56061
[ANSWER] is sister town of that political organization
['Q83162', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q83162 property:P190 ?y }
Reggio Emilia
Reggio Emilia is sister town of that political organization
Reggio Emilia
action filter_type
action find
entity African National Congress
relation sister city
type administrative territorial entity
['African National Congress', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:African_National_Congress property:sister_city ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13360
P47
Q15617994
USER
Which administrative territories do that administrative territory share a border with ?
(c(Q15617994),P47,Q13360)
action filter_type
action find
entity Q13360
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q13360']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q13360 property:P47 ?k }
Reggio Emilia
action filter_type
action find
entity Reggio Emilia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Reggio Emilia']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Reggio_Emilia property:shares_border_with ?k }
[]
designation for an administrative territorial entity
Q111176 Q111150 Q111289
SYSTEM
Correggio, Emilia-Romagna, Casalgrande, Scandiano
Q111176 Q111215 Q111284 Q111096 Q111150 Q111120 Q111169 Q111126 Q111289 Q111100 Q111278 Q111226 Q111275
(c(Q15617994),P47,Q13360)
action filter_type
action find
entity Q13360
relation P47
type Q15617994
That administrative territory share a border with [ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q13360']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q13360 property:P47 ?k }
Correggio, Emilia-Romagna Montecchio Emilia Sant'Ilario d'Enza Albinea Casalgrande Cadelbosco di Sopra Cavriago Campegine Scandiano Bagnolo in Piano San Martino in Rio Quattro Castella Rubiera
That administrative territory share a border with Correggio, Emilia-Romagna, Casalgrande and Scandiano
Correggio, Emilia-Romagna Casalgrande Scandiano
action filter_type
action find
entity Reggio Emilia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Reggio Emilia']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Reggio_Emilia property:shares_border_with ?k }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13360
P47
Q56061
USER
Does Reggio Emilia share border with those administrative territories ?
(Q13360,P47,Q111176) (Q13360,P47,Q111150) (Q13360,P47,Q111289)
action is_in
entity prev_answer
action find
entity Q13360
relation P47
['Q13360', 'P47', 'Q111176'] ['Q13360', 'P47', 'Q111150'] ['Q13360', 'P47', 'Q111289']
ASK WHERE { resource:Q13360 property:P47 ?d . VALUES ( ?d ) { ( resource:Q111176 ) ( resource:Q111215 ) ( resource:Q111284 ) } }
Reggio Emilia
action is_in
entity prev_answer
action find
entity Reggio Emilia
relation shares border with
['Reggio Emilia', 'shares border with', 'Correggio, Emilia-Romagna'] ['Reggio Emilia', 'shares border with', 'Casalgrande'] ['Reggio Emilia', 'shares border with', 'Scandiano']
ASK WHERE { resource:Reggio_Emilia property:shares_border_with ?d . VALUES ( ?d ) { ( resource:Correggio,_Emilia-Romagna ) ( resource:Montecchio_Emilia ) ( resource:Sant'Ilario_d'Enza ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q13360,P47,Q111176) (Q13360,P47,Q111150) (Q13360,P47,Q111289)
action is_in
entity prev_answer
action find
entity Q13360
relation P47
[ANSWER]
['Q13360', 'P47', 'Q111176'] ['Q13360', 'P47', 'Q111150'] ['Q13360', 'P47', 'Q111289']
ASK WHERE { resource:Q13360 property:P47 ?d . VALUES ( ?d ) { ( resource:Q111176 ) ( resource:Q111215 ) ( resource:Q111284 ) } }
Yes
action is_in
entity prev_answer
action find
entity Reggio Emilia
relation shares border with
['Reggio Emilia', 'shares border with', 'Correggio, Emilia-Romagna'] ['Reggio Emilia', 'shares border with', 'Casalgrande'] ['Reggio Emilia', 'shares border with', 'Scandiano']
ASK WHERE { resource:Reggio_Emilia property:shares_border_with ?d . VALUES ( ?d ) { ( resource:Correggio,_Emilia-Romagna ) ( resource:Montecchio_Emilia ) ( resource:Sant'Ilario_d'Enza ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q83162 Q57282 Q8019400
P488
Q502895
USER
Does Jacob Zuma and William Thornton Pryce lead African National Congress ?
(Q83162,P488,Q57282) (Q83162,P488,Q8019400)
action is_in
entity Q83162
action intersection
action find_reverse
entity Q57282
relation P488
action find_reverse
entity Q8019400
relation P488
['Q83162', 'P488', 'Q57282'] ['Q83162', 'P488', 'Q8019400']
ASK WHERE { resource:Q83162 property:P488 resource:Q57282 . resource:Q83162 property:P488 resource:Q8019400 }
African National Congress Jacob Zuma William Thornton Pryce
action is_in
entity African National Congress
action intersection
action find_reverse
entity Jacob Zuma
relation chairperson
action find_reverse
entity William Thornton Pryce
relation chairperson
['African National Congress', 'chairperson', 'Jacob Zuma'] ['African National Congress', 'chairperson', 'William Thornton Pryce']
ASK WHERE { resource:African_National_Congress property:chairperson resource:Jacob_Zuma . resource:African_National_Congress property:chairperson resource:William_Thornton_Pryce }
[]
common name
SYSTEM
YES and NO respectively
(Q83162,P488,Q57282) (Q83162,P488,Q8019400)
action is_in
entity Q83162
action intersection
action find_reverse
entity Q57282
relation P488
action find_reverse
entity Q8019400
relation P488
[ANSWER]
['Q83162', 'P488', 'Q57282'] ['Q83162', 'P488', 'Q8019400']
ASK WHERE { resource:Q83162 property:P488 resource:Q57282 . resource:Q83162 property:P488 resource:Q8019400 }
YES and NO respectively
action is_in
entity African National Congress
action intersection
action find_reverse
entity Jacob Zuma
relation chairperson
action find_reverse
entity William Thornton Pryce
relation chairperson
['African National Congress', 'chairperson', 'Jacob Zuma'] ['African National Congress', 'chairperson', 'William Thornton Pryce']
ASK WHERE { resource:African_National_Congress property:chairperson resource:Jacob_Zuma . resource:African_National_Congress property:chairperson resource:William_Thornton_Pryce }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83162
P1142
Q7257
USER
Which ideology does that political organization believe in ?
action filter_type
action find
entity Q83162
relation P1142
type Q7257
SELECT DISTINCT ?e WHERE { resource:Q83162 property:P1142 ?e . ?e rdf:type ontology:Q7257 }
African National Congress
action filter_type
action find
entity African National Congress
relation political ideology
type ideology
SELECT DISTINCT ?e WHERE { resource:African_National_Congress property:political_ideology ?e . ?e rdf:type ontology:ideology }
[]
ideology
Q3874021
SYSTEM
African nationalism
Q3874021
action filter_type
action find
entity Q83162
relation P1142
type Q7257
That political organization believes in [ANSWER]
SELECT DISTINCT ?e WHERE { resource:Q83162 property:P1142 ?e . ?e rdf:type ontology:Q7257 }
African nationalism
That political organization believes in African nationalism
African nationalism
action filter_type
action find
entity African National Congress
relation political ideology
type ideology
SELECT DISTINCT ?e WHERE { resource:African_National_Congress property:political_ideology ?e . ?e rdf:type ontology:ideology }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3874021 Q1279966
P1142
Q7210356
USER
Does Unidad Popular have that one as its political ideology ?
(Q1279966,P1142,Q3874021)
action is_in
entity Q1279966
action find
entity Q3874021
relation P1142
['Q1279966', 'P1142', 'Q3874021']
ASK WHERE { resource:Q3874021 property:P1142 resource:Q1279966 }
African nationalism Unidad Popular
action is_in
entity Unidad Popular
action find
entity African nationalism
relation political ideology
['Unidad Popular', 'political ideology', 'African nationalism']
ASK WHERE { resource:African_nationalism property:political_ideology resource:Unidad_Popular }
[]
political organization
SYSTEM
NO
(Q1279966,P1142,Q3874021)
action is_in
entity Q1279966
action find
entity Q3874021
relation P1142
[ANSWER]
['Q1279966', 'P1142', 'Q3874021']
ASK WHERE { resource:Q3874021 property:P1142 resource:Q1279966 }
No
action is_in
entity Unidad Popular
action find
entity African nationalism
relation political ideology
['Unidad Popular', 'political ideology', 'African nationalism']
ASK WHERE { resource:African_nationalism property:political_ideology resource:Unidad_Popular }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q111176 Q38
P17
Q15617994
USER
Is Correggio, Emilia-Romagna situated in Italy ?
(Q111176,P17,Q38)
action is_in
entity Q38
action find
entity Q111176
relation P17
['Q111176', 'P17', 'Q38']
ASK WHERE { resource:Q111176 property:P17 resource:Q38 }
Correggio, Emilia-Romagna Italy
action is_in
entity Italy
action find
entity Correggio, Emilia-Romagna
relation country
['Correggio, Emilia-Romagna', 'country', 'Italy']
ASK WHERE { resource:Correggio,_Emilia-Romagna property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q111176,P17,Q38)
action is_in
entity Q38
action find
entity Q111176
relation P17
[ANSWER]
['Q111176', 'P17', 'Q38']
ASK WHERE { resource:Q111176 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Correggio, Emilia-Romagna
relation country
['Correggio, Emilia-Romagna', 'country', 'Italy']
ASK WHERE { resource:Correggio,_Emilia-Romagna property:country resource:Italy }
[]