Question: Does Jamie Foxx or Maya Rudolph have the less number of children?
Choices:
Jamie Foxx
Maya Rudolph
William Henry Harrison
Rahul Dev Burman
Sylvester Stallone
David Byrne
Max Fleischer
James E. Reilly
Simon Cowell
Richard Gere
Program:
function: Find
inputs: Jamie Foxx
function: Find
inputs: Maya Rudolph
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jamie Foxx" .  } UNION { ?e <pred:name> "Maya Rudolph" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jamie Foxx