Test::RDF - for validity and equality
Version 0.10
use Test::RDF; is_valid_rdf $rdf_string, $syntax, 'RDF string is valid according to selected syntax'; is_rdf $rdf_string, $syntax1, $expected_rdf_string, $syntax2, 'The two strings have the same triples'; isomorph_graphs $model, $expected_model, 'The two models have the same triples'
Use to check if the input RDF string is valid in the chosen syntax
Use to check if the input RDF strings are isomorphic (i.e. the same)
Use to check if the input RDF::Trine::Models have isomorphic graphs
Kjetil Kjernsmo, <kjetilk at cpan.org>
<kjetilk at cpan.org>
Please report any bugs or feature requests to bug-test-rdf at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-RDF. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-test-rdf at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Test::RDF
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-RDF
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Test-RDF
CPAN Ratings
http://cpanratings.perl.org/d/Test-RDF
Search CPAN
http://search.cpan.org/dist/Test-RDF/
Michael Hendricks wrote the first Test::RDF. The present module is a complete rewrite from scratch using Gregory Todd William's RDF::Trine::Graph to do the heavy lifting.
Copyright 2010 ABC Startsiden AS and Kjetil Kjernsmo.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Test::RDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::RDF
CPAN shell
perl -MCPAN -e shell install Test::RDF
For more information on module installation, please visit the detailed CPAN module installation guide.