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