Question: Was Murder on the Orient Express (the one whose genre is detective fiction) published before 1972?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Murder on the Orient Express" . ?e <genre> ?e_1 . ?e_1 <pred:name> "detective fiction" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1972 ) .  }
Program:
function: Find
inputs: detective fiction
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Murder on the Orient Express
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1972
<
Answer: yes