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