Question: Tell me the relationship between bob Robers (who was born in West Bromwich) and Aston Villa F.C.
Choices:
grants
platform
diplomatic relation
source of material
mountain range
member of sports team
partner
residence
mascot
mother
Program:
function: Find
inputs: West Bromwich
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Bob Roberts
function: And
dependencies: 1
2
function: Find
inputs: Aston Villa F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bob Roberts" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "West Bromwich" . ?e_2 <pred:name> "Aston Villa F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team