Question: Does pound sterling or Canadian dollar have less price?
Choices:
Indian rupee
Marvin Hamlisch
Psycho
Canadian dollar
euro
pound sterling
Japanese yen
Hugh Dancy
Electric Light Orchestra
Mahatma Gandhi
Program:
function: Find
inputs: pound sterling
function: Find
inputs: Canadian dollar
function: SelectBetween
dependencies: 0
1
inputs: price
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "pound sterling" .  } UNION { ?e <pred:name> "Canadian dollar" .  } ?e <price> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Canadian dollar