Question: What is the connection between Aroostook County to Washington County (the one that shares border with Aroostook County)?
Choices: shares border with
editor
operating area
original network
make-up artist
kit supplier
designed to carry
field of work
film release region
followed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aroostook County" . ?e_2 <pred:name> "Washington County" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Aroostook County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Aroostook County
function: Find
inputs: Aroostook County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Washington County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: shares border with