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