Question: Which one, Big or As Good as It Gets, has greater cost?
Choices:
Pleasantville
The Towering Inferno
A Prairie Home Companion
As Good as It Gets
The Fifth Element
Training Day
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
Big
Program:
function: Find
inputs: Big
function: Find
inputs: As Good as It Gets
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Big" .  } UNION { ?e <pred:name> "As Good as It Gets" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: As Good as It Gets