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