Question: Is 2--543 the Dewey Decimal Classification of Saint John (the one whose country is Canada)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Saint John" . ?e <country> ?e_1 . ?e_1 <pred:name> "Canada" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--543" .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Saint John
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: Dewey Decimal Classification
function: VerifyStr
dependencies: 4
inputs: 2--543