Question: Was the person who received an Academy Award for Best Cinematography for their work in Shanghai Express born before 1968?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Cinematography" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Shanghai Express" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1968 ) .  }
Program:
function: Find
inputs: Academy Award for Best Cinematography
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: for work
Shanghai Express
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1968
<