Question: Which one has less height between Matt Lucas and Chris Martin (the one born in 1977-03-02)?
Choices:
Max Fleischer
David Byrne
Matt Lucas
Simon Cowell
William Henry Harrison
Rahul Dev Burman
Sylvester Stallone
Paul Simon
Richard Gere
James E. Reilly
Answer: Matt Lucas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Matt Lucas" . } UNION { ?e <pred:name> "Chris Martin" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1977-03-02"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Matt Lucas
function: Find
inputs: Chris Martin
function: FilterDate
dependencies: 1
inputs: date of birth
1977-03-02
=
function: SelectBetween
dependencies: 0
2
inputs: height
less