Question: Is Steve Buscemi or Henry Gibson a dad to fewer kids?
Choices:
Rahul Dev Burman
Max Fleischer
Simon Cowell
Richard Gere
Henry Gibson
Sylvester Stallone
Paul Simon
Steve Buscemi
William Henry Harrison
James E. Reilly
Program:
function: Find
inputs: Steve Buscemi
function: Find
inputs: Henry Gibson
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Steve Buscemi" .  } UNION { ?e <pred:name> "Henry Gibson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Steve Buscemi