Question: Tell me the one who has more kids, Luci Christian or Michael Sheen
Choices:
David Byrne
Luci Christian
Sylvester Stallone
William Henry Harrison
Simon Cowell
Rahul Dev Burman
Michael Sheen
Richard Gere
Paul Simon
James E. Reilly
Program:
function: Find
inputs: Luci Christian
function: Find
inputs: Michael Sheen
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luci Christian" .  } UNION { ?e <pred:name> "Michael Sheen" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Luci Christian