Question: What is the relationship between Peter Pan (the one that mainly depicts adolescence) and London (the one that is the birthplace of Ben Cross)?
Choices:
member of
product or material produced
vehicle normally used
narrative location
set in period
given name
characters
movement
heritage designation
producer
Program:
function: Find
inputs: adolescence
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Peter Pan
function: And
dependencies: 1
2
function: Find
inputs: Ben Cross
function: Relate
dependencies: 4
inputs: place of birth
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 <main_subject> ?e_3 . ?e_3 <pred:name> "adolescence" . ?e_2 <pred:name> "London" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Ben Cross" . ?e_1 ?p ?e_2 .  }
Answer: narrative location