Question: Does Rebecca Hall or Mark Gordon (who has 4 children) have fewer children?
Choices:
William Henry Harrison
Sylvester Stallone
James E. Reilly
Mark Gordon
Rahul Dev Burman
Paul Simon
Simon Cowell
Rebecca Hall
David Byrne
Richard Gere
Answer: Rebecca Hall
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rebecca Hall" . } UNION { ?e <pred:name> "Mark Gordon" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rebecca Hall
function: Find
inputs: Mark Gordon
function: FilterNum
dependencies: 1
inputs: number of children
4
=
function: SelectBetween
dependencies: 0
2
inputs: number of children
less