Question: Is the postal code of Casablanca (the one whose ISO 3166-2 code is MA-CAS) 60079, 60085 or 60087?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Casablanca" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "MA-CAS" . ?e <postal_code> ?pv . ?pv <pred:value> "60079, 60085, 60087" .  }
Program:
function: Find
inputs: Casablanca
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
MA-CAS
function: QueryAttr
dependencies: 1
inputs: postal code
function: VerifyStr
dependencies: 2
inputs: 60079, 60085, 60087