Question: Who has more children, Jonny Lee Miller or Sienna Guillory?
Choices:
James E. Reilly
Paul Simon
Sienna Guillory
Jonny Lee Miller
William Henry Harrison
Max Fleischer
Richard Gere
Simon Cowell
David Byrne
Rahul Dev Burman
Program:
function: Find
inputs: Jonny Lee Miller
function: Find
inputs: Sienna Guillory
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jonny Lee Miller" .  } UNION { ?e <pred:name> "Sienna Guillory" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sienna Guillory