Question: Which film has the lower box office, The Full Monty or the action film The Untouchables?
Choices:
Talk to Her
Pleasantville
The Hunchback of Notre Dame
The Full Monty
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Training Day
The Untouchables
Rebecca
Program:
function: Find
inputs: The Full Monty
function: Find
inputs: action film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: The Untouchables
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Full Monty" .  } UNION { ?e <pred:name> "The Untouchables" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Untouchables