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