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