opmv/commit

namespaces and loading

authorJacco van Ossenbruggen
Mon Nov 29 22:10:17 2010 +0100
committerJacco van Ossenbruggen
Mon Nov 29 22:10:17 2010 +0100
commitc7257d86d269935ba44f6cd2a8e908cf39051438
tree24d2dd982ca2eb4104070ea4f5a264badb8de973
parentb14d32d47c2b64241900f4c35b8cc9e5b3f04a03
Diff style: patch stat
diff --git a/lib/opmv_schema.pl b/lib/opmv_schema.pl
new file mode 100644
index 0000000..584e815
--- /dev/null
+++ b/lib/opmv_schema.pl
@@ -0,0 +1,13 @@
+:- module(opmv_schema, []).
+:- use_module(library(semweb/rdf_db)).
+:- use_module(library(semweb/rdf_library)).
+
+/** <module> Provide OPMV schema, namespace and visualization hooks.
+
+This module provides the SKOS schema and   the  prefix =opmv= for use in
+Prolog.
+*/
+
+:- rdf_register_ns(opmv,  'http://purl.org/net/opmv/ns#').
+:- rdf_attach_library(opmv(rdf)).
+:- rdf_load_library(opmv).
diff --git a/lib/opmvc_schema.pl b/lib/opmvc_schema.pl
new file mode 100644
index 0000000..0e74858
--- /dev/null
+++ b/lib/opmvc_schema.pl
@@ -0,0 +1,13 @@
+:- module(opmvc_schema, []).
+:- use_module(library(semweb/rdf_db)).
+:- use_module(library(semweb/rdf_library)).
+
+/** <module> Provide OPMV schema, namespace and visualization hooks.
+
+This module provides the SKOS schema and   the  prefix =opmv= for use in
+Prolog.
+*/
+
+:- rdf_register_ns(opmvc, 'http://purl.org/net/opmv/types/common#').
+:- rdf_attach_library(opmv(rdf)).
+:- rdf_load_library(opmvc).