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