skos/commit

MODIFIED: New file reuse schema

authorJan Wielemaker
Mon Nov 29 15:04:34 2010 +0100
committerJan Wielemaker
Mon Nov 29 15:04:34 2010 +0100
commit6ba2fedadb94de1d43687273b1bc6b6d2d601e87
treef65cb4fbb744f94e81d90973fc72f33c9d9fd0a6
parentf9cf0f772cc34ba80682da4695986573d78b09f5
Diff style: patch stat
diff --git a/config-available/skos.pl b/config-available/skos.pl
index 9312ca3..df1d335 100644
--- a/config-available/skos.pl
+++ b/config-available/skos.pl
@@ -1,26 +1,12 @@
 :- module(conf_skos, []).
-:- use_module(library(semweb/rdf_db)).
-:- use_module(library(semweb/rdf_library)).
-:- use_module(library(semweb/rdfs)).
-:- use_module(cliopatria(hooks)).
 
-/** <module> Provide SKOS schema, namespace and visualization hooks.
+/** <module> Provide SKOS visualization hooks.
 
-This module provides the SKOS schema and   the  prefix =skos= for use in
-Prolog.
+This module provides hooks for showing SKOS entities
 */
 
-:- rdf_register_ns(skos,   'http://www.w3.org/2004/02/skos/core#').
-:- rdf_register_ns(skosxl, 'http://www.w3.org/2008/05/skos-xl#').
-
-:- rdf_attach_library(skos(rdf)).
-:- rdf_attach_library(cliopatria(rdf/base)).
-
-:- rdf_load_library(skos).
-:- rdf_load_library(skosxl).
-:- rdf_load_library(owl).
-:- rdf_load_library(dcterms).
-
+:- use_module(cliopatria(hooks)).
+:- use_module(library(skos_schema)).
 :- use_module(components(skos/components)).
 :- use_module(components(skos/graph)).
 
diff --git a/lib/skos_schema.pl b/lib/skos_schema.pl
new file mode 100644
index 0000000..120609c
--- /dev/null
+++ b/lib/skos_schema.pl
@@ -0,0 +1,18 @@
+:- module(skos_schema, []).
+:- use_module(library(semweb/rdf_db)).
+:- use_module(library(semweb/rdf_library)).
+
+/** <module> Provide SKOS schema, namespace and visualization hooks.
+
+This module provides the SKOS schema and   the  prefix =skos= for use in
+Prolog.
+*/
+
+:- rdf_register_ns(skos,   'http://www.w3.org/2004/02/skos/core#').
+
+:- rdf_attach_library(skos(rdf)).
+:- rdf_attach_library(cliopatria(rdf/base)).
+
+:- rdf_load_library(skos).
+:- rdf_load_library(owl).
+:- rdf_load_library(dcterms).
diff --git a/lib/skos_xl_schema.pl b/lib/skos_xl_schema.pl
new file mode 100644
index 0000000..a567a7e
--- /dev/null
+++ b/lib/skos_xl_schema.pl
@@ -0,0 +1,15 @@
+:- module(skos_xl_schema, []).
+:- use_module(library(skow_schema)).
+:- use_module(library(semweb/rdf_library)).
+:- use_module(library(semweb/rdfs)).
+
+/** <module> Provide SKOS schema, namespace and visualization hooks.
+
+This module provides the SKOS schema and   the  prefix =skos= for use in
+Prolog.
+*/
+
+:- rdf_register_ns(skosxl, 'http://www.w3.org/2008/05/skos-xl#').
+
+:- rdf_attach_library(skos(rdf)).
+:- rdf_load_library(skosxl).