Question: Among the New Jersey counties sharing a border with Union County (the one whose ISNI is 0000 0004 0440 7449), which one has the largest area?
Choices:
Cumberland County
Somerset County
Passaic County
Gloucester County
Essex County
Monmouth County
Hudson County
Hunterdon County
Morris County
Bergen County
Answer: Morris County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Union County" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0004 0440 7449" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Union County
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0440 7449
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of New Jersey
function: SelectAmong
dependencies: 3
inputs: area
largest