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
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
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
Answer: Last Action Hero