Question: Which weighs less, Stephen King (the one whose date of birth is 1986-03-06) or Bob Bryan?
Choices: William Henry Harrison
Richard Gere
David Byrne
Rahul Dev Burman
Sylvester Stallone
Paul Simon
Simon Cowell
Max Fleischer
Bob Bryan
Stephen King
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stephen King" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1986-03-06"^^xsd:date . } UNION { ?e <pred:name> "Bob Bryan" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Stephen King
function: FilterDate
dependencies: 0
inputs: date of birth
1986-03-06
=
function: Find
inputs: Bob Bryan
function: SelectBetween
dependencies: 1
2
inputs: mass
less
Answer: Stephen King