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