Question: How is Paris (where Alexander Desplat was born) related to Casablanca (which received a Best Director Oscar nomination)?
Choices:
honorific suffix
producer
has quality
founded by
interested in
has parts of the class
narrative location
field of work
risk factor
office contested
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Casablanca" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Director" . ?e_2 <pred:name> "Paris" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Alexandre Desplat" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Casablanca
function: And
dependencies: 1
2
function: Find
inputs: Alexandre Desplat
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7