Question: Which company has a larger total revenue, Merck & Co. or Southwest Airlines?
Choices:
KLM
McDonald's
Southwest Airlines
Sega
Silver Pictures
Merck & Co.
Skidmore Owings Merrill
Pfizer
Adobe Inc.
Entertainment One
Program:
function: Find
inputs: Merck & Co.
function: Find
inputs: Southwest Airlines
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Merck & Co." .  } UNION { ?e <pred:name> "Southwest Airlines" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Merck & Co.