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