Question: What is the connection between The Phantom of the Opera (the one whose publication date is 1925-01-01) and Paris (the one that is the narrative location of The Curious Case of Benjamin Button) ?
Choices:
voice type
public holiday
located in or next to body of water
place of publication
military conflicts
interests
narrative location
discoverer or inventor
relative
executive producer
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Phantom of the Opera" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1925-01-01"^^xsd:date . ?e_2 <pred:name> "Paris" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "The Curious Case of Benjamin Button" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Phantom of the Opera
function: FilterDate
dependencies: 0
inputs: publication date
1925-01-01
=
function: Find
inputs: The Curious Case of Benjamin Button
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: Paris
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5