4

The English Wikipedia includes an article for nearly every U.S. Census Place. Has anyone published a crosswalk from FIPS codes of these places to Wikipedia urls?

Is this something that would be possible with wikidata?

fgregg
  • 5,108
  • 16
  • 37

1 Answers1

3

Is this something that would be possible with Wikidata?

Yes, this is possible:

Try the following query:

 SELECT ?fips_code ?wikipedia_article WHERE {
  ?wikidata_item wdt:P774 ?fips_code .
  ?wikipedia_article schema:about ?wikidata_item .
  ?wikipedia_article schema:isPartOf <https://en.wikipedia.org/> .
} ORDER BY ?fips_code

If you need FIPS 6-4 codes instead of FIPS 55-3 ones, replace wdt:P774 with wdt:P882.

Stanislav Kralin
  • 2,975
  • 1
  • 12
  • 33