Question: Which has the largest watershed area among the rivers that are located in or next to Austria-Hungary?
Choices:
Mississippi River
River Thames
Columbia River
Rhine
Missouri River
Danube
Amazon
Locus Award for Best First Novel
Ohio River
Hudson River
Program:
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 0
inputs: located in or next to body of water
forward
function: FilterConcept
dependencies: 1
inputs: river
function: SelectAmong
dependencies: 2
inputs: watershed area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e_1 <located_in_or_next_to_body_of_water> ?e . ?e_1 <pred:name> "Austria-Hungary" .  ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Danube