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