Question: Which has the lowest number of employees, Procter & Gamble or Harland and Wolff
Choices:
Pfizer
Silver Pictures
Entertainment One
Harland and Wolff
Sega
Vodafone
KLM
Procter & Gamble
Adobe Inc.
McDonald's
Program:
function: Find
inputs: Procter & Gamble
function: Find
inputs: Harland and Wolff
function: SelectBetween
dependencies: 0
1
inputs: employees
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Procter & Gamble" .  } UNION { ?e <pred:name> "Harland and Wolff" .  } ?e <employees> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Harland and Wolff