Question: Which one has fewer children, Anne V. Coates or Pamela Anderson?
Choices:
David Byrne
Rahul Dev Burman
James E. Reilly
Max Fleischer
William Henry Harrison
Sylvester Stallone
Paul Simon
Simon Cowell
Richard Gere
Pamela Anderson
Answer: Pamela Anderson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anne V. Coates" .  } UNION { ?e <pred:name> "Pamela Anderson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Anne V. Coates
function: Find
inputs: Pamela Anderson
function: SelectBetween
dependencies: 0
1
inputs: number of children
less