annotation_service/commit
fixed: atomic_concat/atomic_list_concat mixup
author | Jacco van Ossenbruggen |
---|---|
Mon Jun 23 09:52:31 2014 +0200 | |
committer | Jacco van Ossenbruggen |
Mon Jun 23 09:52:31 2014 +0200 | |
commit | 334f6f63928f9ea91d927c068c8eb413c3cdc537 |
tree | bd8b0903721c9bd095ba8d7630dd3cf36f27424c |
parent | fc9d55c7c75a2af87ff1e47c95298ed188bc4921 |
Diff style: patch stat
diff --git a/lib/oa_annotation.pl b/lib/oa_annotation.pl index b469957..aab1189 100644 --- a/lib/oa_annotation.pl +++ b/lib/oa_annotation.pl @@ -20,10 +20,9 @@ literal body tags. :- use_module(library(semweb/rdfs)). :- use_module(library(semweb/rdf_label)). :- use_module(library(oa_schema)). -:- use_module(library(graph_version)). -:- setting(annotation_api:annotation_prefix, uri, - 'http://localhost/annotation/instances/', +:- setting(annotation_api:annotation_prefix, uri, + 'http://localhost/annotation/instances/', 'Namespace for annotations'). :- rdf_meta normalize_property(r,o), @@ -334,4 +333,4 @@ hash_uri(Hash, URI) :- nonvar(Hash), Hash \= null, !, setting(annotation_api:annotation_prefix, Prefix), - atomic_concat([Prefix, 'id_', Hash], URI). + atomic_list_concat([Prefix, 'id_', Hash], URI).