Question: Does Keira Knightley or Michael Bolton have more kids than the other?
Choices:
Keira Knightley
David Byrne
Michael Bolton
James E. Reilly
Richard Gere
Sylvester Stallone
Rahul Dev Burman
Simon Cowell
Paul Simon
William Henry Harrison
Program:
function: Find
inputs: Keira Knightley
function: Find
inputs: Michael Bolton
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Keira Knightley" .  } UNION { ?e <pred:name> "Michael Bolton" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Michael Bolton