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