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