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