Question: Was the person who won a Tony Award for Best Actor in a Play in 1986 born earlier than 1936 ?
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> "Tony Award for Best Actor in a Play" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1986 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1936 ) .  }
Program:
function: Find
inputs: Tony Award for Best Actor in a Play
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterYear
dependencies: 1
inputs: point in time
1986
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1936
<