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