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