Simple Question (Direct)
Simple Question
Q16402853
P27
Q15617994
USER
Which administrative territory does Antonio Díez Mateo belong to ?
(Q16402853,P27,c(Q15617994))
action filter_type
action find
entity Q16402853
relation P27
type Q15617994
['Q16402853', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q16402853 property:P27 ?u }
Antonio Díez Mateo
action filter_type
action find
entity Antonio Díez Mateo
relation country of citizenship
type designation for an administrative territorial entity
['Antonio Díez Mateo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antonio_Díez_Mateo property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q16402853,P27,c(Q15617994))
action filter_type
action find
entity Q16402853
relation P27
type Q15617994
Antonio Díez Mateo belongs to [ANSWER]
['Q16402853', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q16402853 property:P27 ?u }
Spain
Antonio Díez Mateo belongs to Spain
Spain
action filter_type
action find
entity Antonio Díez Mateo
relation country of citizenship
type designation for an administrative territorial entity
['Antonio Díez Mateo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antonio_Díez_Mateo property:country_of_citizenship ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16402853
P21
Q290
USER
What is the sex of that person ?
(Q29,P21,c(Q290))
action filter_type
action find
entity Q16402853
relation P21
type Q290
['Q29', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q16402853 property:P21 ?n . ?n rdf:type ontology:Q290 }
Antonio Díez Mateo
action filter_type
action find
entity Antonio Díez Mateo
relation gender
type sex
['Spain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Antonio_Díez_Mateo property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q29,P21,c(Q290))
action filter_type
action find
entity Q16402853
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q29', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q16402853 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Antonio Díez Mateo
relation gender
type sex
['Spain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Antonio_Díez_Mateo property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q4710626
P21
Q502895
USER
Does Albert Kelly have the gender as that sex ?
(Q4710626,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q4710626
relation P21
['Q4710626', 'P21', 'Q6581097']
ASK WHERE { resource:Q4710626 property:P21 resource:Q6581097 }
male Albert Kelly
action is_in
entity male
action find
entity Albert Kelly
relation gender
['Albert Kelly', 'gender', 'male']
ASK WHERE { resource:Albert_Kelly property:gender resource:male }
[]
common name
SYSTEM
YES
(Q4710626,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q4710626
relation P21
[ANSWER]
['Q4710626', 'P21', 'Q6581097']
ASK WHERE { resource:Q4710626 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Albert Kelly
relation gender
['Albert Kelly', 'gender', 'male']
ASK WHERE { resource:Albert_Kelly property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q458 Q7172
P47
Q56061
USER
Is Spain next to the border of European Union and Arab League ?
(Q29,P47,Q458) (Q29,P47,Q7172)
action is_in
entity Q29
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q7172
relation P47
['Q29', 'P47', 'Q458'] ['Q29', 'P47', 'Q7172']
ASK WHERE { resource:Q29 property:P47 resource:Q458 . resource:Q29 property:P47 resource:Q7172 }
Spain European Union Arab League
action is_in
entity Spain
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Arab League
relation shares border with
['Spain', 'shares border with', 'European Union'] ['Spain', 'shares border with', 'Arab League']
ASK WHERE { resource:Spain property:shares_border_with resource:European_Union . resource:Spain property:shares_border_with resource:Arab_League }
[]
administrative territorial entity
SYSTEM
YES
(Q29,P47,Q458) (Q29,P47,Q7172)
action is_in
entity Q29
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q7172
relation P47
[ANSWER]
['Q29', 'P47', 'Q458'] ['Q29', 'P47', 'Q7172']
ASK WHERE { resource:Q29 property:P47 resource:Q458 . resource:Q29 property:P47 resource:Q7172 }
Yes
action is_in
entity Spain
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Arab League
relation shares border with
['Spain', 'shares border with', 'European Union'] ['Spain', 'shares border with', 'Arab League']
ASK WHERE { resource:Spain property:shares_border_with resource:European_Union . resource:Spain property:shares_border_with resource:Arab_League }
[]