Question: What is the association of The Wolfman to London (the birthplace of Peter Lamont)?
Choices:
use
publisher
student of
narrative location
distribution
author
contributing factor of
place of birth
candidate
convicted of
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Wolfman" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Peter Lamont" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Wolfman
function: Find
inputs: Peter Lamont
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4