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