Question: Which one, Stevie Nicks or Steve McQueen (the one whose work period (end) is 1980-11-07), has less height?
Choices:
David Byrne
William Henry Harrison
James E. Reilly
Richard Gere
Simon Cowell
Steve McQueen
Sylvester Stallone
Stevie Nicks
Paul Simon
Rahul Dev Burman
Answer: Stevie Nicks
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stevie Nicks" . } UNION { ?e <pred:name> "Steve McQueen" . ?e <work_period_(end)> ?pv_1 . ?pv_1 <pred:date> "1980-11-07"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Stevie Nicks
function: Find
inputs: Steve McQueen
function: FilterDate
dependencies: 1
inputs: work period (end)
1980-11-07
=
function: SelectBetween
dependencies: 0
2
inputs: height
less