Question: Which has less total revenue, Google that produces software or Activision Publishing, Inc.?
Choices:
Universal Music Group
Fox Searchlight Pictures
Sony Pictures
Xbox Game Studios
Google
Pfizer
Activision Publishing, Inc.
Rhino Entertainment Company
McDonald's
E. W. Scripps Company
Program:
function: Find
inputs: software
function: Relate
dependencies: 0
inputs: product or material produced
backward
function: Find
inputs: Google
function: And
dependencies: 1
2
function: Find
inputs: Activision Publishing, Inc.
function: SelectBetween
dependencies: 3
4
inputs: total revenue
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Google" . ?e <product_or_material_produced> ?e_1 . ?e_1 <pred:name> "software" .   } UNION { ?e <pred:name> "Activision Publishing, Inc." .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Activision Publishing, Inc.