forked from perma-id/w3id.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'perma-id:master' into master
- Loading branch information
Showing
440 changed files
with
8,721 additions
and
887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
*.sw[nop] | ||
*~ | ||
.DS_Store | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
# Rewrite engine setup | ||
RewriteEngine On | ||
DirectorySlash Off | ||
RewriteOptions AllowNoSlash | ||
|
||
RewriteCond %{HTTP:Accept} text/html [NC] | ||
RewriteRule ^$ https://github.com/athalhammer/303voc/ [R=303,L] | ||
# All machine-readable versions should be referred to by a generic document | ||
RewriteCond %{REQUEST_FILENAME} -d | ||
RewriteCond %{HTTP:Accept} text/turtle [NC,OR] | ||
RewriteCond %{HTTP:Accept} application/ld\+json [NC] | ||
RewriteRule . https://w3id.org/303/doc [R=303,L] | ||
|
||
RewriteRule ^$ https://athalhammer.github.io/303voc/303.ttl [R=303,L] | ||
# Default to the HTML representation. | ||
# As it is very different from the machine readable representations --> direct 303, no link via generic document | ||
RewriteCond %{REQUEST_FILENAME} -d | ||
RewriteRule . https://github.com/athalhammer/303voc/ [R=303,L] | ||
|
||
# Turtle version of generic doc | ||
RewriteCond %{HTTP:Accept} text/turtle [NC] | ||
RewriteRule ^doc$ https://athalhammer.github.io/303voc/303.ttl [R=302,L] | ||
|
||
# JSON-LD version of generic doc | ||
RewriteCond %{HTTP:Accept} application/ld\+json [NC] | ||
RewriteRule ^doc$ https://athalhammer.github.io/303voc/303.jsonld [R=302,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
AddType application/ld+json .jsonld | ||
|
||
RewriteEngine on | ||
|
||
# Documentation/paper | ||
RewriteRule ^$ https://trefx.uk/5s-crate/ [R=303,L] | ||
|
||
|
||
# Crate profile (versioned) | ||
RewriteCond %{HTTP_ACCEPT} ^.*application/ld\+json.* | ||
# JSON-LD manifest | ||
RewriteRule ^(\d+\.\d+)$ https://trefx.uk/5s-crate/$1/ro-crate-metadata.jsonld [R=302,L] | ||
# HTML as default | ||
RewriteRule ^(\d+\.\d+)$ https://trefx.uk/5s-crate/$1/ [R=302,L] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Five Saes RO-Crate profile | ||
|
||
Currently managed by the [TRE-FX](https://trefx.uk/) project. | ||
|
||
Primary contacts: | ||
- Stian Soiland-Reyes @stain | ||
- Tom Giles @thomgiles | ||
|
||
Permalinks (examples): | ||
* https://w3id.org/5s-crate | ||
* https://w3id.org/5s-crate/0.4 | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Turn off MultiViews | ||
Options -MultiViews | ||
|
||
# Directive to ensure *.rdf files served as appropriate content type, | ||
# if not present in main apache config | ||
AddType application/rdf+xml .rdf | ||
AddType application/rdf+xml .owl | ||
AddType text/turtle .ttl | ||
AddType application/n-triples .nt | ||
AddType application/n-quads .nq | ||
AddType application/ld+json .json | ||
AddType application/ld+json .jsonld | ||
|
||
RewriteEngine on | ||
|
||
# Rewrite rule to serve HTML | ||
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) | ||
RewriteCond %{HTTP_ACCEPT} text/html [OR] | ||
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] | ||
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/index.html [R=303,L] | ||
|
||
# Rewrite rule to serve JSON-LD | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.json [R=303,L] | ||
|
||
# Rewrite rule to serve RDF/XML | ||
# RewriteCond %{HTTP_ACCEPT} \*/\* [OR] | ||
# RewriteCond %{HTTP_ACCEPT} application/rdf\+xml | ||
# RewriteRule ^$ https://traitecoevo.github.io/APD/APD.xml [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nt [R=303,L] | ||
|
||
# Rewrite rule to serve N-Quads | ||
RewriteCond %{HTTP_ACCEPT} application/n-quads | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nq [R=303,L] | ||
|
||
# Rewrite rule to serve TTL | ||
RewriteCond %{HTTP_ACCEPT} text/turtle [OR] | ||
RewriteCond %{HTTP_ACCEPT} text/\* [OR] | ||
RewriteCond %{HTTP_ACCEPT} \*/turtle | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.ttl [R=303,L] | ||
|
||
# Default response | ||
# --------------------------- | ||
# default response is the documentation page | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/ [R=303,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
This W3ID provides a persistent URI namespace for the AusTraits Plant Dictionary (APD). | ||
# AusTraits Plant Dictionary (APD) | ||
The AusTraits Plant Dictionary (APD) is a vocabulary that formally defines the more than 500 plant trait concepts used by [AusTraits](https://austraits.org), a database of Australian plant traits. Over time it is expected to expand to include additional trait concepts. Each trait definition has been reviewed by multiple people and includes references and links to identical/similar traits in other trait databases whenever possible. The APD includes machine-readable formats and endpoints, allowing the traits to be readily re-used by other databases. | ||
|
||
## Vocabularies | ||
|
||
* https://w3id.org/APD/traits | ||
* https://w3id.org/APD/glossary | ||
* https://w3id.org/APD/ontology/ | ||
|
||
|
||
## Homepage | ||
|
||
* https://w3id.org/APD/ | ||
* http://austraits.org | ||
* https://github.com/traitecoevo/APD/ | ||
|
||
## Contact | ||
|
||
Space administered by Daniel Falster (http://github.com/dfalster) via <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Turn off MultiViews | ||
Options -MultiViews | ||
|
||
# Directive to ensure *.rdf files served as appropriate content type, | ||
# if not present in main apache config | ||
AddType application/rdf+xml .rdf | ||
AddType application/rdf+xml .owl | ||
AddType text/turtle .ttl | ||
AddType application/n-triples .nt | ||
AddType application/n-quads .nq | ||
AddType application/ld+json .json | ||
AddType application/ld+json .jsonld | ||
|
||
RewriteEngine on | ||
|
||
# Rewrite rule to serve HTML | ||
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) | ||
RewriteCond %{HTTP_ACCEPT} text/html [OR] | ||
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] | ||
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* | ||
RewriteRule ^(.+)$ https://traitecoevo.github.io/APD/#$1 [R=303,L,NE] | ||
|
||
# Rewrite rule to serve JSON-LD | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.json [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nt [R=303,L] | ||
|
||
# Rewrite rule to serve N-Quads | ||
RewriteCond %{HTTP_ACCEPT} application/n-quads | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nq [R=303,L] | ||
|
||
# Rewrite rule to serve TTL | ||
RewriteCond %{HTTP_ACCEPT} text/turtle [OR] | ||
RewriteCond %{HTTP_ACCEPT} text/\* [OR] | ||
RewriteCond %{HTTP_ACCEPT} \*/turtle | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.ttl [R=303,L] | ||
|
||
# Default response | ||
# --------------------------- | ||
# default response is the documentation page | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/ [R=303,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Turn off MultiViews | ||
Options -MultiViews | ||
|
||
# Directive to ensure *.rdf files served as appropriate content type, | ||
# if not present in main apache config | ||
AddType application/rdf+xml .rdf | ||
AddType application/rdf+xml .owl | ||
AddType text/turtle .ttl | ||
AddType application/n-triples .nt | ||
AddType application/n-quads .nq | ||
AddType application/ld+json .json | ||
AddType application/ld+json .jsonld | ||
|
||
RewriteEngine on | ||
|
||
############################## Rules for Previous Versions ############################## | ||
|
||
# Rewrite rule to serve HTML | ||
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) | ||
RewriteCond %{HTTP_ACCEPT} text/html [OR] | ||
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] | ||
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* | ||
RewriteCond %{REQUEST_URI} /release/(\d+)\.(\d+)\.(\d+) | ||
RewriteRule ^ https://traitecoevo.github.io/APD/release/%1.%2.%3/index.html [R=303,L] | ||
|
||
# Rewrite rule to serve JSON-LD | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteCond %{REQUEST_URI} /release/(\d+)\.(\d+)\.(\d+) | ||
RewriteRule ^ https://traitecoevo.github.io/APD/release/%1.%2.%3/APD.json [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples content | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteCond %{REQUEST_URI} /release/(\d+)\.(\d+)\.(\d+) | ||
RewriteRule ^ https://traitecoevo.github.io/APD/release/%1.%2.%3/APD.nt [R=303,L] | ||
|
||
# Rewrite rule to serve N-Quads | ||
RewriteCond %{HTTP_ACCEPT} application/n-quads | ||
RewriteCond %{REQUEST_URI} /release/(\d+)\.(\d+)\.(\d+) | ||
RewriteRule ^ https://traitecoevo.github.io/APD/release/%1.%2.%3/APD.nq [R=303,L] | ||
|
||
# Rewrite rule to serve TTL content | ||
RewriteCond %{HTTP_ACCEPT} text/turtle [OR] | ||
RewriteCond %{HTTP_ACCEPT} text/\* [OR] | ||
RewriteCond %{HTTP_ACCEPT} \*/turtle | ||
RewriteCond %{REQUEST_URI} /release/(\d+)\.(\d+)\.(\d+) | ||
RewriteRule ^ https://traitecoevo.github.io/APD/release/%1.%2.%3/APD.ttl [R=303,L] | ||
|
||
############################## Rules for Latest Versions ############################## | ||
|
||
# Rewrite rule to serve HTML | ||
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) | ||
RewriteCond %{HTTP_ACCEPT} text/html [OR] | ||
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] | ||
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/index.html [R=303,L] | ||
|
||
# Rewrite rule to serve JSON-LD | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.json [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples content | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nt [R=303,L] | ||
|
||
# Rewrite rule to serve N-Quads content | ||
RewriteCond %{HTTP_ACCEPT} application/n-quads | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nq [R=303,L] | ||
|
||
# Rewrite rule to serve TTL content | ||
RewriteCond %{HTTP_ACCEPT} text/turtle [OR] | ||
RewriteCond %{HTTP_ACCEPT} text/\* [OR] | ||
RewriteCond %{HTTP_ACCEPT} \*/turtle | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.ttl [R=303,L] | ||
|
||
# Default responses | ||
# --------------------------- | ||
# default response is back to the root(s) | ||
ErrorDocument 404 https://w3id.org/APD/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Turn off MultiViews | ||
Options -MultiViews | ||
|
||
# Directive to ensure *.rdf files served as appropriate content type, | ||
# if not present in main apache config | ||
AddType application/rdf+xml .rdf | ||
AddType application/rdf+xml .owl | ||
AddType text/turtle .ttl | ||
AddType application/n-triples .nt | ||
AddType application/n-quads .nq | ||
AddType application/ld+json .json | ||
AddType application/ld+json .jsonld | ||
|
||
RewriteEngine on | ||
|
||
# Rewrite rule to serve HTML | ||
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) | ||
RewriteCond %{HTTP_ACCEPT} text/html [OR] | ||
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] | ||
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* | ||
RewriteRule ^(.+)$ https://traitecoevo.github.io/APD/#$1 [R=303,L,NE] | ||
|
||
# Omitting the [NE] in above will result in the # being converted to its hexcode equivalent, %23, which will then result in a 404 Not Found error condition. | ||
|
||
# Rewrite rule to serve JSON-LD | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.json [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nt [R=303,L] | ||
|
||
# Rewrite rule to serve N-Quads | ||
RewriteCond %{HTTP_ACCEPT} application/n-quads | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.nq [R=303,L] | ||
|
||
# Rewrite rule to serve TTL | ||
RewriteCond %{HTTP_ACCEPT} text/turtle [OR] | ||
RewriteCond %{HTTP_ACCEPT} text/\* [OR] | ||
RewriteCond %{HTTP_ACCEPT} \*/turtle | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/APD.ttl [R=303,L] | ||
|
||
# Default response | ||
# --------------------------- | ||
# default response is the documentation page | ||
RewriteRule ^$ https://traitecoevo.github.io/APD/ [R=303,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.