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