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