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