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