Question: Was the movie titled Gods and Monsters released prior to 2006 at the Sundance Film Festival?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Gods and Monsters" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Sundance Film Festival" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Gods and Monsters
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttrUnderCondition
dependencies: 2
inputs: publication date
place of publication
Sundance Film Festival
function: VerifyYear
dependencies: 3
inputs: 2006
<