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 pull request perma-id#1953 from m-markovic/master
Adding redirects to Rains ontology
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# 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 .n3 | ||
AddType application/ld+json .json | ||
|
||
RewriteEngine on | ||
|
||
# Rewrite rule for latest version. | ||
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://rains-uoa.github.io/RAInS-Ontology/index-en.html [R=303,L] | ||
|
||
# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteRule ^$ https://rains-uoa.github.io/RAInS-Ontology/ontology.json [R=303,L] | ||
|
||
# Rewrite rule to serve RDF/XML content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} \*/\* [OR] | ||
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml | ||
RewriteRule ^$ https://rains-uoa.github.io/RAInS-Ontology/ontology.xml [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://rains-uoa.github.io/RAInS-Ontology/ontology.nt [R=303,L] | ||
|
||
# Rewrite rule to serve TTL content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} text/turtle [OR] | ||
RewriteCond %{HTTP_ACCEPT} text/\* [OR] | ||
RewriteCond %{HTTP_ACCEPT} \*/turtle | ||
RewriteRule ^$ https://rains-uoa.github.io/RAInS-Ontology/ontology.ttl [R=303,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} .+ | ||
RewriteRule ^(.*)$ https://rains-uoa.github.io/RAInS-Ontology/406.html [R=406,L] | ||
# Default response | ||
# --------------------------- | ||
# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default | ||
RewriteRule ^$ https://rains-uoa.github.io/RAInS-Ontology/ontology.xml [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,28 @@ | ||
|
||
|
||
# /rains | ||
This [W3ID](https://w3id.org) provides a persistent URI namespace for the RAInS Ontology. | ||
|
||
This [W3ID](https://w3id.org) provides a persistent URI namespace for the System Accountability Ontology. | ||
|
||
Redirects: | ||
|
||
https://rains-uoa.github.io/RAInS-Ontology/index-en.html | ||
|
||
https://rains-uoa.github.io/RAInS-Ontology/ontology.json | ||
|
||
https://rains-uoa.github.io/RAInS-Ontology/ontology.xml | ||
|
||
https://rains-uoa.github.io/RAInS-Ontology/ontology.ttl | ||
|
||
## Uses | ||
The ontology is aimed at providing a vocabulary for planning and collection of accountability related information of AI systems. | ||
|
||
## Contact | ||
This space is administered by: | ||
|
||
**Milan Markovic** , | ||
GIthub ID: m-markovic, | ||
https://www.abdn.ac.uk/ncs/profiles/milan.markovic/, | ||
University of Aberdeen, UK | ||
|