Question: Which FIPS 6-4 (US counties) code designates the Pennsylvania county with the capital Williamsport?
Choices:
06007
06079
48201
49035
36043
12099
42081
17163
51830
51710
Answer: 42081
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Williamsport" .  ?e <FIPS_6-4_(US_counties)> ?pv .  }
Program:
function: Find
inputs: Williamsport
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: county of Pennsylvania
function: QueryAttr
dependencies: 2
inputs: FIPS 6-4 (US counties)