amalgame/commit
handle uppercase local names in fix_not_expanded_options
author | Jacco van Ossenbruggen |
---|---|
Fri Jan 13 19:10:22 2012 +0100 | |
committer | Jacco van Ossenbruggen |
Fri Jan 13 19:10:22 2012 +0100 | |
commit | 58185bf7adabb3703def2d099d106e383a077c76 |
tree | 672818e92c3a32f787df7b19b91c729f5475e95a |
parent | 7e4b482f13ceffbea7e4f0fbe5704db2a6c7a40a |
Diff style: patch stat
diff --git a/lib/amalgame/amalgame_modules.pl b/lib/amalgame/amalgame_modules.pl index 35e7705..1089c3f 100644 --- a/lib/amalgame/amalgame_modules.pl +++ b/lib/amalgame/amalgame_modules.pl @@ -120,7 +120,7 @@ fix_not_expanded_options([''],[]). fix_not_expanded_options([],[]). fix_not_expanded_options([Key=Value|Tail], [Key=FixedValue|Results]):- ( \+ sub_atom(Value,0,_,_,'http:'), - term_to_atom(NS:L, Value), + atomic_list_concat([NS,L], :, Value), rdf_global_id(NS:L,FixedValue) -> true ; FixedValue = Value