Question: Which one, IBM or Verizon, has operating income that is larger?
Choices:
Pfizer
McDonald's
IBM
Adobe Inc.
Silver Pictures
Verizon
Vodafone
KLM
Entertainment One
Sega
Program:
function: Find
inputs: IBM
function: Find
inputs: Verizon
function: SelectBetween
dependencies: 0
1
inputs: operating income
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "IBM" .  } UNION { ?e <pred:name> "Verizon" .  } ?e <operating_income> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Verizon