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