Question: What is the connection between Essex County (the one whose inception time is 1683-03-07) to Union County (the one that shares border with Morris County)?
Choices:
office held by head of state
fabrication method
symptom of
shares border with
godparent
broadcast by
series spin-off
destination point
had as last meal
published in
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Essex County" . ?e_1 <inception> ?pv . ?pv <pred:date> "1683-03-07"^^xsd:date . ?e_2 <pred:name> "Union County" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Morris County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Essex County
function: FilterDate
dependencies: 0
inputs: inception
1683-03-07
=
function: Find
inputs: Morris County
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Union County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5