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