Question: Who is shorter: the Will Smith born on 1981-07-04, or Justin Timberlake?
Choices:
Justin Timberlake
David Byrne
William Henry Harrison
Simon Cowell
Will Smith
Sylvester Stallone
James E. Reilly
Richard Gere
Paul Simon
Rahul Dev Burman
Answer: Justin Timberlake
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Will Smith" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1981-07-04"^^xsd:date . } UNION { ?e <pred:name> "Justin Timberlake" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Will Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1981-07-04
=
function: Find
inputs: Justin Timberlake
function: SelectBetween
dependencies: 1
2
inputs: height
less