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