Question: Which one has more total revenue between Hewlett-Packard and Verizone?
Choices:
Sega
Adobe Inc.
KLM
McDonald's
Skidmore Owings Merrill
Hewlett-Packard
Verizon
Silver Pictures
Vodafone
Pfizer
Program:
function: Find
inputs: Hewlett-Packard
function: Find
inputs: Verizon
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hewlett-Packard" .  } UNION { ?e <pred:name> "Verizon" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Verizon