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