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