Question: Was a movie, derived from The Witches of Eastwick (the one whose ISBN-10 is 0-394-53760-2), published before 2001 in Germany?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "The Witches of Eastwick" . ?e_1 <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "0-394-53760-2" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2001 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Germany" .  }
Program:
function: Find
inputs: The Witches of Eastwick
function: FilterStr
dependencies: 0
inputs: ISBN-10
0-394-53760-2
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 4
inputs: 2001
<
Answer: yes