Question: What is the connection between Oliver Twist (the one that is authored by Charles Dickens) to London (the one that contains London Academy of Music and Dramatic Art)?
Choices:
located in or next to body of water
narrative location
basic form of government
member of
appears in the form of
contributing factor of
military branch
dissertation submitted to
conflict
sports season of league or competition
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oliver Twist" . ?e_1 <author> ?e_3 . ?e_3 <pred:name> "Charles Dickens" . ?e_2 <pred:name> "London" . ?e_4 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_4 <pred:name> "London Academy of Music and Dramatic Art" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charles Dickens
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: Oliver Twist
function: And
dependencies: 1
2
function: Find
inputs: London Academy of Music and Dramatic Art
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7