Question: What is the connection between Plymouth County (the one that shares border with Norfolk County) to Massachusetts (the one whose population is 6547629)?
Choices:
main food source
doctoral student
separated from
godparent
grants
noble title
located in the administrative territorial entity
legal form
instrument
main subject
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Plymouth County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Norfolk County" . ?e_2 <pred:name> "Massachusetts" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "6547629"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Norfolk County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Plymouth County
function: And
dependencies: 1
2
function: Find
inputs: Massachusetts
function: FilterNum
dependencies: 4
inputs: population
6547629
=
function: QueryRelation
dependencies: 3
5