Skip to content

Commit

Permalink
Merge pull request perma-id#2253 from AnneGoebels/master
Browse files Browse the repository at this point in the history
asbingowl update structure
  • Loading branch information
davidlehn authored Jul 7, 2021
2 parents b887578 + 1ddde40 commit 61f074e
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 99 deletions.
27 changes: 0 additions & 27 deletions asbingowl/2013/.htaccess

This file was deleted.

66 changes: 0 additions & 66 deletions asbingowl/2016/.htaccess

This file was deleted.

40 changes: 40 additions & 0 deletions asbingowl/core/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Options +FollowSymLinks
RewriteEngine on

# Turn off MultiViews
Options -MultiViews

AddType text/turtle .ttl
AddType application/rdf+xml .rdf

# Rewrite rule to serve HTML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^$ https://annegoebels.github.io/ [R=302,NE,L]

# In case of accept header <text/turtle>
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^$ https://annegoebels.github.io/ontology.ttl [R=303,NE,L]

# In case of accept header <application/rdf+xml>
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^$ https://annegoebels.github.io/ontology.xml [R=302,NE,L]

# If suffix ttl, redirect to turtle version
RewriteRule ^ontology.ttl$ https://annegoebels.github.io/ontology.ttl [R=302,NE,L]

# If suffix html, redirect to html version
RewriteRule ^ontology.html$ https://annegoebels.github.io/ [R=302,NE,L]

# If suffix rdf, redirect to rdf version
RewriteRule ^ontology.rdf$ https://annegoebels.github.io/ontology.xml [R=302,NE,L]

# If suffix jsonld, redirect to jsonld version
RewriteRule ^ontology.jsonld$ https://annegoebels.github.io/ontology.json [R=302,NE,L]

# If suffix nt, redirect to nt version
RewriteRule ^ontology.nt$ https://annegoebels.github.io/ontology.nt [R=302,NE,L]

# Default response: html
RewriteRule ^$ https://annegoebels.github.io/ [R=303,NE,L]
4 changes: 4 additions & 0 deletions asbingowl/keys/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ https://annegoebels.github.io/SubOntNewKeys.ttl [R=302,L]
3 changes: 3 additions & 0 deletions asbingowl/keys/2013/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ https://annegoebels.github.io/SubOntOldKeys.ttl [R=302,L]
13 changes: 7 additions & 6 deletions asbingowl/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,32 @@ The ASB-ING Ontology is for infrastructure documentation in Germany.
It consists of one core ontology, and two sub-ontologies.


/asbingowl/2016/
/asbingowl/core/


Core Ontology :

html: https://annegoebels.github.io/index-en.html
html: https://annegoebels.github.io/index.html
ttl: https://annegoebels.github.io/ontology.ttl
json-ld: https://annegoebels.github.io/ontology.json
N-Triples: https://annegoebels.github.io/ontology.nt
rdf/xml: https://annegoebels.github.io/ontology.xml

/asbingowl/keys/

Keys Sub-Ontology:

ttl: https://annegoebels.github.io/SubOntNewKeys.ttl


/asbingowl/2013/
/asbingowl/keys/2013/


Old Keys Sub-Ontology:

ttl: https://annegoebels.github.io/SubOntOldKeys.ttl





Contact:
Anne Göbels
Design Computation RWTH
Expand Down

0 comments on commit 61f074e

Please sign in to comment.