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