Question: Which company has more employees, Lockheed Martin or Samsung Electronics?
Choices:
Entertainment One
Lockheed Martin
Vodafone
Sega
Adobe Inc.
KLM
Samsung Electronics
Skidmore Owings Merrill
Pfizer
Silver Pictures
Program:
function: Find
inputs: Lockheed Martin
function: Find
inputs: Samsung Electronics
function: SelectBetween
dependencies: 0
1
inputs: employees
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lockheed Martin" .  } UNION { ?e <pred:name> "Samsung Electronics" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Samsung Electronics