Web server 303 redirection for the semantic web: Difference between revisions
bwf>Gregor Hagedorn No edit summary |
(header about copy and link to internet archive) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
'''<span style="color:red">This page is a copy from http://wiki.pro-ibiosphere.eu/wiki/Web_server_303_redirection_for_the_semantic_web , which is not available anymore. An archived version can be found at the [https://web.archive.org/web/20170603134217/http://wiki.pro-ibiosphere.eu/wiki/Web_server_303_redirection_for_the_semantic_web Internet Archive].</span>''' | |||
As explained on [[Best practices for stable URIs]] for the purpose of semantic clarity, it is important to assign one URI to the abstract concept or physical object, and use another for the information resource (web page, rdf data document) returned. For the first URI no content should ever be returned directly. Instead, the first may be a URI containing a fragment identifier ("#" = hash at the end followed by an identifier), or the first URI is redirected on the web server to the second using an http 303 redirect. This page deals with the latter method. | As explained on [[Best practices for stable URIs]] for the purpose of semantic clarity, it is important to assign one URI to the abstract concept or physical object, and use another for the information resource (web page, rdf data document) returned. For the first URI no content should ever be returned directly. Instead, the first may be a URI containing a fragment identifier ("#" = hash at the end followed by an identifier), or the first URI is redirected on the web server to the second using an http 303 redirect. This page deals with the latter method. | ||
Line 8: | Line 10: | ||
: http://validator.linkeddata.org/vapour | : http://validator.linkeddata.org/vapour | ||
Enter the URI for the abstract concept or physical object and observe the results. If you are comfortable with a Unix command line, you can also use: curl -I -H "Accept: application/rdf+xml" http://lod.taxonconcept.org/ses/mCcSp#Species | Enter the URI for the abstract concept or physical object and observe the results. If you are comfortable with a Unix command line, you can also use: curl -I -H "Accept: application/rdf+xml" http://lod.taxonconcept.org/ses/mCcSp#Species | ||
Another good resource is http://sindice.com/ . They have an inspector that does not seem to have a direct link but here is an example of how it works. | |||
: http://inspector.sindice.com/index.jsp?url=http%3A%2F%2Flod.taxonconcept.org%2Fses%2FmCcSp%23Species |
Latest revision as of 13:42, 5 March 2025
This page is a copy from http://wiki.pro-ibiosphere.eu/wiki/Web_server_303_redirection_for_the_semantic_web , which is not available anymore. An archived version can be found at the Internet Archive.
As explained on Best practices for stable URIs for the purpose of semantic clarity, it is important to assign one URI to the abstract concept or physical object, and use another for the information resource (web page, rdf data document) returned. For the first URI no content should ever be returned directly. Instead, the first may be a URI containing a fragment identifier ("#" = hash at the end followed by an identifier), or the first URI is redirected on the web server to the second using an http 303 redirect. This page deals with the latter method.
APACHE example: TO ADD
NGINX example: TO ADD
A useful resource to check your setup is:
Enter the URI for the abstract concept or physical object and observe the results. If you are comfortable with a Unix command line, you can also use: curl -I -H "Accept: application/rdf+xml" http://lod.taxonconcept.org/ses/mCcSp#Species
Another good resource is http://sindice.com/ . They have an inspector that does not seem to have a direct link but here is an example of how it works.