Question: What is the relationship between Alfred Newman (the one that is the composer of All About Eve) and the 26th Academy Awards?
Choices:
producer
contains administrative territorial entity
studies
genre
has cause
head of government
appointed by
discoverer or inventor
award received
theme music
Program:
function: Find
inputs: All About Eve
function: Relate
dependencies: 0
inputs: composer
forward
function: Find
inputs: Alfred Newman
function: And
dependencies: 1
2
function: Find
inputs: 26th Academy Awards
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alfred Newman" . ?e_3 <composer> ?e_1 . ?e_3 <pred:name> "All About Eve" . ?e_2 <pred:name> "26th Academy Awards" . ?e_1 ?p ?e_2 .  }
Answer: award received