Question: Was the person that was nominated for Academy Award for Best Actress for The Snake Pit born prior to 1899?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actress" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "The Snake Pit" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1899 ) .  }
Program:
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
The Snake Pit
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1899
<