Question: What is the relationship between Belleville (the one that shares border with Newark) and Newark?
Choices:
designated as terrorist by
place of death
original film format
shares border with
religious order
notable people with this condition
twinned administrative body
collection
game mode
fictional universe described in
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Belleville" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Newark" . ?e_2 <pred:name> "Newark" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Newark
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Belleville
function: And
dependencies: 1
2
function: Find
inputs: Newark
function: QueryRelation
dependencies: 3
4