Question: Which movie in the romance genre is distinct from The End of the Affair, produced by Stephen Woolley?
Choices:
Talk to Her
The End of the Affair
Monster's Ball
Training Day
The Flowers of War
Pleasantville
The Towering Inferno
Rebecca
A Prairie Home Companion
The Fifth Element
Answer: The End of the Affair
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <genre> ?e_1 . ?e_1 <pred:name> "romance film" .  ?e <different_from> ?e_2 . ?e_2 <pred:name> "The End of the Affair" . ?e_2 <producer> ?e_3 . ?e_3 <pred:name> "Stephen Woolley" .  }
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Stephen Woolley
function: Relate
dependencies: 3
inputs: producer
backward
function: Find
inputs: The End of the Affair
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: different from
backward
function: FilterConcept
dependencies: 7
inputs: film
function: And
dependencies: 2
8
function: What
dependencies: 9