Question: Who has more children, James A. Garfield or Jessica Walter?
Choices: David Byrne
William Henry Harrison
Paul Simon
James E. Reilly
James A. Garfield
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
Jessica Walter
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James A. Garfield" .  } UNION { ?e <pred:name> "Jessica Walter" .  } ?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: Jessica Walter
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
Answer: James A. Garfield