Question: Which corporation has more net profit, Nike or CBS Corporation?
Choices:
Sega
CBS Corporation
Pfizer
Silver Pictures
McDonald's
Entertainment One
Nike
Adobe Inc.
KLM
Skidmore Owings Merrill
Program:
function: Find
inputs: Nike
function: Find
inputs: CBS Corporation
function: SelectBetween
dependencies: 0
1
inputs: net profit
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nike" .  } UNION { ?e <pred:name> "CBS Corporation" .  } ?e <net_profit> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nike