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