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