Question: Was the record label headquartered In Durham (the one whose postal code is 27715) created after 1841?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Durham" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "27715" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1841 ) .  }
Program:
function: Find
inputs: Durham
function: FilterStr
dependencies: 0
inputs: postal code
27715
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: record label
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 1841
>