Question: Does Canadian dollar or Japanese yen have greater price?
Choices:
Canadian dollar
Broadcast Film Critics Association Awards 2001
euro
European Union
Indian rupee
pound sterling
Japanese yen
H. G. Wells
Jesse Metcalfe
The Deer Hunter
Program:
function: Find
inputs: Canadian dollar
function: Find
inputs: Japanese yen
function: SelectBetween
dependencies: 0
1
inputs: price
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Canadian dollar" .  } UNION { ?e <pred:name> "Japanese yen" .  } ?e <price> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Canadian dollar