Question: Which one, Scary Movie or The Longest Day, has less box office?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
Pleasantville
Training Day
Scary Movie
The Fifth Element
Rebecca
The Longest Day
A Prairie Home Companion
Program:
function: Find
inputs: Scary Movie
function: Find
inputs: The Longest Day
function: SelectBetween
dependencies: 0
1
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scary Movie" .  } UNION { ?e <pred:name> "The Longest Day" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Longest Day