Question: Of all rivers in the country of Germany, which is shortest?
Choices:
Danube
Ohio River
Missouri River
Kalmar FF
Columbia River
Mississippi River
Amazon
Rhine
Hudson River
River Thames
Answer: Rhine
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e <country> ?e_1 . ?e_1 <pred:name> "Germany" .  ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: river
function: SelectAmong
dependencies: 2
inputs: length
smallest