Question: Did Psycho, directed by Alfred Hitchcock, or He's Just Not That into You earn lower ticket revenue?
Choices:
Psycho
Talk to Her
Pleasantville
The Fifth Element
Training Day
He's Just Not That into You
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
The Towering Inferno
Program:
function: Find
inputs: Alfred Hitchcock
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Psycho
function: And
dependencies: 1
2
function: Find
inputs: He's Just Not That into You
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Psycho" . ?e <director> ?e_1 . ?e_1 <pred:name> "Alfred Hitchcock" .   } UNION { ?e <pred:name> "He's Just Not That into You" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Psycho