Question: Which one, Star Wars: Episode I – The Phantom Menace or Last Action Hero, has less box office?
Choices: The Flintstones in Viva Rock Vegas
Star Wars: Episode I – The Phantom Menace
Old Dogs
The Muppets
National Treasure: Book of Secrets
Last Action Hero
G-Force
Holes
Alvin and the Chipmunks: Chipwrecked
John Carter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars: Episode I – The Phantom Menace" .  } UNION { ?e <pred:name> "Last Action Hero" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Star Wars: Episode I – The Phantom Menace
function: Find
inputs: Last Action Hero
function: SelectBetween
dependencies: 0
1
inputs: box office
less
Answer: Last Action Hero