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