Question: Who is shorter, Chris Martin (the one whose children number is 2) or Russell Crowe?
Choices: William Henry Harrison
Rahul Dev Burman
Max Fleischer
Paul Simon
Russell Crowe
Richard Gere
Simon Cowell
Chris Martin
David Byrne
James E. Reilly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Martin" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2"^^xsd:double . } UNION { ?e <pred:name> "Russell Crowe" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chris Martin
function: FilterNum
dependencies: 0
inputs: number of children
2
=
function: Find
inputs: Russell Crowe
function: SelectBetween
dependencies: 1
2
inputs: height
less
Answer: Russell Crowe