Question: What is the relationship between Hulk (the one that is a member of F.C. Zenit St. Petersburg) and F.C. Porto?
Choices: characters
patron saint
basin country
editor
history of topic
source of income
uses
location of discovery
public holiday
member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hulk" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "F.C. Zenit St. Petersburg" . ?e_2 <pred:name> "F.C. Porto" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: F.C. Zenit St. Petersburg
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Hulk
function: And
dependencies: 1
2
function: Find
inputs: F.C. Porto
function: QueryRelation
dependencies: 3
4
Answer: member of sports team