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