Skip to content

Commit 98e8bd1

Browse files
authored
Update resource location and rewrite rule in .htaccess
1 parent eff5a81 commit 98e8bd1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

helmholtzkg/.htaccess

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contact person name: Said Fathalla
22
# Contact person email: s.fathalla@fz-juelich.de
33
# Artifact name: Helmholtz KG
4-
# Resource location: https://sparql.unhide.helmholtz-metadaten.de/
4+
# Resource location: https://qlever.dev.unhide.helmholtz-metadaten.de/hkg/
55

66
Options +FollowSymLinks
77

@@ -10,6 +10,6 @@ Options -MultiViews
1010

1111
RewriteEngine on
1212

13-
# default
14-
#==============
15-
RewriteRule ^$ https://sparql.unhide.helmholtz-metadaten.de/ [R=303,L]
13+
# redirect hashcodes of entities to the Qlever endpoint with SPARQL query
14+
RewriteRule ^(.*)$ "https://qlever.dev.unhide.helmholtz-metadaten.de/hkg/?query=PREFIX+schema\%3A+\%3Chttps\%3A\%2F\%2Fschema.org\%2F\%3E\%0ASELECT+\%3Fs+\%3Fp+\%3Fo+WHERE+\%7B\%0A++VALUES+\%3Fs+\%7B\%3C\/$1\%3E\%7D+\%2E\%0A++\%3Fs+\%3Fp+\%3Fo+\%2E\%0A\%7D&exec=true" [R=303,L,NE]
15+

0 commit comments

Comments
 (0)