Question: What is the relation between David Brown (the one that is a member of Bradford City A.F.C.) and Nottingham Forest F.C.?
Choices:
hair color
characters
diaspora
make-up artist
currency
famous people
editor
legal form
member of sports team
located in time zone
Program:
function: Find
inputs: Bradford City A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: David Brown
function: And
dependencies: 1
2
function: Find
inputs: Nottingham Forest F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Brown" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Bradford City A.F.C." . ?e_2 <pred:name> "Nottingham Forest F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team