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