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