Question: How is Chicago (produced by Cecil B. DeMille) connected to Cecil B. DeMille?
Choices:
manner of death
kit supplier
mountain range
is a list of
located in or next to body of water
newspaper format
editor
producer
member of sports team
appointed by
Program:
function: Find
inputs: Cecil B. DeMille
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Find
inputs: Cecil B. DeMille
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chicago" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Cecil B. DeMille" . ?e_2 <pred:name> "Cecil B. DeMille" . ?e_1 ?p ?e_2 .  }
Answer: producer