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