annotation_service/commit
move namespace decl. to config file
author | Jacco van Ossenbruggen |
---|---|
Fri Jun 8 11:02:30 2012 +0200 | |
committer | Jacco van Ossenbruggen |
Fri Jun 8 11:02:30 2012 +0200 | |
commit | 65d4c943918f6c76fc6948689fae68e9a3b148b6 |
tree | dcc06ad88719f70d592a2c30897c5282746d351c |
parent | f4bf89c16eee0c7253655732318234d514639f55 |
Diff style: patch stat
diff --git a/api/annotation.pl b/api/annotation.pl index c04cc94..07450b8 100644 --- a/api/annotation.pl +++ b/api/annotation.pl @@ -15,9 +15,6 @@ :- use_module(library(graph_version)). :- use_module(user(user_db)). -:- rdf_register_ns(oac, 'http://www.openannotation.org/ns/'). -:- rdf_register_ns(an, 'http://semanticweb.cs.vu.nl/annotate/'). - :- setting(login, boolean, true, 'Require login'). :- setting(user_restrict, boolean, false, 'When set to true only own annotations are shown.'). diff --git a/config-available/annotation_service.pl b/config-available/annotation_service.pl index 6453c2f..0197c46 100644 --- a/config-available/annotation_service.pl +++ b/config-available/annotation_service.pl @@ -3,3 +3,6 @@ /** <module> Configurable RDF annotation webservice */ +:- rdf_register_ns(oac, 'http://www.openannotation.org/ns/'). +:- rdf_register_ns(an, 'http://semanticweb.cs.vu.nl/annotate/'). +