Question: Does the visual artwork that has the character Joan of Arc (the one that died in the manner of capital punishment), have its publication date before 2008 (the place of publication of this statement is United States of America)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <characters> ?e_1 . ?e_1 <pred:name> "Joan of Arc" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> "capital punishment" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2008 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "United States of America" .  }
Program:
function: Find
inputs: capital punishment
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Joan of Arc
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttrUnderCondition
dependencies: 5
inputs: publication date
place of publication
United States of America
function: VerifyYear
dependencies: 6
inputs: 2008
<