amalgame/commit

adapt to new stricter turtle parser

authorJacco van Ossenbruggen
Mon Oct 15 15:28:24 2012 +0200
committerJacco van Ossenbruggen
Mon Oct 15 15:28:24 2012 +0200
commit6137ed7cf89880512df83e6caa08fbfa8cd227d1
tree498c2f52cb49b08c27fcc6f52079d519650bde0a
parente735232a3e0a93413d55f034ea36e05609b0c3aa
Diff style: patch stat
diff --git a/config-available/020-ag_prefixes.pl b/config-available/020-ag_prefixes.pl
index c213552..d6e984d 100644
--- a/config-available/020-ag_prefixes.pl
+++ b/config-available/020-ag_prefixes.pl
@@ -7,13 +7,13 @@
 % Prolog or ClioPatria.
 
 % Namespaces from third parties we use/reuse:
-:- rdf_register_ns(align, 'http://knowledgeweb.semanticweb.org/heterogeneity/alignment#').
+% :- rdf_register_ns(align, 'http://knowledgeweb.semanticweb.org/heterogeneity/alignment#').
+% :- rdf_register_ns(void, 'http://rdfs.org/ns/void#').
 :- rdf_register_ns(time, 'http://www.w3.org/2006/time#').
-:- rdf_register_ns(void, 'http://rdfs.org/ns/void#').
 :- rdf_register_ns(edm,	 'http://www.europeana.eu/schemas/edm/').
 
 % Namespaces we declared ourselves:
-:- rdf_register_ns(amalgame,   'http://purl.org/vocabularies/amalgame#').
+% :- rdf_register_ns(amalgame,   'http://purl.org/vocabularies/amalgame#').
 :- rdf_register_ns(evaluator,  'http://purl.org/vocabularies/amalgame/evaluator#').
 
 % Namespaces that are not used in the code but have no obvious location
diff --git a/rdf/tool/void.ttl b/rdf/tool/void.ttl
new file mode 100644
index 0000000..9222dd8
--- /dev/null
+++ b/rdf/tool/void.ttl
@@ -0,0 +1,27 @@
+@prefix      lib: <http://www.swi-prolog.org/rdf/library/> .
+@prefix      owl: <http://www.w3.org/2002/07/owl#> .
+@prefix	 dcterms: <http://purl.org/dc/terms/> .
+@prefix     void: <http://rdfs.org/ns/void#> .
+@prefix     vann: <http://purl.org/vocab/vann/> .
+
+[ vann:preferredNamespacePrefix "amalgame"  ; vann:preferredNamespaceUri "http://purl.org/vocabularies/amalgame#>" ] .
+[ vann:preferredNamespacePrefix "align"     ; vann:preferredNamespaceUri "http://knowledgeweb.semanticweb.org/heterogeneity/alignment#" ] .
+
+<alignmentschema>
+	a void:Dataset ;
+	dcterms:title "Schema for the Alignment format"@en ;
+	lib:source <http://knowledgeweb.semanticweb.org/heterogeneity/alignment> ;
+	void:dataDump <align.owl> .
+
+<ag_modules>
+	a void:Dataset ;
+	dcterms:title "Schema for the amalgame modules"@en ;
+	lib:source <http://purl.org/vocabularies/amalgame/modules/> ;
+	void:dataDump <ag_modules.ttl> .
+
+<amalgame>
+	a void:Dataset ;
+	dcterms:title "Schema for the Amalgame RDF vocabulary"@en ;
+	lib:source <http://knowledgeweb.semanticweb.org/heterogeneity/alignment> ;
+	void:subset <ag_modules> , <alignmentschema> ;
+	void:dataDump <amalgame.ttl> .