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