<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,6 +9,11 @@
 @prefix exif: &lt;http://www.kanzaki.com/ns/exif#&gt; .
 @prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt; .
 @prefix dcterms: &lt;http://purl.org/dc/terms/&gt; .
+@prefix void: &lt;http://rdfs.org/ns/void#&gt; .
+
+[] a void:Dataset ;
+	void:sparqlEndpoint &lt;[% endpoint_url %]&gt; ;
+	void:numberOfTriples [% triples %] .
 
 # definition of an endpoint
 [] a sd:Service ;</diff>
      <filename>RDF-Endpoint/include/endpoint_description.rdf</filename>
    </modified>
    <modified>
      <diff>@@ -381,6 +381,9 @@ sub remove_statement {
 	my $context	= shift;
 	my $dbh		= $self-&gt;dbh;
 	my $stable	= $self-&gt;statements_table;
+	unless (blessed($stmt)) {
+		Carp::confess &quot;no statement passed to remove_statement&quot;;
+	}
 	my @nodes	= $stmt-&gt;nodes;
 	my $sth		= $dbh-&gt;prepare(&quot;DELETE FROM ${stable} WHERE Subject = ? AND Predicate = ? AND Object = ? AND Context = ?&quot;);
 	my @values	= map { $self-&gt;_mysql_node_hash( $_ ) } (@nodes, $context);</diff>
      <filename>RDF-Trine/lib/RDF/Trine/Store/DBI.pm</filename>
    </modified>
    <modified>
      <diff>@@ -67,6 +67,9 @@ sub add_statement {
 	my $dbh		= $self-&gt;dbh;
 # 	Carp::confess unless (blessed($stmt));
 	my $stable	= $self-&gt;statements_table;
+	unless (blessed($stmt) and $stmt-&gt;can('nodes')) {
+		Carp::confess &quot;No statement passed to add_statement&quot;;
+	}
 	my @nodes	= $stmt-&gt;nodes;
 	foreach my $n (@nodes) {
 		$self-&gt;_add_node( $n );</diff>
      <filename>RDF-Trine/lib/RDF/Trine/Store/DBI/mysql.pm</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f695bcec81e806dda4bb036bb62d651c6e1bf3e9</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Todd Williams</name>
    <email>greg@evilfunhouse.com</email>
  </author>
  <url>http://github.com/kasei/perlrdf/commit/f1db2485af681de0e0c01fac225588fa0e943e15</url>
  <id>f1db2485af681de0e0c01fac225588fa0e943e15</id>
  <committed-date>2009-10-22T17:20:19-07:00</committed-date>
  <authored-date>2009-10-22T17:20:19-07:00</authored-date>
  <message>- Added void:Dataset declaration in include/endpoint_description.rdf.
- Added sanity debugging in RDF::Trine::Store::DBI::remove_statement and RDF::Trine::Store::DBI::mysql::add_statement.</message>
  <tree>8c91525067984735d7e87a65b674be08aecad187</tree>
  <committer>
    <name>Gregory Todd Williams</name>
    <email>greg@evilfunhouse.com</email>
  </committer>
</commit>
