Question: Is the Indian rupee or the Japanese yen valued higher?
Choices:
Indian rupee
pound sterling
Dan Schneider
Traffic
Canadian dollar
University of Tehran
Johns Hopkins University
World War II
euro
Japanese yen
Answer: Indian rupee
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indian rupee" .  } UNION { ?e <pred:name> "Japanese yen" .  } ?e <price> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Indian rupee
function: Find
inputs: Japanese yen
function: SelectBetween
dependencies: 0
1
inputs: price
greater