Question: Between Nick Mason and John C Calhoun who has more kids?
Choices: William Henry Harrison
Max Fleischer
Paul Simon
Sylvester Stallone
Nick Mason
David Byrne
Rahul Dev Burman
John C. Calhoun
Simon Cowell
James E. Reilly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nick Mason" .  } UNION { ?e <pred:name> "John C. Calhoun" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Nick Mason
function: Find
inputs: John C. Calhoun
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
Answer: John C. Calhoun