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