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