Question: Was the literature-based movie House published prior to 1981?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "House" . ?e <genre> ?e_1 . ?e_1 <pred:name> "film based on literature" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: House
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1981
<