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