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