Question: Which movie made less at the box office, Little Nicky (the one whose production company is Happy Madison Productions) or Who Framed Roger Rabbit?
Choices:
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Training Day
Little Nicky
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
Rebecca
Program:
function: Find
inputs: Happy Madison Productions
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Little Nicky
function: And
dependencies: 1
2
function: Find
inputs: Who Framed Roger Rabbit
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Nicky" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Happy Madison Productions" .   } UNION { ?e <pred:name> "Who Framed Roger Rabbit" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Little Nicky