Question: Who is shorter, Naomi Watts or Pamela Anderson?
Choices:
Rahul Dev Burman
Naomi Watts
Simon Cowell
Pamela Anderson
James E. Reilly
David Byrne
William Henry Harrison
Sylvester Stallone
Max Fleischer
Paul Simon
Program:
function: Find
inputs: Naomi Watts
function: Find
inputs: Pamela Anderson
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Naomi Watts" .  } UNION { ?e <pred:name> "Pamela Anderson" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Naomi Watts