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