Question: What is the connection between Peter Pan (the one that uses the language English) to London (the one that is the death place of J. G. Ballard)?
Choices:
worshipped by
part of the series
present in work
appears in the form of
architectural style
source of material
narrative location
public holiday
film distribute region
diaspora
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Peter Pan
function: And
dependencies: 1
2
function: Find
inputs: J. G. Ballard
function: Relate
dependencies: 4
inputs: place of death
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Pan" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "London" . ?e_4 <place_of_death> ?e_2 . ?e_4 <pred:name> "J. G. Ballard" . ?e_1 ?p ?e_2 .  }
Answer: narrative location