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