Question: What is the birthdate of a person that directed the photography for American Beauty (the one whose publication date is 1927-10-09) ?
Choices:
1884-05-22
1898-07-02
1931-05-25
1901-07-16
1947-05-06
1963-06-09
1897-05-29
1957-01-24
1962-08-31
1942-09-01
Answer: 1898-07-02
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> "American Beauty" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "1927-10-09"^^xsd:date . ?e <date_of_birth> ?pv .  }
Program:
function: Find
inputs: American Beauty
function: FilterDate
dependencies: 0
inputs: publication date
1927-10-09
=
function: Relate
dependencies: 1
inputs: director of photography
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth