Question: Which has a lower value, a pound sterling or an Indian rupee?
Choices:
John Williams
Frank Loesser
euro
Minnesota
Japanese yen
Kingdom of Romania
NPR
Indian rupee
pound sterling
Canadian dollar
Program:
function: Find
inputs: pound sterling
function: Find
inputs: Indian rupee
function: SelectBetween
dependencies: 0
1
inputs: price
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "pound sterling" .  } UNION { ?e <pred:name> "Indian rupee" .  } ?e <price> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Indian rupee