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