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