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