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