Question: Which company has less revenue, NPR or Johnson & Johnson?
Choices:
Johnson & Johnson
Pfizer
Academy of Television Arts & Sciences
BBC
NPR
United States Department of the Air Force
McDonald's
Hamburger SV
Vigor Shipyards
NBCUniversal
Program:
function: Find
inputs: NPR
function: Find
inputs: Johnson & Johnson
function: SelectBetween
dependencies: 0
1
inputs: total revenue
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "NPR" .  } UNION { ?e <pred:name> "Johnson & Johnson" .  } ?e <total_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: NPR