Question: What film has the title The Gay Divorcee and was nominated for the Academy Award for Best Production Design (the nominee of this statement is Carroll Clark)?
Choices:
The Gay Divorcee
Top Hat
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Training Day
Rebecca
Pleasantville
Answer: The Gay Divorcee
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv . ?pv <pred:value> "The Gay Divorcee" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Production Design" . [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <nominee> ?qpv . ?qpv <pred:value> "Carroll Clark" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Gay Divorcee
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 3
inputs: nominated for
backward
function: QFilterStr
dependencies: 4
inputs: nominee
Carroll Clark
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 2
6
function: What
dependencies: 7