Question: Among Kris Kristofferson or Pamela Anderson, who has less children number
Choices:
James E. Reilly
Kris Kristofferson
Simon Cowell
David Byrne
William Henry Harrison
Richard Gere
Paul Simon
Max Fleischer
Sylvester Stallone
Pamela Anderson
Answer: Pamela Anderson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kris Kristofferson" .  } UNION { ?e <pred:name> "Pamela Anderson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kris Kristofferson
function: Find
inputs: Pamela Anderson
function: SelectBetween
dependencies: 0
1
inputs: number of children
less