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