Commits

Toby Inkster committed 45bafea

tidy up POD, etc

Comments (0)

Files changed (9)

 * print to handle option for process_turtle
 * rr:RefObjectMap, rr:parentTriplesMap, rr:joinCondition, rr:JoinCondition, rr:child, rr:parent needs lots more testing.
 * rr:defaultGraph is not understood.
-* Make sure $AUTHORITY is defined for each module
-* Make sure copyright is up to date (2012)

lib/RDF/RDB2RDF.pm

 use RDF::RDB2RDF::DirectMapping;
 use RDF::RDB2RDF::DirectMapping::Store;
 
-our $VERSION = '0.006';
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
 
 sub new
 {
 1;
 __END__
 
+=encoding utf8
+
 =head1 NAME
 
 RDF::RDB2RDF - map relational database to RDF declaratively
 the same mapping as L<RDF::RDB2RDF::DirectMapping> but provides the same 
 interface as L<RDF::Trine::Store>.
 
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
 =head1 SEE ALSO
 
 L<RDF::Trine>.
 
 =head1 COPYRIGHT
 
-Copyright 2011 Toby Inkster
+Copyright 2011-2012 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.

lib/RDF/RDB2RDF/DatatypeMapper.pm

 
 use namespace::clean;
 
-our $VERSION = '0.006';
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
 
 sub datatyped_literal
 {
 	sprintf('tag:buzzword.org.uk,2011:rdb2rdf:datatype:%s', uri_escape($_[0]));
 }
 
-1;
+1;
+
+__END__
+
+=encoding utf8
+
+=head1 NAME
+
+RDF::RDB2RDF::DatatypeMapper - mixin for converting SQL datatypes to RDF (XSD) datatypes
+
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
+=head1 SEE ALSO
+
+L<RDF::RDB2RDF>.
+
+L<http://www.perlrdf.org/>.
+
+=head1 AUTHOR
+
+Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
+
+=head1 COPYRIGHT
+
+Copyright 2011-2012 Toby Inkster.
+
+This library is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+

lib/RDF/RDB2RDF/DirectMapping.pm

 	RDF::RDB2RDF::DatatypeMapper
 ];
 
-our $VERSION = '0.006';
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
 
 sub new
 {
 
 1;
 
+__END__
+
+=encoding utf8
+
 =head1 NAME
 
 RDF::RDB2RDF::DirectMapping - map relational database to RDF directly
 
 =back
 
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
 =head1 SEE ALSO
 
-L<RDF::Trine>, L<RDF::RDB2RDF>.
-
-L<RDF::RDB2RDF::DirectMapping::Store>.
+L<RDF::Trine>, L<RDF::RDB2RDF>, L<RDF::RDB2RDF::DirectMapping::Store>.
 
 L<http://www.perlrdf.org/>.
 

lib/RDF/RDB2RDF/DirectMapping/Store.pm

 	RDF::RDB2RDF::DirectMapping::Store::Mixin::SuperGetPattern
 ];
 
-our $VERSION = '0.006';
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
 
 sub new
 {
 
 1;
 
+__END__
+
+=encoding utf8
+
 =head1 NAME
 
 RDF::RDB2RDF::DirectMapping::Store - mapping-fu
 
 =head2 A Read-Write Adventure!
 
-As of 0.006, there is experimental support for C<add_statement>,
+As of 0.006, there is very experimental support for C<add_statement>,
 C<remove_statement> and C<remove_statements>.
 
 Because data is stored in the database in a relational manner
 In this store though, C<remove_statements> may succeed when
 individual calls to C<remove_statement> would have succeeded.
 
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
 =head1 SEE ALSO
 
-L<RDF::Trine>, L<RDF::RDB2RDF>, L<RDF::RDB2RDF::DirectMapping>.
+L<RDF::Trine>, L<RDF::RDB2RDF>, L<RDF::RDB2RDF::DirectMapping>, L<RDF::Trine::Store>.
 
 L<http://perlrdf.org/>.
 
-L<http://www.w3.org/TR/2011/WD-rdb-direct-mapping-20110920/>.
+L<http://www.w3.org/TR/2012/WD-rdb-direct-mapping-20120529/>.
 
 =head1 AUTHOR
 
 
 =head1 COPYRIGHT
 
-Copyright 2011 Toby Inkster
+Copyright 2011-2012 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
+
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+

lib/RDF/RDB2RDF/DirectMapping/Store/Mixin/SuperGetPattern.pm

 
 use namespace::clean;
 
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
+
 # This was removed from RDF::Trine::Store. :-(
 sub _SUPER_get_pattern
 {
 }
 
 1;
+
+__END__
+
+=encoding utf8
+
+=head1 NAME
+
+RDF::RDB2RDF::DirectMapping::Store::Mixin::SuperGetPattern - provides functionality that was removed from RDF::Trine::Store 0.140
+
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
+=head1 SEE ALSO
+
+L<RDF::RDB2RDF>.
+
+L<http://www.perlrdf.org/>.
+
+=head1 AUTHOR
+
+Gregory Todd Williams E<lt>gwilliams@cpan.orgE<gt>.
+
+Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
+
+=head1 COPYRIGHT
+
+Copyright 2006-2012 Gregory Todd WIlliams.
+
+Copyright 2012 Toby Inkster.
+
+This library is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+

lib/RDF/RDB2RDF/R2RML.pm

 	RDF::RDB2RDF::Simple
 ];
 
