Question: Does How to Train Your Dragon (the one whose release region is United Arab Emirates), have its publication date after 2003 (the place of publication of this statement is Hungary)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "How to Train Your Dragon" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United Arab Emirates" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2003 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Hungary" .  }
Program:
function: Find
inputs: United Arab Emirates
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: How to Train Your Dragon
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Hungary
function: VerifyYear
dependencies: 4
inputs: 2003
>
Answer: yes