W3C home > Mailing lists > Public > public-lod@w3.org > April 2010

[Fwd: CPAN as linked data]

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 7 Apr 2010 15:20:25 +0100
Message-ID: <ca639a33375ab0de6c9628254f2ff3ec.squirrel@goddamn.co.uk>
To: public-lod@w3.org
---------------------------- 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

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:26 UTC