Question: What is the relation between the film Paris (produced by First National) and Paris (where Nikola Tesla lived)?
Choices:
quotes work
facet of
this taxon is source of
game mode
narrative location
interests
influenced by
different from
contains settlement
territory overlaps
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paris" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "First National" . ?e_2 <pred:name> "Paris" . ?e_4 <residence> ?e_2 . ?e_4 <pred:name> "Nikola Tesla" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: First National
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Find
inputs: Nikola Tesla
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7