Re: Need help mapping two letter country code to URI

On Mon, Nov 9, 2009 at 23:59, Nathan <nathan@webr3.org> wrote:
>> On 09/11/2009 21:47, "Aldo Bucchi" <aldo.bucchi@gmail.com> wrote:
>>> I found a dataset that represents countries as two letter country
>>> codes: DK, FI, NO, SE, UK.
>
> http://dbpedia.org/resource/ISO_3166-2:DK
> http://dbpedia.org/resource/ISO_3166-2:FI
> http://dbpedia.org/resource/ISO_3166-2:NO
> http://dbpedia.org/resource/ISO_3166-2:SE
> http://dbpedia.org/resource/ISO_3166-2:GB (UK)
>
> ?
>
>

With '-1' instead of '-2', these all dbpprop:redirect to their
respective countries:

http://dbpedia.org/resource/ISO_3166-1:DK
http://dbpedia.org/resource/ISO_3166-1:FI
http://dbpedia.org/resource/ISO_3166-1:NO
http://dbpedia.org/resource/ISO_3166-1:SE
http://dbpedia.org/resource/ISO_3166-1:GB

I guess this pattern is quite reliable, because some
people at Wikipedia were rather diligent:

http://en.wikipedia.org/wiki/Category:Redirects_from_ISO_3166

Received on Tuesday, 10 November 2009 05:05:52 UTC