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