Mercurial > hg > dbtune-rdf-services
changeset 5:fe9605031b11
ClioPatria instances now have path prefixes that match those of the instance within the main server, so that internal links work
author | Chris Cannam |
---|---|
date | Tue, 31 Oct 2017 11:48:10 +0000 |
parents | eaec18f0b5f3 |
children | 8c3cb5fb7843 |
files | jamendo/static-rdf-server.pl jamendo/urispace/jamendo_mapping.pl magnatune/static-rdf-server.pl magnatune/urispace/magnatune_mapping.pl |
diffstat | 4 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/jamendo/static-rdf-server.pl Fri Oct 20 14:57:54 2017 +0100 +++ b/jamendo/static-rdf-server.pl Tue Oct 31 11:48:10 2017 +0000 @@ -8,5 +8,7 @@ :- rdf_db:rdf_load('static-rdf/jamendo.rdf'). :- rdf_db:rdf_load('static-rdf/mbz_jamendo.rdf'). +:- set_setting_default(http:prefix, '/jamendo/cliopatria'). + :- http_daemon([port(2105), fork(false)]).
--- a/jamendo/urispace/jamendo_mapping.pl Fri Oct 20 14:57:54 2017 +0100 +++ b/jamendo/urispace/jamendo_mapping.pl Tue Oct 31 11:48:10 2017 +0000 @@ -8,7 +8,7 @@ :- use_module(mapping). -sparql_end_point('http://dbtune.org/jamendo/sparql/'). +sparql_end_point('http://dbtune.org/jamendo/cliopatria/sparql/'). html_renderer('http://dig.csail.mit.edu/2005/ajar/ajaw/tab.html?uri='). directory('http://dbtune.org/jamendo/all/'). namespace('http://dbtune.org/jamendo/').
--- a/magnatune/static-rdf-server.pl Fri Oct 20 14:57:54 2017 +0100 +++ b/magnatune/static-rdf-server.pl Tue Oct 31 11:48:10 2017 +0000 @@ -7,5 +7,7 @@ :- rdf_db:rdf_load('static-rdf/rdf_dump.rdf'). +:- set_setting_default(http:prefix, '/magnatune/cliopatria'). + :- http_daemon([port(2020), fork(false)]).
--- a/magnatune/urispace/magnatune_mapping.pl Fri Oct 20 14:57:54 2017 +0100 +++ b/magnatune/urispace/magnatune_mapping.pl Tue Oct 31 11:48:10 2017 +0000 @@ -8,7 +8,7 @@ :- use_module(mapping). -sparql_end_point('http://dbtune.org/magnatune/sparql/'). +sparql_end_point('http://dbtune.org/magnatune/cliopatria/sparql/'). %html_renderer('http://dig.csail.mit.edu/2005/ajar/release/tabulator/0.8/tab.html?uri='). directory('http://dbtune.org/magnatune/all/'). namespace('http://dbtune.org/magnatune/').