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