Question: What is the relation between Sunset Boulevard and 23rd Academy Awards?
Choices:
honorific suffix
official color
significant event
award disciplines or subjects
successful candidate
award received
chairperson
studied by
home world
narrative role
Program:
function: Find
inputs: John F. Seitz
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Sunset Boulevard
function: And
dependencies: 1
2
function: Find
inputs: 23rd Academy Awards
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sunset Boulevard" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> "John F. Seitz" . ?e_2 <pred:name> "23rd Academy Awards" . ?e_1 ?p ?e_2 .  }
Answer: award received