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