Question: Does the Amazon (tributary of the Atlantic Ocean) or the Ohio River have a greater watershed area?
Choices:
Amazon
Ohio River
pirate
Missouri River
Mississippi River
Hudson River
Columbia River
River Thames
Danube
Rhine
Answer: Amazon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amazon" . ?e_1 <tributary> ?e . ?e_1 <pred:name> "Atlantic Ocean" .   } UNION { ?e <pred:name> "Ohio River" .  } ?e <watershed_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Atlantic Ocean
function: Relate
dependencies: 0
inputs: tributary
forward
function: Find
inputs: Amazon
function: And
dependencies: 1
2
function: Find
inputs: Ohio River
function: SelectBetween
dependencies: 3
4
inputs: watershed area
greater