void/commit

added prolog load file

authorJacco van Ossenbruggen
Fri Jun 17 10:21:56 2011 +0200
committerJacco van Ossenbruggen
Fri Jun 17 10:21:56 2011 +0200
commitb9ff358f185442b8852dded6b3d064bf65f2d1c1
treeb364971bb5200532ee49d92962876ed611eb3e73
parent14ce97b55ee8dbdb9534d69e7c5c33b9aae00bf3
Diff style: patch stat
diff --git a/lib/void_schema.pl b/lib/void_schema.pl
new file mode 100644
index 0000000..3a6f261
--- /dev/null
+++ b/lib/void_schema.pl
@@ -0,0 +1,13 @@
+:- module(void_schema, []).
+:- use_module(library(semweb/rdf_db)).
+:- use_module(library(semweb/rdf_library)).
+
+/** <module> Provide VoID schema and namespace
+
+This module provides the VoID schema and the prefix =void= for use in
+Prolog.
+*/
+
+:- rdf_register_ns(void, 'http://rdfs.org/ns/void#').
+:- rdf_attach_library(void(rdf)).
+:- rdf_load_library(void).