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