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