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