Question: Which person, Idris Elba or John Heard, has fewer kids?
Choices:
Rahul Dev Burman
Simon Cowell
John Heard
Paul Simon
Idris Elba
Max Fleischer
Sylvester Stallone
Richard Gere
James E. Reilly
David Byrne
Program:
function: Find
inputs: Idris Elba
function: Find
inputs: John Heard
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Idris Elba" .  } UNION { ?e <pred:name> "John Heard" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Idris Elba