Question: Which county of Pennsylvania, that shares a border with Washington County (the one whose ISNI is 0000 0004 0419 2871), has the largest area?
Choices:
Lehigh County
York County
Warren County
Allegheny County
Fulton County
Cumberland County
Bucks County
Westmoreland County
Franklin County
Fayette County
Answer: Franklin County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Washington County" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0004 0419 2871" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Washington County
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0419 2871
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Pennsylvania
function: SelectAmong
dependencies: 3
inputs: area
largest