Question: Regarding both Colin Firth and Grace Jones, which one of them has a larger number of kids?
Choices:
Max Fleischer
William Henry Harrison
Rahul Dev Burman
James E. Reilly
Sylvester Stallone
David Byrne
Simon Cowell
Richard Gere
Paul Simon
Colin Firth
Program:
function: Find
inputs: Grace Jones
function: Find
inputs: Colin Firth
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grace Jones" .  } UNION { ?e <pred:name> "Colin Firth" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Colin Firth