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