Question: Does Hudson River or Columbia River have a larger watershed area?
Choices:
Hudson River
Ohio River
Mississippi River
fighter pilot
Danube
Rhine
River Thames
Amazon
Columbia River
Missouri River
Program:
function: Find
inputs: Hudson River
function: Find
inputs: Columbia River
function: SelectBetween
dependencies: 0
1
inputs: watershed area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hudson River" .  } UNION { ?e <pred:name> "Columbia River" .  } ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Columbia River