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