Question: Is Eminem or James Joyce (whose date of birth is 1882-02-02) shorter in height?
Choices: Simon Cowell
Paul Simon
Eminem
William Henry Harrison
Max Fleischer
James E. Reilly
David Byrne
Sylvester Stallone
Rahul Dev Burman
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eminem" . } UNION { ?e <pred:name> "James Joyce" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1882-02-02"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Eminem
function: Find
inputs: James Joyce
function: FilterDate
dependencies: 1
inputs: date of birth
1882-02-02
=
function: SelectBetween
dependencies: 0
2
inputs: height
less
Answer: Eminem