Question: Which company has greater total assets, Merck & Co. or General Motors?
Choices:
Merck & Co.
Sega
KLM
Skidmore Owings Merrill
Vodafone
General Motors
Pfizer
Silver Pictures
McDonald's
Adobe Inc.
Program:
function: Find
inputs: Merck & Co.
function: Find
inputs: General Motors
function: SelectBetween
dependencies: 0
1
inputs: total assets
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Merck & Co." .  } UNION { ?e <pred:name> "General Motors" .  } ?e <total_assets> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: General Motors