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