Question: What is the association between Middlesex County (that is an administrative division of New Jersey) and Mercer County (whose population is 370414)?
Choices:
depicts
shares border with
occupation
practiced by
country for sport
producer
uses
officially opened by
published in
significant event
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Middlesex County" . ?e_3 <contains_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "New Jersey" . ?e_2 <pred:name> "Mercer County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "370414"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New Jersey
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Middlesex County
function: And
dependencies: 1
2
function: Find
inputs: Mercer County
function: FilterNum
dependencies: 4
inputs: population
370414
=
function: QueryRelation
dependencies: 3
5