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