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