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