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