Question: Which movie cost more to make, Funny Girl or Goodfellas?
Choices:
The Towering Inferno
Talk to Her
Pleasantville
A Prairie Home Companion
Goodfellas
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
The Fifth Element
Rebecca
Program:
function: Find
inputs: Funny Girl
function: Find
inputs: Goodfellas
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Funny Girl" .  } UNION { ?e <pred:name> "Goodfellas" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Goodfellas