Question: What's the relationship between John Carter (the American) to winger (Dany Heatley's position)?
Choices:
killed by
student
occupant
item operated
parent organization
fictional universe described in
capital of
subsidiary
position played on team / speciality
sex or gender
Answer: position played on team / speciality
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "winger" . ?e_4 <position_played_on_team_/_speciality> ?e_2 . ?e_4 <pred:name> "Dany Heatley" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: John Carter
function: And
dependencies: 1
2
function: Find
inputs: Dany Heatley
function: Relate
dependencies: 4
inputs: position played on team / speciality
forward
function: Find
inputs: winger
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7