Question: Are there more employees at Microsoft (the one whose operating income is 113796000 Czech koruna) or Walmart?
Choices:
Pfizer
Walmart
Skidmore Owings Merrill
Sega
Entertainment One
KLM
Vodafone
Silver Pictures
McDonald's
Adobe Inc.
Program:
function: Find
inputs: Microsoft
function: FilterNum
dependencies: 0
inputs: operating income
113796000 Czech koruna
=
function: Find
inputs: Walmart
function: SelectBetween
dependencies: 1
2
inputs: employees
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Microsoft" . ?e <operating_income> ?pv_1 . ?pv_1 <pred:unit> "Czech koruna" . ?pv_1 <pred:value> "113796000"^^xsd:double . } UNION { ?e <pred:name> "Walmart" . } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Walmart