Question: Was the founding year prior to 1875 for the Pennsylvania city that's the capital of Lancaster County, which borders Chester County ?
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 Pennsylvania" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Lancaster County" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Chester County" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1875 ) .  }
Program:
function: Find
inputs: Chester County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Lancaster County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: city of Pennsylvania
function: QueryAttr
dependencies: 5
inputs: inception
function: VerifyYear
dependencies: 6
inputs: 1875
<