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