Question: What is the connection between The Hunchback of Notre Dame (the one that is a notable work of Victor Hugo) to Paris (the one that shares border with Neuilly-sur-Seine)?
Choices:
narrative location
general manager
connects with
foundational text
capital of
highest judicial authority
terminus
takes place in fictional universe
family
cites
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hunchback of Notre Dame" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "Victor Hugo" . ?e_2 <pred:name> "Paris" . ?e_4 <shares_border_with> ?e_2 . ?e_4 <pred:name> "Neuilly-sur-Seine" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Victor Hugo
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: The Hunchback of Notre Dame
function: And
dependencies: 1
2
function: Find
inputs: Neuilly-sur-Seine
function: Relate
dependencies: 4
inputs: shares border with
forward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7