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