Question: Which has the longest length among the rivers in Germany?
Choices:
Rhine
Hudson River
River Thames
Mississippi River
Ohio River
Amazon
Missouri River
Danube
Columbia River
Kevin Corrigan
Answer: Danube
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 DESC(?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
largest