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