Question: Does Charles Bronson or Madonna have less children?
Choices: James E. Reilly
David Byrne
Sylvester Stallone
Rahul Dev Burman
Paul Simon
Charles Bronson
Richard Gere
Max Fleischer
Madonna
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charles Bronson" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Madonna" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Charles Bronson
function: FilterNum
dependencies: 0
inputs: number of children
1
=
function: Find
inputs: Madonna
function: SelectBetween
dependencies: 1
2
inputs: number of children
less
Answer: Charles Bronson