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