Question: Who has fewer children, Rosanna Arquette or James K. Polk?
Choices: David Byrne
Sylvester Stallone
James E. Reilly
James K. Polk
Rahul Dev Burman
William Henry Harrison
Max Fleischer
Richard Gere
Paul Simon
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rosanna Arquette" .  } UNION { ?e <pred:name> "James K. Polk" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rosanna Arquette
function: Find
inputs: James K. Polk
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
Answer: James K. Polk