-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 #4129 from axone-protocol/feat/axone
Add entry for Axone protocol
- Loading branch information
Showing
2 changed files
with
111 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,37 @@ | ||
# /axone/ | ||
|
||
This [W3ID](https://w3id.org) provides a persistent URI namespace for the [Axone protocol](https://axone.xyz). | ||
|
||
## Redirects | ||
|
||
The following URI redirects are in place: | ||
|
||
- `https://w3id.org/axone/ontology/` ➜ `https://ontology.axone.xyz/` | ||
|
||
## Links | ||
|
||
- [Axone Website](https://axone.xyz/) | ||
- [GitHub](https://github.com/axone-protocol) | ||
- [X](https://twitter.com/axonexyz) | ||
- [Discord](https://discord.gg/axone) | ||
|
||
## Contact | ||
|
||
**Arnaud Mimart** | ||
|
||
> [Axone Association](https://axone.xyz/) | ||
> :email: <a.mimart@axone.xyz> | ||
> :octocat: [amimart](https://github.com/amimart) | ||
**Christophe Camel** | ||
|
||
> [Axone Association](https://axone.xyz/) | ||
> :email: <c.camel@axone.xyz> | ||
> :octocat: [ccamel](https://github.com/ccamel) | ||
**Axone Association** | ||
|
||
> :email: <opensource@axone.xyz> | ||
> | ||
> rue Saint-Honoré 10, c/o Coworking Neuchâtel Sàrl | ||
> 2000 Neuchâtel, Switzerland |
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,74 @@ | ||
Options +FollowSymLinks | ||
Options -MultiViews | ||
|
||
AddType application/rdf+xml .rdf | ||
AddType application/rdf+xml .owl | ||
AddType text/turtle .ttl | ||
AddType application/n-triples .nt | ||
AddType application/ld+json .json | ||
|
||
RewriteEngine on | ||
|
||
# by extension | ||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*\.html$ https://docs.axone.xyz/technical-documentation/ontology/the-power-of-ontologies [R=303,NC,QSD,L] | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*\.html$ https://docs.axone.xyz/ontology/schemas/$2-$3-$4 [R=303,NC,QSD,L] | ||
RewriteRule ^v([0-9]+|next)/([\w-]+)(?:/[\w-]*)*$ https://docs.axone.xyz/technical-documentation/ontology/the-power-of-ontologies [R=302,NC,L] | ||
|
||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*\.ttl$ https://ontology.axone.xyz/v$1/thesaurus/$2.ttl [R=302,NC,L] | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*\.ttl$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.ttl [R=302,NC,L] | ||
|
||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*\.jsonld$ https://ontology.axone.xyz/v$1/thesaurus/$2.jsonld [R=302,NC,L] | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*\.jsonld$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.jsonld [R=302,NC,L] | ||
|
||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*\.rdf.xml$ https://ontology.axone.xyz/v$1/thesaurus/$2.rdf.xml [R=302,NC,L] | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*\.rdf.xml$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.rdf.xml [R=302,NC,L] | ||
|
||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*\.nt$ https://ontology.axone.xyz/v$1/thesaurus/$2.nt [R=302,NC,L] | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*\.nt$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.nt [R=302,NC,L] | ||
|
||
# by accept-type | ||
|
||
# - Turtle | ||
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.* | ||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/thesaurus/$2.ttl [R=302,NC,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.* | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.ttl [R=302,NC,L] | ||
|
||
# - JSON-LD | ||
RewriteCond %{HTTP_ACCEPT} ^.*application/ld\+json.* | ||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/thesaurus/$2.jsonld [R=302,NC,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} ^.*application/ld\+json.* | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.jsonld [R=302,NC,L] | ||
|
||
# - N-TRIPLES | ||
RewriteCond %{HTTP_ACCEPT} ^.*application/n-triples.* | ||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/thesaurus/$2.nt [R=302,NC,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} ^.*application/n-triples.* | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.nt [R=302,NC,L] | ||
|
||
# - 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 ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*$ https://docs.axone.xyz/technical-documentation/ontology/the-power-of-ontologies [R=303,NC,QSD,L] | ||
|
||
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 ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*$ https://docs.axone.xyz/technical-documentation/ontology/the-power-of-ontologies [R=303,NC,QSD,L] | ||
|
||
# - RDF/XML | ||
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.* [OR] | ||
RewriteCond %{HTTP_ACCEPT} ^.*application/xml.* [OR] | ||
RewriteCond %{HTTP_ACCEPT} ^.*text/xml.* | ||
RewriteRule ^v([0-9]+|next)/thesaurus/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/thesaurus/$2.rdf.xml [R=302,NC,L] | ||
|
||
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.* [OR] | ||
RewriteCond %{HTTP_ACCEPT} ^.*application/xml.* [OR] | ||
RewriteCond %{HTTP_ACCEPT} ^.*text/xml.* | ||
RewriteRule ^v([0-9]+|next)/schema/(\w+)/([\w-]+)/([\w-]+)(?:/[\w-]*)*$ https://ontology.axone.xyz/v$1/schema/$3/$2-$3-$4.rdf.xml [R=302,NC,L] |