Question: Tell me the one with the most kids, Norman Lear or Calista Flockhart
Choices:
William Henry Harrison
Max Fleischer
Calista Flockhart
Norman Lear
Sylvester Stallone
Paul Simon
James E. Reilly
David Byrne
Richard Gere
Rahul Dev Burman
Program:
function: Find
inputs: Norman Lear
function: Find
inputs: Calista Flockhart
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Norman Lear" .  } UNION { ?e <pred:name> "Calista Flockhart" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Norman Lear