CPAN as linked data
Toby Inkster
mail at tobyinkster.co.uk
Wed Apr 7 16:18:48 CEST 2010
This lunch time I threw together a quick Linked Data wrapper around
CPAN::SQLite.
Example author:
http://purl.org/NET/cpan-uri/person/gwilliams
Example distribution:
http://purl.org/NET/cpan-uri/dist/RDF-Trine/project
Example version:
http://purl.org/NET/cpan-uri/dist/RDF-Trine/v_0-118
If you visit the page of a version that cannot be found on CPAN, then the
wrapper naively assumes that it does/will/did exist, so serves up a page
anyway:
http://purl.org/NET/cpan-uri/dist/RDF-Trine/v_9-999
If module authors use Module::Install::DOAPChangeSets and include a
Changes.ttl file in their distribution, then the project data will
automatically pick up data from Changes.ttl:
http://purl.org/NET/cpan-uri/dist/RDF-TrineShortcuts/project
The Changes.ttl files for RDF-TrineShortcuts v0.06 and for
Module-Install-DOAPChangeSets v0.04 itself are considered good examples of
how to write Changes.ttl files.
-Toby
More information about the Dev
mailing list