Question: Which movie made less at the box office, To Rome with Love or The Devil Wears Prada (the one that was nominated for BAFTA Award for Best Actress in a Leading Role)?
Choices:
A Prairie Home Companion
Training Day
Pleasantville
Talk to Her
The Fifth Element
Curse of the Golden Flower
To Rome with Love
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
Answer: To Rome with Love
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "To Rome with Love" .  } UNION { ?e <pred:name> "The Devil Wears Prada" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Actress in a Leading Role" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: To Rome with Love
function: Find
inputs: BAFTA Award for Best Actress in a Leading Role
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Devil Wears Prada
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less