Question: How are Middlesex County (FIPS 6-4 (US counties) 25017) and Essex County (population 762550) related?
Choices: production designer
developer
distribution
fictional universe described in
position played on team / speciality
programming paradigm
named after
student
military conflicts
shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Middlesex County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "25017" . ?e_2 <pred:name> "Essex County" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "762550"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Middlesex County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
25017
function: Find
inputs: Essex County
function: FilterNum
dependencies: 2
inputs: population
762550
=
function: QueryRelation
dependencies: 1
3
Answer: shares border with