Question: Tell me the one that costs the most within the currency that costs less than 1.0 United States dollar.
Choices:
Dave Matthews Band
euro
Japanese yen
The Soloist
pound sterling
Canadian dollar
Governor of Texas
Indian rupee
Russell T Davies
University of Glasgow
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: price
1.0 United States dollar
<
function: FilterConcept
dependencies: 1
inputs: currency
function: SelectAmong
dependencies: 2
inputs: price
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "currency" . ?e <price> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "1.0"^^xsd:double ) . ?e <price> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Canadian dollar