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