-our $VERSION = '0.006';
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
 
 sub new
 {
 
 1;
 
+__END__
+
+=encoding utf8
+
 =head1 NAME
 
 RDF::RDB2RDF::R2RML - map relational database to RDF using R2RML
 =head1 DESCRIPTION
 
 This class offers support for W3C R2RML, based on the 29 May 2012 working
-draft. See the BUGS section below for a list on unimplemented areas.
+draft. See the COMPLIANCE AND COMPATIBILITY section below for a list on
+unimplemented areas.
 
 This is a subclass of RDF::RDB2RDF::Simple. Differences noted below...
 
 
 =back
 
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
 =head1 SEE ALSO
 
 L<RDF::Trine>, L<RDF::RDB2RDF>, L<RDF::RDB2RDF::Simple>.

lib/RDF/RDB2RDF/Simple.pm

 	RDF::RDB2RDF::DatatypeMapper
 ];
 
-our $VERSION = '0.006';
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
 
 sub new
 {
 
 1;
 
+__END__
+
+=encoding utf8
+
 =head1 NAME
 
 RDF::RDB2RDF::Simple - map relational database to RDF easily
 give a string, or an L<RDF::Trine::Node>. In cases of strngs, they will be
 interpolated as templates. L<RDF::Trine::Node>s are not interpolated.
 
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
 =head1 SEE ALSO
 
 L<RDF::Trine>, L<RDF::RDB2RDF>, L<RDF::RDB2RDF::R2RML>.
 
 =head1 COPYRIGHT
 
-Copyright 2011 Toby Inkster
+Copyright 2011-2012 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.

lib/URI/Escape/Optimistic.pm

 use URI::Escape;
 use base qw(Exporter);
 our @EXPORT    = qw(uri_escape uri_unescape uri_escape_utf8 uri_escape_optimistic);
-our $AUTHORITY = "cpan:TOBYINK";
-our $VERSION   = "0.001";
+
+our $AUTHORITY = 'cpan:TOBYINK';
+our $VERSION   = '0.006';
 
 sub uri_escape_optimistic
 {
-	my $text    = shift;
-	my $pattern = '^A-Za-z0-9\\-\\._~\\x{80}-\\x{10FFFF}';
-	
-	@_ = ($text, $pattern) and goto \&uri_escape;
+	$_[1] = '^A-Za-z0-9\\-\\._~\\x{80}-\\x{10FFFF}';
+	goto \&uri_escape;
 }
 
 1;
+
+__END__
+
+=encoding utf8
+
+=head1 NAME
+
+URI::Escape::Optimistic - avoid escaping most characters and hope for the best!
+
+=head1 BUGS
+
+Please report any bugs to
+L<http://rt.cpan.org/Dist/Display.html?Queue=RDF-RDB2RDF>.
+
+=head1 SEE ALSO
+
+L<RDF::RDB2RDF>, L<URI::Escape>.
+
+L<http://www.perlrdf.org/>.
+
+=head1 AUTHOR
+
+Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
+
+=head1 COPYRIGHT
+
+Copyright 2012 Toby Inkster.
+
+This library is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+