-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create new gerps ID #4670
Create new gerps ID #4670
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Turn off MultiViews | ||
Options -MultiViews | ||
|
||
Redirect 301 /GerPS-onto /gerps/ontology/process | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,4 @@ | ||
# 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 .jsonld | ||
# Rewrite engine setup | ||
RewriteEngine On | ||
#Change the path to the folder here | ||
#RewriteBase /GerPS-Datafield | ||
|
||
# Rewrite rule to serve HTML content from the vocabulary URI if requested | ||
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://fusion-jena.github.io/GerPS-Datafield/ [R=303,L] | ||
|
||
# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/ontology.jsonld [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://fusion-jena.github.io/GerPS-Datafield/ontology.rdf [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/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://fusion-jena.github.io/GerPS-Datafield/ontology.ttl [R=303,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} .+ | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/406.html [R=406,L] | ||
# Default response | ||
# --------------------------- | ||
# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/ontology.rdf [R=303,L] | ||
Redirect 301 /GerPS-onto/FIMDatenfelder /gerps/ontology/datafield |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Legacy German Public Service Ontology | ||
This repository is now considered legacy, redirecting to w3id.org/gerps/ontology | ||
|
||
## Redirects | ||
Redirects: | ||
- https://w3id.org/GerPS-onto -> https://w3id.org/gerps/ontology/ | ||
- https://w3id.org/GerPS-onto/ontology -> https://w3id.org/gerps/ontology/process/ | ||
- https://w3id.org/GerPS-onto/FIMDatenfelder -> https://w3id.org/gerps/ontology/process/ | ||
|
||
## Contact | ||
| Maintainer | Institute | Email | ORCID | Location | Phone | Github-ID | | ||
| -------------------- | ----------------------------------- | -------------------------------- | ------------------------------------- | ------------------------------------------------ | ----- | --------------------------------------------- | | ||
| Maximilian Enderling | Friedrich-Schiller-Universität Jena | maximilian.enderling@uni-jena.de | https://orcid.org/0009-0007-5039-8538 | 07743 Jena; Leutragraben 1, JenTower, Room 18N03 | --- | [BMI24](https://github.com/BMI24) | | ||
| Marianne Mauch | Friedrich-Schiller-Universität Jena | marianne.mauch@uni-jena.de | https://orcid.org/0000-0003-1478-1867 | 07743 Jena; Leutragraben 1, JenTower, Room 18N01 | --- | [gitmagit](https://github.com/gitmagit) | |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,4 @@ | ||
# 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 .jsonld | ||
# Rewrite engine setup | ||
RewriteEngine On | ||
|
||
# Rewrite rule to serve HTML content from the vocabulary URI if requested | ||
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://fusion-jena.github.io/gerps-ontology/index.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://fusion-jena.github.io/gerps-ontology/ontology.jsonld [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://fusion-jena.github.io/gerps-ontology/ontology.rdf [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://fusion-jena.github.io/gerps-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://fusion-jena.github.io/gerps-ontology/ontology.ttl [R=303,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} .+ | ||
RewriteRule ^$ https://fusion-jena.github.io/gerps-ontology/406.html [R=406,L] | ||
|
||
# Default response | ||
# --------------------------- | ||
# default response is the documentation page | ||
RewriteRule ^$ https://fusion-jena.github.io/gerps-ontology/ [R=303,L] | ||
Redirect 301 /GerPS-onto/ontology /gerps/ontology/process |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
# openDVA: German Public Services | ||
This repo (which replaces the legacy GerPS-onto) is the home for all GerPS (German Public Services)-related redirects, which currently only includes our ontologies. | ||
|
||
## Redirect | ||
|
||
Redirects: | ||
- https://w3id.org/gerps/ontology -> https://fusion-jena.github.io/gerps-onto-landingpage/# | ||
- https://w3id.org/gerps/ontology/process -> https://fusion-jena.github.io/gerps-ontology/ (with RDF content negotiation) | ||
- https://w3id.org/gerps/ontology/datafield -> https://fusion-jena.github.io/GerPS-Datafield/ (with RDF content negotiation) | ||
|
||
## Contact | ||
| Maintainer | Institute | Email | ORCID | Location | Phone | Github-ID | | ||
| -------------------- | ----------------------------------- | -------------------------------- | ------------------------------------- | ------------------------------------------------ | ----- | --------------------------------------------- | | ||
| Maximilian Enderling | Friedrich-Schiller-Universität Jena | maximilian.enderling@uni-jena.de | https://orcid.org/0009-0007-5039-8538 | 07743 Jena; Leutragraben 1, JenTower, Room 18N03 | --- | [BMI24](https://github.com/BMI24) | | ||
| Marianne Mauch | Friedrich-Schiller-Universität Jena | marianne.mauch@uni-jena.de | https://orcid.org/0000-0003-1478-1867 | 07743 Jena; Leutragraben 1, JenTower, Room 18N01 | --- | [gitmagit](https://github.com/gitmagit) | |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Turn off MultiViews | ||
Options -MultiViews | ||
|
||
# Rewrite engine setup | ||
RewriteEngine On | ||
|
||
RedirectMatch 301 ^/gerps/ontology/?$ https://fusion-jena.github.io/gerps-onto-landingpage/# | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think you want this, since you would be going to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is probably ok since it's There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replaced it with |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# 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 .jsonld | ||
# Rewrite engine setup | ||
RewriteEngine On | ||
#Change the path to the folder here | ||
#RewriteBase /GerPS-Datafield | ||
|
||
# Rewrite rule to serve HTML content from the vocabulary URI if requested | ||
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://fusion-jena.github.io/GerPS-Datafield/ [R=303,L] | ||
|
||
# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/ld\+json | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/ontology.jsonld [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://fusion-jena.github.io/GerPS-Datafield/ontology.rdf [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/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://fusion-jena.github.io/GerPS-Datafield/ontology.ttl [R=303,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} .+ | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/406.html [R=406,L] | ||
# Default response | ||
# --------------------------- | ||
# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default | ||
RewriteRule ^$ https://fusion-jena.github.io/GerPS-Datafield/ontology.rdf [R=303,L] |
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 .n3 | ||
AddType application/ld+json .jsonld | ||
# Rewrite engine setup | ||
RewriteEngine On | ||
|
||
# Rewrite rule to serve HTML content from the vocabulary URI if requested | ||
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://fusion-jena.github.io/gerps-ontology/index.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://fusion-jena.github.io/gerps-ontology/ontology.jsonld [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://fusion-jena.github.io/gerps-ontology/ontology.rdf [R=303,L] | ||
|
||
# Rewrite rule to serve N-Triples content from the vocabulary URI if requested | ||
RewriteCond %{HTTP_ACCEPT} application/n-triples | ||
RewriteRule ^$ https://fusion-jena.github.io/gerps-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://fusion-jena.github.io/gerps-ontology/ontology.ttl [R=303,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} .+ | ||
RewriteRule ^$ https://fusion-jena.github.io/gerps-ontology/406.html [R=406,L] | ||
|
||
# Default response | ||
# --------------------------- | ||
# default response is the documentation page | ||
RewriteRule ^$ https://fusion-jena.github.io/gerps-ontology/ [R=303,L] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would go to the same id twice:
w3id.org/GerPS-onto//GerPS-onto
. Please reviewThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is ok since it's
Redirect
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it locally beforehand and it works as expected. If you'd like for me to use a different command, please tell me which