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