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