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