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