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