Question: What is the relationship between Hulk (the one whose position is midfielder) and F.C. Porto?
Choices:
lowest point
partner
member of sports team
presenter
edition or translation of
talk show guest
participant
studied by
art director
family
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hulk" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "midfielder" . ?e_2 <pred:name> "F.C. Porto" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: midfielder
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Hulk
function: And
dependencies: 1
2
function: Find
inputs: F.C. Porto
function: QueryRelation
dependencies: 3
4