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