Question: How Morris County is related to Sussex County (which shares border with Morris County)?
Choices:
territory overlaps
does not have part
art director
participant
operating system
material used
film distribute region
location
series spin-off
shares border with
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Morris County" . ?e_2 <pred:name> "Sussex County" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Morris County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Morris County
function: Find
inputs: Morris County
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Sussex County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4