/usr/share/doc/librdf-rdfa-parser-perl/examples/rdfa11-to-ntriples.pl is in librdf-rdfa-parser-perl 1.097-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/usr/bin/perl
use 5.010;
use RDF::RDFa::Parser;
use RDF::Trine::Serializer;
my $file = URI::file->new_abs(shift);
my $opts = RDF::RDFa::Parser::Config->new(xhtml => '1.1');
my $rdfa = RDF::RDFa::Parser->new_from_url($file, $opts);
my $ser = RDF::Trine::Serializer->new('NTriples');
print $ser->serialize_model_to_string($rdfa->graph);
|