This file is indexed.

/usr/bin/rdfns is in librdf-ns-perl 20140910-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
#!/usr/bin/env perl
#ABSTRACT: look up common URI namespaces and prefixes
#PODNAME: rdfns

use strict;
use App::rdfns;
exit App::rdfns->new->run(@ARGV);

__END__

=pod

=encoding UTF-8

=head1 NAME

rdfns - look up common URI namespaces and prefixes

=head1 VERSION

version 20140910

=head1 SYNOPSIS

    # look up namespaces in several formats
    $ rdfns foaf.xmlns foaf.n3 dbpedia.sparql foaf.json

    # look up a prefixed URI
    $ rdfns rdfs:seeAlso

    # look up multiple URIs at a given version
    $ rdfns 20111102 foaf,owl.ttl

    # lookup preferred prefix
    $ rdfns http://www.w3.org/2003/01/geo/wgs84_pos#
    
    # create short name of an URL
    $ rdfns http://purl.org/dc/elements/1.1/title

    # map prefix to preferred prefix
    $ rdfns wgs.prefix

    # show all options and some examples
    $ rdfns --help

    # show version
    $ rdfns --version

=head1 FORMATS

=over

=item ttl, n3, notation3

RDF/Turtle or Notation3 syntax:

    @prefix foaf: <http://xmlns.com/foaf/0.1/> .

=item sparql

SPARQL syntax:

    PREFIX foaf: <http://xmlns.com/foaf/0.1/>

=item txt

Tabulator-separated:

    foaf http://xmlns.com/foaf/0.1/

=item xmlns

XML namespace declaration

    xmlns:foaf="http://xmlns.com/foaf/0.1/"

=item json

JSON key-values, for instance for JSON-LD. Multiple entries are comma-separated.

    "foaf": "http://xmlns.com/foaf/0.1/"

=item beacon

BEACON format syntax:

    #PREFIX: http://xmlns.com/foaf/0.1/

=item prefix

Maps a prefix to its preferred form, this is the shortest and first in
alphabetical order. For instance C<rdfns wgs84.prefix> returns prefix C<geo>.

=back

=head1 SEE ALSO

This script is internally implemented in L<App::rdfns>, based on L<RDF::NS>.

=head1 AUTHOR

Jakob Voß

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut