Question: How is Columbia County (the one that shares border with Schuylkill County) connected to Pennsylvania?
Choices:
start point
located in the administrative territorial entity
legislative body
license
distributor
illustrator
health specialty
tributary
officially opened by
language used
Program:
function: Find
inputs: Schuylkill County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Columbia County
function: And
dependencies: 1
2
function: Find
inputs: Pennsylvania
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Columbia County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Schuylkill County" . ?e_2 <pred:name> "Pennsylvania" . ?e_1 ?p ?e_2 .  }
Answer: located in the administrative territorial entity