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