Question: Which has a lesser children number, Akshay Kumar or Walter Scott (who was born in Edinburgh)?
Choices: Max Fleischer
James E. Reilly
Sylvester Stallone
Walter Scott
Simon Cowell
Akshay Kumar
Richard Gere
William Henry Harrison
David Byrne
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Akshay Kumar" .  } UNION { ?e <pred:name> "Walter Scott" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Edinburgh" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Akshay Kumar
function: Find
inputs: Edinburgh
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Walter Scott
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
Answer: Akshay Kumar