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