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