diff --git a/LPT/readme.md b/LPT/readme.md index 31f96a707..7439569f8 100644 --- a/LPT/readme.md +++ b/LPT/readme.md @@ -9,7 +9,7 @@ LPT Classification: * Thesaurus Contacts: -* Our Github address https://github.com/DACE-DL +* Our Github address [DACE-DL](https://github.com/DACE-DL) * Raphaël Conde Salazar * Clément Jonquet * Danai Symeonidou diff --git a/lpto/.htaccess b/lpto/.htaccess new file mode 100644 index 000000000..67d3d15d1 --- /dev/null +++ b/lpto/.htaccess @@ -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] diff --git a/lpto/README.md b/lpto/README.md new file mode 100644 index 000000000..b1817679a --- /dev/null +++ b/lpto/README.md @@ -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) + + +**Clément Jonquet (University of Montpellier)** + + +**Danai Symeonidou (University of Montpellier)** + \ No newline at end of file