Question: What is the relationship between Fulton County (the one that is an administrative division of Pennsylvania) and Franklin County (the one whose inception time is 1784-01-01)?
Choices:
director of photography
newspaper format
country
military casualty classification
designed by
shares border with
after a work by
has immediate cause
main food source
filming location
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fulton County" . ?e_3 <contains_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Pennsylvania" . ?e_2 <pred:name> "Franklin County" . ?e_2 <inception> ?pv . ?pv <pred:date> "1784-01-01"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Fulton County
function: And
dependencies: 1
2
function: Find
inputs: Franklin County
function: FilterDate
dependencies: 4
inputs: inception
1784-01-01
=
function: QueryRelation
dependencies: 3
5