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