Skip to content

Commit

Permalink
Configurations for I40 vocabularies
Browse files Browse the repository at this point in the history
  • Loading branch information
igrangel committed Jun 30, 2016
1 parent 7fa7871 commit 646ffa4
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 62 deletions.
42 changes: 0 additions & 42 deletions eis/vocabs/.htaccess

This file was deleted.

20 changes: 0 additions & 20 deletions eis/vocabs/readme.md

This file was deleted.

72 changes: 72 additions & 0 deletions i40/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
Options +FollowSymLinks
# 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

RewriteEngine on

#Rewrite rules for Aml vocabulary
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/aml.owl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/aml.ttl [R=303,NE,L]
#default response: owl
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/aml.owl [R=303,NE,L]


#Rewrite rules for FuhSen vocabulary
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^fuhsen$ http://lidakra.github.io/Ontology/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/owl-manchester.*
RewriteRule ^fuhsen$ https://raw.githubusercontent.com/LiDaKrA/Ontology/master/Implementation/fuhsen.omn [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^fuhsen$ https://raw.githubusercontent.com/LiDaKrA/Ontology/master/Implementation/ontofuhsen.ttl [R=303,NE,L]
#default response: omn
RewriteRule ^fuhsen$ https://raw.githubusercontent.com/LiDaKrA/Ontology/master/Implementation/fuhsen.omn [R=303,NE,L]

#Rewrite rules for the IEC 62264 vocabulary
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/iec62264.owl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/iec62264.ttl [R=303,NE,L]
#default response: owl
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/iec62264.owl [R=303,NE,L]

#Rewrite rules for the RAMI vocabulary
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/rami.owl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/rami.ttl [R=303,NE,L]
#default response: owl
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/rami.owl [R=303,NE,L]
26 changes: 26 additions & 0 deletions i40/aml/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Options +FollowSymLinks
# 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

RewriteEngine on

#Rewrite rules for Aml vocabulary
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/aml.owl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/aml.ttl [R=303,NE,L]
#default response: owl
RewriteRule ^aml$ http://i40.semantic-interoperability.org/automationml/aml.owl [R=303,NE,L]
26 changes: 26 additions & 0 deletions i40/iec/62264/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Options +FollowSymLinks
# 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

RewriteEngine on

#Rewrite rules for the IEC 62264 vocabulary
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/iec62264.owl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/iec62264.ttl [R=303,NE,L]
#default response: owl
RewriteRule ^iec62264$ http://i40.semantic-interoperability.org/iec/62264/iec62264.owl [R=303,NE,L]
26 changes: 26 additions & 0 deletions i40/rami/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Options +FollowSymLinks
# 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

RewriteEngine on

#Rewrite rules for the RAMI vocabulary
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/rami.owl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/rami.ttl [R=303,NE,L]
#default response: owl
RewriteRule ^rami$ http://i40.semantic-interoperability.org/rami/rami.owl [R=303,NE,L]
34 changes: 34 additions & 0 deletions i40/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Repository created to store the redirections of the vocabularies for Industry 4.0
===================

/i40/rami:

HTML: http://i40.semantic-interoperability.org/rami/

TTL: http://i40.semantic-interoperability.org/rami/rami.ttl

RDF/XML: http://i40.semantic-interoperability.org/rami/rami.owl


i40/iec/62264/:

HTML: http://i40.semantic-interoperability.org/iec/62264/

TTL: http://i40.semantic-interoperability.org/iec/62264/iec62264.ttl

RDF/XML: http://i40.semantic-interoperability.org/iec/62264/iec62264.owl


i40/aml/:

HTML: http://i40.semantic-interoperability.org/automationml/

TTL: http://i40.semantic-interoperability.org/automationml/aml.ttl

RDF/XML: http://i40.semantic-interoperability.org/automationml/aml.owl



Contacts

* Irlan Grangel <[email protected]>

0 comments on commit 646ffa4

Please sign in to comment.