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