There is only a marginal benefit in using " urn:foo:... " over " foo:... ", namely making it clear that it is only intended to represent a name and not a locator. That benefit is marginal because without knowing the spec for foo , you can't really do much with the knowledge that it is a URN. Without knowing the spec, you can't even compare URN values to check if they represent the same name (e.g. ISBN URNs may or may…
I think this probably covers it the best. In terms of the semantic web, trying to semantically interpret the URN (as OP suggests) also seem like a conceptual mismatch, as there are other mechanisms that allow for the same thing in a more "robust" way. E.g. in RDF one could pack all the semantics into the datatype of a literal like `Norwegian account number "12345678902"` -> "12345678902"^^ http://example.com/accountN…
Ask HN: Why are URNs not more popular?
61–64 of 64 posts
Re: Ask HN: Why are URNs not more popular?
#62It's probably the most popular data type out there, both in data and in codebases. URNs don't bring a lot more than strings on the table, so people go to the easy route.
Re: Ask HN: Why are URNs not more popular?
#63Re: Ask HN: Why are URNs not more popular?
#64Why restrict to URN when you can use a URI that looks similar to a URL but doesn't have to be accessible. I've used URIs for partner supplied identifiers. They're also used with GraphQL as resource ids. For widely standardized things URNs make complete sense e.g. ISBN for books.
Well I want to refer to things that are widely standardized within countries: Business registration numbers and bank account numbers. However when you go international, how should you refer to "business registration number in Norway"? Perhaps you encode that as "NO" but then you hit Denmark which has not 1 but 5 business registries.... The ONLY thing missing is really a standard way to refer to "the registry in which…