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