Question: Which has a greater market capitalization, Microsoft (whose PermID is 4295907168) or Walmart?
Choices: Microsoft
Skidmore Owings Merrill
Sega
Adobe Inc.
Silver Pictures
Walmart
McDonald's
Vodafone
Entertainment One
KLM
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Microsoft" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> "4295907168" . } UNION { ?e <pred:name> "Walmart" . } ?e <market_capitalization> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Microsoft
function: FilterStr
dependencies: 0
inputs: PermID
4295907168
function: Find
inputs: Walmart
function: SelectBetween
dependencies: 1
2
inputs: market capitalization
greater
Answer: Microsoft