App-perlrdf
view release on metacpan or search on metacpan
lib/App/perlrdf/Command/Prefix.pm view on Meta::CPAN
$App::perlrdf::Command::Prefix::VERSION = '0.006';
}
use App::perlrdf -command;
use namespace::clean;
use constant abstract => q (Look up the full URIs for customary prefixes);
use constant command_names => qw( prefix prefixes pfx );
use constant description => <<'DESCRIPTION';
Given one or more prefixes such as "foaf", "dc", looks up the most
commonly used full URI.
DESCRIPTION
use constant opt_spec => (
[ 'format|f=s' => 'Output format ("turtle", "xmlns", "sparql", "text")' ],
);
use constant usage_desc => '%c prefix %o PREFIX [PREFIX ...]';
sub execute
{
require RDF::NS;
( run in 0.336 second using v1.01-cache-2.11-cpan-64827b87656 )