uri4uri.net

This site was created for fun on April 1st 2013 with a very over-the-top set of claims, however it is a bit useful so we (University of Southampton Linked Open Data team) will keep it online indefintely.

Generate a URI for a URI

How does it work?

It just parses the URI part (using the PHP parse_url command) to get the parts, then uses some lookup tables for information about mime types, top level domains and so forth. This data was taken from IANA and dbpedia.

or the past 3 years our server farm has been working to caculate every possible URI, including web addresses, email addresses, ISBNs and even some basic information on more obscure schemes such as Gopher.

URIs

The URIs on this site are in the format:

http://uri4uri.net/<type>/<identifier>

...where <type> is one of uri, scheme, domain, mime, suffix.

Resolving a URI will invoke content negotiation to pick on of Turtle, RDF+XML or HTML and a 303 redirect to the relevant document. Each URI has an associated set of documents: ttl, rdf, nt, html. These have URLs in the following formats:

http://uri4uri.net/<type>.<format>/<identifier>

Examples:

http://uri4uri.net/uri/http%3A%2F%2Fxkcd.com%2F123%2F - URI for "http://xkcd.com/123/"
http://uri4uri.net/domain/totl.net - URI for the domain "totl.net"
http://uri4uri.net/suffix/pdf - URI for the suffix ".pdf"
http://uri4uri.net/scheme/ftp - URI for the URI scheme "ftp"
http://uri4uri.net/mime/text/plain - URI for the MIME Type "text/plain"

How big is it?

The results are generated on the fly, so this question is invalid. The answer is either zero or virtually infinite, depending on your point of view.

What is included

URIs, URI fragment identifiers, Internet Domains, Mime Types, File Suffixes, URI Schemes.

How do I find the URI4URI which identifies the URL of a page I'm viewing?

Simple, just drag this handy "bookmarklette" into your browser tool bar: URI4URI when you click it, it runs a teeny tiny bit of javascript which takes you to a page telling you about the URL and it's uri4uri.

What parts of a URI are supported?

The majority of the effort has gone into calculating the components of http and https URIs. An example showing off all the parts of a URI would be http://foo:bar@bbc.co.uk:80/index.html?a=1&b=2, however other URI schemes are supported, eg. tel: or secondlife:.

Uncool URIs

Sir Professor TimBL has said to you "Cool URIs don't change". This implies a sad corollary; "Uncool URIs do sometimes change". You may use the uri4uri URIs to describe your own metadata about a URI, including where, why and by whom it was assigned, and what it was the sameAs at a given moment or interval throughout its existence.

Can I see the source code?

Sure, you can find the uri4uri source on github.com

Who are uri4uri.net?

This service has been conceived, created and maintained by Christopher Gutteridge, a member of the University of Southampton Open Data team and founder of data.ac.uk

How do we contact you?

Feel free to email me with comments and suggestions.