Question: Is the release date of American Graffiti, that was published in Sweden, before 2010?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "American Graffiti" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Sweden" .  }
Program:
function: Find
inputs: American Graffiti
function: QueryAttrUnderCondition
dependencies: 0
inputs: publication date
place of publication
Sweden
function: VerifyYear
dependencies: 1
inputs: 2010
<
Answer: yes