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