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