Simple Question (Direct)
Simple Question
Q6205074
P19
Q56061
USER
Which administrative territory is the place of birth of Joan Golobart ?
(Q6205074,P19,c(Q56061))
action filter_type
action find
entity Q6205074
relation P19
type Q56061
['Q6205074', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q6205074 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Joan Golobart
action filter_type
action find
entity Joan Golobart
relation place of birth
type administrative territorial entity
['Joan Golobart', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Joan_Golobart property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q6205074,P19,c(Q56061))
action filter_type
action find
entity Q6205074
relation P19
type Q56061
[ANSWER] is the place of birth of Joan Golobart
['Q6205074', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q6205074 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Barcelona
Barcelona is the place of birth of Joan Golobart
Barcelona
action filter_type
action find
entity Joan Golobart
relation place of birth
type administrative territorial entity
['Joan Golobart', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Joan_Golobart property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1492
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q1492,P17,c(Q15617994))
action filter_type
action find
entity Q1492
relation P17
type Q15617994
['Q1492', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q1492 property:P17 ?q }
Barcelona
action filter_type
action find
entity Barcelona
relation country
type designation for an administrative territorial entity
['Barcelona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Barcelona property:country ?q }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1492,P17,c(Q15617994))
action filter_type
action find
entity Q1492
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q1492', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q1492 property:P17 ?q }
Spain
That administrative territory is located in Spain
Spain
action filter_type
action find
entity Barcelona
relation country
type designation for an administrative territorial entity
['Barcelona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Barcelona property:country ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29 Q2807 Q5355956
P36
Q56061
USER
Does that administrative territory contains Madrid and Electoral district of South Murchison as its capital ?
(Q29,P36,Q2807) (Q29,P36,Q5355956)
action is_in
entity Q29
action intersection
action find_reverse
entity Q2807
relation P36
action find_reverse
entity Q5355956
relation P36
['Q29', 'P36', 'Q2807'] ['Q29', 'P36', 'Q5355956']
ASK WHERE { resource:Q29 property:P36 resource:Q5355956 . resource:Q29 property:P36 resource:Q2807 }
Spain Madrid Electoral district of South Murchison
action is_in
entity Spain
action intersection
action find_reverse
entity Madrid
relation capital
action find_reverse
entity Electoral district of South Murchison
relation capital
['Spain', 'capital', 'Madrid'] ['Spain', 'capital', 'Electoral district of South Murchison']
ASK WHERE { resource:Spain property:capital resource:Electoral_district_of_South_Murchison . resource:Spain property:capital resource:Madrid }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q29,P36,Q2807) (Q29,P36,Q5355956)
action is_in
entity Q29
action intersection
action find_reverse
entity Q2807
relation P36
action find_reverse
entity Q5355956
relation P36
[ANSWER]
['Q29', 'P36', 'Q2807'] ['Q29', 'P36', 'Q5355956']
ASK WHERE { resource:Q29 property:P36 resource:Q5355956 . resource:Q29 property:P36 resource:Q2807 }
YES and NO respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Madrid
relation capital
action find_reverse
entity Electoral district of South Murchison
relation capital
['Spain', 'capital', 'Madrid'] ['Spain', 'capital', 'Electoral district of South Murchison']
ASK WHERE { resource:Spain property:capital resource:Electoral_district_of_South_Murchison . resource:Spain property:capital resource:Madrid }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6205074 Q29
P27
Q15617994
USER
Is Spain the country of citizenship of Joan Golobart ?
(Q6205074,P27,Q29)
action is_in
entity Q29
action find
entity Q6205074
relation P27
['Q6205074', 'P27', 'Q29']
ASK WHERE { resource:Q6205074 property:P27 resource:Q29 }
Joan Golobart Spain
action is_in
entity Spain
action find
entity Joan Golobart
relation country of citizenship
['Joan Golobart', 'country of citizenship', 'Spain']
ASK WHERE { resource:Joan_Golobart property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6205074,P27,Q29)
action is_in
entity Q29
action find
entity Q6205074
relation P27
[ANSWER]
['Q6205074', 'P27', 'Q29']
ASK WHERE { resource:Q6205074 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Joan Golobart
relation country of citizenship
['Joan Golobart', 'country of citizenship', 'Spain']
ASK WHERE { resource:Joan_Golobart property:country_of_citizenship resource:Spain }
[]