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