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