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