Question: How is Maggie Smith who won a BAFTA Academy Fellowship Award related to Ilford?
Choices:
doctoral advisor
military conflicts
health specialty
league
interests
said to be the same as
place of birth
fictional universe described in
separated from
theme music
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Maggie Smith" . ?e_3 <winner> ?e_1 . ?e_3 <pred:name> "BAFTA Academy Fellowship Award" . ?e_2 <pred:name> "Ilford" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BAFTA Academy Fellowship Award
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: Maggie Smith
function: And
dependencies: 1
2
function: Find
inputs: Ilford
function: QueryRelation
dependencies: 3
4