Question: Tell me the one that costs less, Star Wars: Episode I – The Phantom Menace or Hook
Choices:
Alvin and the Chipmunks: Chipwrecked
The Flintstones in Viva Rock Vegas
John Carter
The Flintstones
Old Dogs
Hook
G-Force
Holes
Star Wars: Episode I – The Phantom Menace
The Muppets
Program:
function: Find
inputs: Star Wars: Episode I – The Phantom Menace
function: Find
inputs: Hook
function: SelectBetween
dependencies: 0
1
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars: Episode I – The Phantom Menace" .  } UNION { ?e <pred:name> "Hook" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hook