Question: How is King Kong, which was produced by David O. Selznick, related to the Empire State Building?
Choices:
follows
narrative location
place of burial
producer
next lower rank
seed team
inspired by
draft pick from school
dedicated to
home port
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "King Kong" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "David O. Selznick" . ?e_2 <pred:name> "Empire State Building" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: David O. Selznick
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: King Kong
function: And
dependencies: 1
2
function: Find
inputs: Empire State Building
function: QueryRelation
dependencies: 3
4