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