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