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