Question: What is the link between Orange County (whose establishment date is in 1683) and Sullivan County (whose population is 77442)?
Choices:
works in collection
affiliation
instrument
shares border with
after a work by
director
honorific suffix
symptom of
headquarters location
material used
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Orange County" . ?e_1 <inception> ?pv . ?pv <pred:year> 1683 . ?e_2 <pred:name> "Sullivan County" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "77442"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Orange County
function: FilterYear
dependencies: 0
inputs: inception
1683
=
function: Find
inputs: Sullivan County
function: FilterNum
dependencies: 2
inputs: population
77442
=
function: QueryRelation
dependencies: 1
3