Question: Is a movie that was shot in Newport, US, published before 2013 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 <filming_location> ?e_1 . ?e_1 <pred:name> "Newport" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2013 ) . [ <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: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Newport
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttrUnderCondition
dependencies: 5
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 6
inputs: 2013
<
Answer: yes