Question: What is the relation between West Orange and Orange (that shares a border with East Orange)?
Choices: interests
cites
position played on team / speciality
movement
presenter
country
officially opened by
substitute/deputy/replacement of office/officeholder
shares border with
located in time zone
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Orange" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "East Orange" . ?e_2 <pred:name> "West Orange" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: East Orange
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Orange
function: And
dependencies: 1
2
function: Find
inputs: West Orange
function: QueryRelation
dependencies: 3
4
Answer: shares border with