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