Question: Was The Lord of the Rings: The Return of the King released for PlayStation 2 published after 1997?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Lord of the Rings: The Return of the King" . ?e <platform> ?e_1 . ?e_1 <pred:name> "PlayStation 2" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1997 ) .  }
Program:
function: Find
inputs: PlayStation 2
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: The Lord of the Rings: The Return of the King
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1997
>