Mercurial > hg > dbtune-site
changeset 14:4e8315c4ff5e
Verbiage & CMN proxying
author | Chris Cannam |
---|---|
date | Wed, 08 Nov 2017 11:56:36 +0000 |
parents | 86e6192659db |
children | eea58cdb7c08 |
files | classical/classical.html cmn/.htaccess |
diffstat | 2 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/classical/classical.html Tue Nov 07 16:15:07 2017 +0000 +++ b/classical/classical.html Wed Nov 08 11:56:36 2017 +0000 @@ -48,7 +48,7 @@ <li><a href="http://dbtune.org/classical/resource/work/bruch_max/47">Kol Nidrei for cello and orchestra by Max Bruch</a></li> </ul> -<p>Example SPARQL queries:</p> +<p>Example SPARQL queries. (These links load a query into the query editor, but you will still need to press the query button on the right of the editor to run the query.)</p> <ul> <li><a href="http://dbtune.org/classical/store?query=prefix+type:+<http://dbtune.org/classical/resource/type/>%0Aprefix+property:+<http://dbtune.org/classical/resource/vocab/>%0Aprefix+bio:+<http://purl.org/vocab/bio/0.1/>%0Aprefix+foaf:+<http://xmlns.com/foaf/0.1/>%0A%0ASELECT+?c+?n+WHERE+{%0A?b+a+type:Composer+;%0A++foaf:name+%22Bach,+Johann+Sebastian%22+;%0A++property:birth+[+bio:date+?d+]+.%0A?c+a+type:Composer+;%0A++property:birth+[+bio:date+?d+]+;%0A++foaf:name+?n+.%0A}+">Composers born in the same year as JS Bach</a></li> <li><a href="http://dbtune.org/classical/store?query=prefix+mo:+<http://purl.org/ontology/mo/>%0ASELECT+%3Fc+WHERE+{%0D%0A++%3Fc+a+mo%3AMusicalWork+%3B%0D%0A+++++mo%3Akey+%22F+minor%22%0D%0A}">Works in F minor</a></li>
--- a/cmn/.htaccess Tue Nov 07 16:15:07 2017 +0000 +++ b/cmn/.htaccess Wed Nov 08 11:56:36 2017 +0000 @@ -1,4 +1,12 @@ -#RewriteEngine on -#RewriteBase /cmn +RewriteEngine On +RewriteBase /cmn -#RewriteRule ^(.*)$ http://localhost:6666/conductor/$1 [P] +RewriteRule ^$ index.html [L] + +RewriteRule store(.*) http://localhost:2165/cmn/cliopatria/yasgui/index.html [P] +RewriteRule sparql http://localhost:2165/cmn/cliopatria/sparql [P] +RewriteRule cliopatria/(.*) http://localhost:2165/cmn/cliopatria/$1 [P] +RewriteRule ^(.*)\.(html|css|mov)$ - [P] + +RewriteRule ^(.*)$ http://localhost:2164/$1 [P] +