Question: Were the American cities with the zip code 94536–94539 and 94555, established before 1996?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "94536–94539, 94555" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1996 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
94536–94539, 94555
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttr
dependencies: 2
inputs: inception
function: VerifyYear
dependencies: 3
inputs: 1996
<