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