Question: What's the relationship between Bill Evans (from the Red Sox) and the United States of America?
Choices:
color
time period
capital
territory claimed by
broadcast by
country of citizenship
replaces
fictional universe described in
tributary
field of work
Program:
function: Find
inputs: Boston Red Sox
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Bill Evans
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bill Evans" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Boston Red Sox" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship