Question: What is the connection between Walnut Creek to Concord (the one that shares border with Walnut Creek)?
Choices: properties for this type
organizer
shares border with
official language
next lower rank
editor
presenter
update method
mascot
drug used for treatment
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Walnut Creek" . ?e_2 <pred:name> "Concord" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Walnut Creek" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Walnut Creek
function: Find
inputs: Walnut Creek
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Concord
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: shares border with