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