Simple Question (Direct)
Simple Question
Q7822494
P27
Q15617994
USER
Which administrative territory is the native country of Tony Griffiths ?
(Q7822494,P27,c(Q15617994))
action filter_type
action find
entity Q7822494
relation P27
type Q15617994
['Q7822494', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7822494 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Tony Griffiths
action filter_type
action find
entity Tony Griffiths
relation country of citizenship
type designation for an administrative territorial entity
['Tony Griffiths', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Tony_Griffiths property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q7822494,P27,c(Q15617994))
action filter_type
action find
entity Q7822494
relation P27
type Q15617994
[ANSWER] is the native country of Tony Griffiths
['Q7822494', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7822494 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Ireland
Ireland is the native country of Tony Griffiths
Ireland
action filter_type
action find
entity Tony Griffiths
relation country of citizenship
type designation for an administrative territorial entity
['Tony Griffiths', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Tony_Griffiths property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P1376
Q515
USER
Which city is center of administration for that administrative territory ?
(c(Q515),P1376,Q27)
action filter_type
action find_reverse
entity Q27
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q27']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . ?k property:P1376 resource:Q27 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Ireland']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . ?k property:capital_of resource:Ireland }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(c(Q515),P1376,Q27)
action filter_type
action find_reverse
entity Q27
relation P1376
type Q515
[ANSWER] is center of administration for that administrative territory
[{'concept': 'Q515'}, 'P1376', 'Q27']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . ?k property:P1376 resource:Q27 }
Dublin
Dublin is center of administration for that administrative territory
Dublin
action filter_type
action find_reverse
entity Ireland
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Ireland']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . ?k property:capital_of resource:Ireland }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1761 Q4455902
P20
Q502895
USER
Does Veikko Lavonen have that city as the area of death ?
(Q4455902,P20,Q1761)
action is_in
entity Q4455902
action find
entity Q1761
relation P20
['Q4455902', 'P20', 'Q1761']
ASK WHERE { resource:Q1761 property:P20 resource:Q4455902 }
Dublin Veikko Lavonen
action is_in
entity Veikko Lavonen
action find
entity Dublin
relation place of death
['Veikko Lavonen', 'place of death', 'Dublin']
ASK WHERE { resource:Dublin property:place_of_death resource:Veikko_Lavonen }
[]
common name
SYSTEM
NO
(Q4455902,P20,Q1761)
action is_in
entity Q4455902
action find
entity Q1761
relation P20
[ANSWER]
['Q4455902', 'P20', 'Q1761']
ASK WHERE { resource:Q1761 property:P20 resource:Q4455902 }
No
action is_in
entity Veikko Lavonen
action find
entity Dublin
relation place of death
['Veikko Lavonen', 'place of death', 'Dublin']
ASK WHERE { resource:Dublin property:place_of_death resource:Veikko_Lavonen }
[]