Question: Does Johnson & Johnson or Hewlett-Packard have fewer assets?
Choices:
KLM
Silver Pictures
Johnson & Johnson
Adobe Inc.
Vodafone
Sega
Hewlett-Packard
Skidmore Owings Merrill
Pfizer
McDonald's
Program:
function: Find
inputs: Johnson & Johnson
function: Find
inputs: Hewlett-Packard
function: SelectBetween
dependencies: 0
1
inputs: total assets
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnson & Johnson" .  } UNION { ?e <pred:name> "Hewlett-Packard" .  } ?e <total_assets> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hewlett-Packard