Question: Does Troy (the one that mainly depicts Ancient Greece), have its publication date not in 1994 (the place of publication of this statement is Germany)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Troy" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Ancient Greece" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1994 ) . [ <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: Ancient Greece
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Troy
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 4
inputs: 1994
!=