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