Question: Which company makes less total revenue, Activision Publishing, Inc. or Hewlett-Packard?
Choices:
Fox Searchlight Pictures
Hewlett-Packard
Academy of Television Arts & Sciences
Pfizer
Activision Publishing, Inc.
E. W. Scripps Company
Universal Music Group
Xbox Game Studios
Sony Pictures
Rhino Entertainment Company
Answer: Activision Publishing, Inc.
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Activision Publishing, Inc." .  } UNION { ?e <pred:name> "Hewlett-Packard" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Activision Publishing, Inc.
function: Find
inputs: Hewlett-Packard
function: SelectBetween
dependencies: 0
1
inputs: total revenue
less