Question: Tell me the one with the greater total revenus, Electronic Arts or Target Corporation
Choices:
Electronic Arts
KLM
Entertainment One
Target Corporation
Pfizer
Skidmore Owings Merrill
Vodafone
Adobe Inc.
McDonald's
Silver Pictures
Program:
function: Find
inputs: Electronic Arts
function: Find
inputs: Target Corporation
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Electronic Arts" .  } UNION { ?e <pred:name> "Target Corporation" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Target Corporation