Question: Between Allen Covert and Terry O'Quinn, who is the person with the least amount of children?
Choices:
Allen Covert
William Henry Harrison
Sylvester Stallone
Terry O'Quinn
Max Fleischer
Paul Simon
James E. Reilly
David Byrne
Simon Cowell
Richard Gere
Program:
function: Find
inputs: Terry O'Quinn
function: Find
inputs: Allen Covert
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terry O'Quinn" .  } UNION { ?e <pred:name> "Allen Covert" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Terry O'Quinn