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