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