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#3934 from DACE-DL/master
Creation for a new persistent URI https://w3id.org/lpto
- Loading branch information
Showing
3 changed files
with
103 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ LPT Classification: | |
* Thesaurus <https://w3id.org/LPT/Thesaurus> | ||
|
||
Contacts: | ||
* Our Github address https://github.com/DACE-DL | ||
* Our Github address [DACE-DL](https://github.com/DACE-DL) | ||
* Raphaël Conde Salazar <[email protected]> | ||
* Clément Jonquet <[email protected]> | ||
* Danai Symeonidou <[email protected]> | ||
|
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 @@ | ||
# 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://lptontology.github.io/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://lptontology.github.io/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://lptontology.github.io/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://lptontology.github.io/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://lptontology.github.io/ontology.ttl [R=303,L] | ||
|
||
|
||
# Rewrite rules for any other 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://lptontology.github.io/$1/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://lptontology.github.io/$1/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://lptontology.github.io/$1/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://lptontology.github.io/$1/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://lptontology.github.io/$1/ontology.ttl [R=303,L] | ||
|
||
|
||
|
||
RewriteCond %{HTTP_ACCEPT} .+ | ||
RewriteRule ^(.*)$ https://lptontology.github.io/406.html [R=406,L] | ||
# Default response | ||
# --------------------------- | ||
# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default | ||
RewriteRule ^$ https://lptontology.github.io/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 @@ | ||
# LPTO: Ontology of linking problem types. | ||
========================================== | ||
|
||
# Description and publication | ||
|
||
This project consists in building an ontology of the different types of problems that can be encountered in a data linking process. | ||
|
||
|
||
## Persistent URI | ||
https://w3id.org/lpto is a persistent URI namespace for **Ontology of linking problem types (LPTO)** Ontology resources. | ||
|
||
|
||
## License | ||
The LPTO vocabulary is licensed under Creative Commons 4.0 International. | ||
|
||
## Contacts | ||
|
||
* Our Github address [LPTOntology](https://github.com/LPTOntology) | ||
|
||
**Raphaël Conde Salazar (University of Montpellier)** | ||
[DACE-DL](https://github.com/DACE-DL) | ||
<[email protected]> | ||
|
||
**Clément Jonquet (University of Montpellier)** | ||
<[email protected]> | ||
|
||
**Danai Symeonidou (University of Montpellier)** | ||
<[email protected]> |