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