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