Question: Which has the smallest area among the New Jersey counties that border Somerset County whose official website is http://www.co.somerset.nj.us?
Choices:
Cumberland County
Middlesex County
Monmouth County
Hunterdon County
Passaic County
Morris County
Mercer County
Hudson County
Gloucester County
Union County
Answer: Union County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Somerset County" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.co.somerset.nj.us" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Somerset County
function: FilterStr
dependencies: 0
inputs: official website
http://www.co.somerset.nj.us
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of New Jersey
function: SelectAmong
dependencies: 3
inputs: area
smallest