Question: Does Hewlett-Packard or the National Museum of Racing and Hall of Fame have the higher total revenue?
Choices:
KLM
Entertainment One
Hewlett-Packard
Skidmore Owings Merrill
Sega
Vodafone
Silver Pictures
National Museum of Racing and Hall of Fame
McDonald's
Pfizer
Program:
function: Find
inputs: Hewlett-Packard
function: Find
inputs: National Museum of Racing and Hall of Fame
function: SelectBetween
dependencies: 0
1
inputs: total revenue
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hewlett-Packard" .  } UNION { ?e <pred:name> "National Museum of Racing and Hall of Fame" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hewlett-Packard