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
Answer: J. J. Abrams
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
Program:
function: Find
inputs: J. J. Abrams
function: Find
inputs: Kate Bush
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater