Question: How is cricket personality John Spencer related to the England and Wales cricket team?
Choices:
home world
interested in
legislative body
sexual orientation
noble title
presenter
office held by head of government
member of sports team
librettist
designed by
Program:
function: Find
inputs: cricket
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: John Spencer
function: And
dependencies: 1
2
function: Find
inputs: England and Wales cricket team
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Spencer" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "cricket" . ?e_2 <pred:name> "England and Wales cricket team" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team