[Fwd: CPAN as linked data]

---------------------------- Original Message ----------------------------
Subject: CPAN as linked data
From:    "Toby Inkster" <mail@tobyinkster.co.uk>
Date:    Wed, April 7, 2010 3:18 pm
To:      dev@lists.perlrdf.org
--------------------------------------------------------------------------

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

Received on Wednesday, 7 April 2010 14:20:59 UTC