Question: Mychael Danna or Rebecca Hall who got less children?
Choices:
William Henry Harrison
Sylvester Stallone
Paul Simon
Rebecca Hall
Max Fleischer
Richard Gere
Simon Cowell
David Byrne
Rahul Dev Burman
Mychael Danna
Program:
function: Find
inputs: Mychael Danna
function: Find
inputs: Rebecca Hall
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mychael Danna" .  } UNION { ?e <pred:name> "Rebecca Hall" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rebecca Hall