Question: Was the person who won Academy Award for Best Original Song on 1936 born before 1958?
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_1 <winner> ?e . ?e_1 <pred:name> "Academy Award for Best Original Song" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1936 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1958 ) .  }
Program:
function: Find
inputs: Academy Award for Best Original Song
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterYear
dependencies: 1
inputs: point in time
1936
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1958
<