Question: Was The Mummy Returns whose distribution format is DVD published before 2012?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "The Mummy Returns" . ?e <distribution> ?e_1 . ?e_1 <pred:name> "DVD" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }
Program:
function: Find
inputs: DVD
function: Relate
dependencies: 0
inputs: distribution
backward
function: Find
inputs: The Mummy Returns
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2012
<
Answer: yes