Question: Tell me the relation with Dean Martin (the one that is a Bohemian F.C. member) and Hereford United F.C.
Choices:
language used
member of sports team
software engine
series spin-off
notable work
kit supplier
set in period
dedicated to
located in or next to body of water
place of death
Program:
function: Find
inputs: Bohemian F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Dean Martin
function: And
dependencies: 1
2
function: Find
inputs: Hereford United F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dean Martin" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Bohemian F.C." . ?e_2 <pred:name> "Hereford United F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team