Question: What is the connection between Kensington (the one whose postal code is 20895) to Bethesda?
Choices:
exclave of
sexual orientation
based on
interested in
capital
student
approved by
distribution
director
shares border with
Program:
function: Find
inputs: Kensington
function: FilterStr
dependencies: 0
inputs: postal code
20895
function: Find
inputs: Bethesda
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kensington" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "20895" . ?e_2 <pred:name> "Bethesda" . ?e_1 ?p ?e_2 .  }
Answer: shares border with