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