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