Question: Which movie had a bigger box office, Last Action Hero or Hook?
Choices:
Hook
The Flintstones
Holes
The Muppets
John Carter
Last Action Hero
Alvin and the Chipmunks: Chipwrecked
Old Dogs
National Treasure: Book of Secrets
The Flintstones in Viva Rock Vegas
Answer: Hook
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Last Action Hero" .  } UNION { ?e <pred:name> "Hook" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Last Action Hero
function: Find
inputs: Hook
function: SelectBetween
dependencies: 0
1
inputs: box office
greater