amalgame/commit
IMPROVED: added missing modules, url:is_absolute_url -> uri:uri_is_global
author | Jacco van Ossenbruggen |
---|---|
Tue Mar 3 15:55:37 2015 +0100 | |
committer | Jacco van Ossenbruggen |
Tue Mar 3 15:55:37 2015 +0100 | |
commit | 8b800a33925a3dc323a792a6a8a3c905ec02b3f5 |
tree | 55530eba7c9f731e6eef79e58d0e79b8c174e159 |
parent | d280e3ab9d0e0ea6f7df49eb08dd8f317f0c819b |
Diff style: patch stat
diff --git a/lib/amalgame/util.pl b/lib/amalgame/util.pl index 995b41a..1aa35a2 100644 --- a/lib/amalgame/util.pl +++ b/lib/amalgame/util.pl @@ -12,8 +12,13 @@ sort_by_arg/3 ]). - +:- use_module(library(apply)). +:- use_module(library(gensym)). +:- use_module(library(pairs)). +:- use_module(library(sgml)). +:- use_module(library(uri)). :- use_module(library(semweb/rdf_db)). + :- use_module(user(user_db)). @@ -77,7 +82,7 @@ http:convert_parameter(uri, In, URI) :- -> rdf_global_id(NS:Local, URI) ; URI=In ) - ; is_absolute_url(In) + ; uri_is_global(In) -> URI = In ).