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