Question: Who has fewer children, Al Gore or Julia Louis-Dreyfus?
Choices:
Richard Gere
William Henry Harrison
Simon Cowell
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
Julia Louis-Dreyfus
Paul Simon
Al Gore
David Byrne
Program:
function: Find
inputs: Al Gore
function: Find
inputs: Julia Louis-Dreyfus
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Al Gore" .  } UNION { ?e <pred:name> "Julia Louis-Dreyfus" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Julia Louis-Dreyfus