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