Question: Who is shorter, Robert De Niro (the one whose work period (start) is 1963) or Ed Lauter?
Choices:
Richard Gere
Ed Lauter
Max Fleischer
William Henry Harrison
James E. Reilly
Paul Simon
Robert De Niro
Sylvester Stallone
Simon Cowell
Rahul Dev Burman
Program:
function: Find
inputs: Robert De Niro
function: FilterYear
dependencies: 0
inputs: work period (start)
1963
=
function: Find
inputs: Ed Lauter
function: SelectBetween
dependencies: 1
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robert De Niro" . ?e <work_period_(start)> ?pv_1 . ?pv_1 <pred:year> 1963 . } UNION { ?e <pred:name> "Ed Lauter" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Robert De Niro