Question: Which company has more total revenue, Adobe Inc. or Johnson & Johnson?
Choices:
Vodafone
E. W. Scripps Company
Silver Pictures
Pfizer
Johnson & Johnson
McDonald's
Skidmore Owings Merrill
Adobe Inc.
Entertainment One
Sega
Program:
function: Find
inputs: Adobe Inc.
function: Find
inputs: Johnson & Johnson
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adobe Inc." .  } UNION { ?e <pred:name> "Johnson & Johnson" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Johnson & Johnson