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