Question: Who is shorter: Novak Djokovic or Mauricio Pinilla, born on 1984-02-04?
Choices:
Sylvester Stallone
Novak Djokovic
Rahul Dev Burman
Simon Cowell
Paul Simon
James E. Reilly
William Henry Harrison
Mauricio Pinilla
Max Fleischer
David Byrne
Program:
function: Find
inputs: Novak Djokovic
function: Find
inputs: Mauricio Pinilla
function: FilterDate
dependencies: 1
inputs: date of birth
1984-02-04
=
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Novak Djokovic" . } UNION { ?e <pred:name> "Mauricio Pinilla" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1984-02-04"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mauricio Pinilla