Group
Extension

Matches 2

RDF-NS ( V/VO/VOJ/RDF-NS-20230619.tar.gz, VOJ, 2023; MetaCPAN )
RDF-NS/lib/RDF/NS.pm ( view source; MetaCPAN )
use Carp;
use RDF::SN;

our $AUTOLOAD;
our $FORMATS = qr/ttl|n(otation)?3|sparql|xmlns|txt|beacon|json/;

our $DATE_REGEXP = qr/^([0-9]{4})-?([0-9][0-9])-?([0-9][0-9])$/;

sub new {
    my $class = re
 );
}

sub TXT {
    my $self = shift;
    $self->MAP( sub { "$_\t" . $self->{$_} }, @_ );
}

sub JSON {
    my $self = shift;
    $self->MAP( sub { "\"$_\": \"" . $self->{$_} . "\"" }, @_ );
}

sub B
RDF-NS ( V/VO/VOJ/RDF-NS-20230619.tar.gz, VOJ, 2023; MetaCPAN )
RDF-NS/lib/App/rdfns.pm ( view source; MetaCPAN )
        print STDERR "Unknown format: $f\n";
            }
        }
        if ( lc($format) eq 'json' ) {
            say join ",\n", $ns->FORMAT( $format, $a );
        } else {
            say $_ 
YYMMDD] ( <prefix[es]>[.format] | prefix:name | URL ) }+

  formats: txt, sparql, ttl, n3, xmlns, json, beacon, prefix
  options: --help | --version | --dates
 
  examples:
    rdfns 20111102 foaf,owl

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.