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