Question: Does Lufthansa or KLM have more total revenue?
Choices:
Sega
KLM
Lufthansa
McDonald's
American Airlines
Pan Am
Ryanair
United Airlines
Silver Pictures
Qantas
Answer: Lufthansa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lufthansa" .  } UNION { ?e <pred:name> "KLM" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lufthansa
function: Find
inputs: KLM
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater