Question: What is the relation of James Brown (whose position is defender) to Dundee F.C.?
Choices:
director
natural product of taxon
country for sport
office contested
mountain range
composer
legal form
mascot
participant
member of sports team
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "defender" . ?e_2 <pred:name> "Dundee F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: defender
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: James Brown
function: And
dependencies: 1
2
function: Find
inputs: Dundee F.C.
function: QueryRelation
dependencies: 3
4