Question: Does the animated-feature film with John Hurt as a voice actor (the character role of this statement is Aragorn), have a publication date before 2004?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "John Hurt" .  [ <pred:fact_h> ?e ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Aragorn" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2004 ) .  }
Program:
function: Find
inputs: John Hurt
function: Relate
dependencies: 0
inputs: voice actor
backward
function: QFilterStr
dependencies: 1
inputs: character role
Aragorn
function: FilterConcept
dependencies: 2
inputs: animated feature film
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2004
<
Answer: yes