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
Program:
function: Find
inputs: Lufthansa
function: Find
inputs: KLM
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater
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
Answer: Lufthansa