Question: What is the connection between Neil Young (the one whose position is midfielder) to England (the one that is the origin country of rugby league)?
Choices:
place of birth
from fictional universe
hair color
designed to carry
capital of
superhuman feature or ability
professional or sports partner
dissertation submitted to
make-up artist
approved by
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Neil Young" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "midfielder" . ?e_2 <pred:name> "England" . ?e_4 <country_of_origin> ?e_2 . ?e_4 <pred:name> "rugby league" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: midfielder
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Neil Young
function: And
dependencies: 1
2
function: Find
inputs: rugby league
function: Relate
dependencies: 4
inputs: country of origin
forward
function: Find
inputs: England
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7