Question: Which one costed less, E.T. the Extra-Terrestrial or Four Rooms?
Choices:
The Towering Inferno
E.T. the Extra-Terrestrial
Training Day
Curse of the Golden Flower
Pleasantville
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Four Rooms
Program:
function: Find
inputs: E.T. the Extra-Terrestrial
function: Find
inputs: Four Rooms
function: SelectBetween
dependencies: 0
1
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "E.T. the Extra-Terrestrial" .  } UNION { ?e <pred:name> "Four Rooms" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Four Rooms