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