[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Apr 30 16:52:26 UTC 2008


kawas
Wed Apr 30 12:52:25 EDT 2008
Update of /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF
In directory dev.open-bio.org:/tmp/cvs-serv13322/Perl/MOBY-Server/lib/MOBY/RDF

Modified Files:
	Utils.pm 
Log Message:
added a method called empty_rdf that returns a string of RDF with no statements in it
moby-live/Perl/MOBY-Server/lib/MOBY/RDF Utils.pm,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Utils.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Utils.pm	2008/03/05 17:39:43	1.4
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/RDF/Utils.pm	2008/04/30 16:52:25	1.5
@@ -151,5 +151,22 @@
 	}    
 }
 
+=head2 empty_rdf
+
+returns a string of RDF that represents a syntactically correct RDF file
+
+=cut
+
+sub empty_rdf {
+	return <<'END_OF_RDF';
+<?xml version="1.0"?>
+<rdf:RDF 
+  xmlns:b="http://www.w3.org/2000/01/rdf-schema#"
+  xmlns:a="http://protege.stanford.edu/plugins/owl/dc/protege-dc.owl#"
+  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+</rdf:RDF>
+END_OF_RDF
+}
+
 1;
 __END__




More information about the MOBY-guts mailing list