Question: Which performed better at the box office: In the Mood for Love or The Lord of the Rings: The Fellowship of the Ring, a BAFTA nominee for Best Adapted Screenplay?
Choices:
The Towering Inferno
The Hunchback of Notre Dame
Training Day
Rebecca
In the Mood for Love
Curse of the Golden Flower
A Prairie Home Companion
The Lord of the Rings: The Fellowship of the Ring
Talk to Her
Pleasantville
Program:
function: Find
inputs: In the Mood for Love
function: Find
inputs: BAFTA Award for Best Adapted Screenplay
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Lord of the Rings: The Fellowship of the Ring
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "In the Mood for Love" .  } UNION { ?e <pred:name> "The Lord of the Rings: The Fellowship of the Ring" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Adapted Screenplay" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Lord of the Rings: The Fellowship of the Ring