Question: What is the connection between Passaic County to Orange County (the one that shares border with Rockland County)?
Choices:
coextensive with
located in the administrative territorial entity
shares border with
heritage designation
has dialect (DEPRECATED)
is a list of
work location
uses
vehicle normally used
stated in
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Passaic County" . ?e_2 <pred:name> "Orange County" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Rockland County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Passaic County
function: Find
inputs: Rockland County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Orange County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4