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