Question: How is David Byrne (the one that is a member of Dundee United F.C.) related Ireland (the one that has a citizen Robbie Keane) ?
Choices:
cast member
killed by
afflicts
instrument
country of citizenship
named after
from fictional universe
director/manager
has contributing factor
nutrient
Program:
function: Find
inputs: Dundee United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: David Byrne
function: And
dependencies: 1
2
function: Find
inputs: Robbie Keane
function: Relate
dependencies: 4
inputs: country of citizenship
forward
function: Find
inputs: Ireland
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Byrne" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Dundee United F.C." . ?e_2 <pred:name> "Ireland" . ?e_4 <country_of_citizenship> ?e_2 . ?e_4 <pred:name> "Robbie Keane" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship