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