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