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