Question: Which one has a poorer box office record, 127 Hours or Moon (that includes Kevin Spacey in the cast) ?
Choices:
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Towering Inferno
The Fifth Element
Pleasantville
Moon
Curse of the Golden Flower
127 Hours
Program:
function: Find
inputs: 127 Hours
function: Find
inputs: Kevin Spacey
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Moon
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "127 Hours" .  } UNION { ?e <pred:name> "Moon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kevin Spacey" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Moon