logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Dist::Inkt::Role::AddExternalRDF - Role to add data from sources outside the distribution

Author

       Kjetil Kjernsmo, "<kjetilk@cpan.org>"

Description

       This role provides a way to add RDF data from outside the distribution. This would typically be used for
       statements that are common to various distributions.

       Two files can be used: One containing statements that will be added to the DOAP of all distributions
       unconditionally, and one containing statements that will be added to the DOAP only if the subject of the
       statement matches a URI already in the data. The latter can be used to augment data conditionally.

       The file location can be specified with two environment variables:

       "<DIST_INKT_ADD_DATA"> for the first file, and "<DIST_INKT_FILTERED_DATA" for the second file. If they
       are not given, the defaults are "<~/.dist-inkt-data.ttl">, "<~/.dist-inkt-filtered-data.ttl">
       respectively.

       When these files are parsed, the parser will set the base URI to
       "<http://purl.org/NET/cpan-uri/dist/Distribution-Name/">, where "<Distribution-Name"> is the name of your
       distribution. Thus, you can make statements about your project by simply using relative URLs, e.g.

        <project> doap:programming-language "Perl" .

Name

       Dist::Inkt::Role::AddExternalRDF - Role to add data from sources outside the distribution

See Also