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