Question: What is the connection between Montclair to Verona (the one that shares border with Montclair)?
Choices:
has dialect (DEPRECATED)
political ideology
vehicle normally used
draft pick from school
participant of
operating area
shares border with
head of government
maintained by
drafted by
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Montclair" . ?e_2 <pred:name> "Verona" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Montclair" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Montclair
function: Find
inputs: Montclair
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Verona
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4