RDF::T...Attean(3pm)
π RDF::TrineX::Compatibility::Attean β the perl manpage, but make it cute
okay bestie, welcome to the RDF::TrineX::Compatibility::Attean page, straight outta the User Contributed Perl Documentation (section 3pm, iykyk). this is the little glue module that lets Attean and RDF::Trine hold hands and get along. π«Ά
β¨ NAME β¨
RDF::TrineX::Compatibility::Attean β literally just a compatibility layer between Attean and RDF::Trine. that's the whole job. π
πΈ SYNOPSIS πΈ
so if you're in modules that already have the shiny new Attean methods but otherwise still vibing with RDF::Trine, you literally just go:
use RDF::TrineX::Compatibility::Attean;
that's it. that's the whole ritual. β¨
π¦ DESCRIPTION π¦
fr fr, for now only certain methods of Attean classes are supported. this module swoops in and adds them to the matching RDF::Trine classes. and the lucky ones are:
RDF::Trine::Node::equalsRDF::Trine::Node::ntriples_stringRDF::Trine::Node::Resource::absRDF::Trine::Node::Literal::valueRDF::Trine::Node::Literal::languageRDF::Trine::Node::Literal::datatypeRDF::Trine::Model::get_quadsRDF::Trine::Model::count_quads
periodt. those eight. π
π€ TODO π€
ngl, the author is unsure how RDF::Trine::Node::Literal::has_datatype should be treated. here's the tea: Attean implements RDF 1.1, and in RDF 1.1 all literals have a datatype, so to Attean, has_datatype would always be true. but that would be super surprising to Trine users. π
so for now, they chose to solve it only at the output level, i.e. RDF::Trine::Node::Literal::datatype will return the RDF 1.1 datatypes, but has_datatype is still false for what was in RDF 1.0 plain literals and language literals. it's giving "we'll deal with it later" and honestly, valid. π
π¨ BUGS π¨
one should be that this module is a hack to make legacy code run while being in transition to Attean. it was initially motivated by making RDF::RDFa::Generator run on both frameworks. it may do surprising things. π
nevertheless!! please report any bugs or things you miss from Attean right here, bestie:
<https://github.com/kjetilk/p5-rdf-trinex-compatibility-attean/issues>
π SEE ALSO π
okay so this section is literally empty in the original, no cap β nothing listed, nothing linked, nothing to see here. moving on. π
π AUTHOR π
Kjetil Kjernsmo <kjetilk@cpan.org>. iconic. π«Ά
π COPYRIGHT AND LICENCE π
this software is copyright (c) 2017 by Kjetil Kjernsmo.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay. β¨
β DISCLAIMER OF WARRANTIES β
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
(translating for the girlies: no promises, no guarantees, you get what you get. π)
and that's the whole page, bestie β footer energy: this was rendered by perl v5.32.0 and dated 2021-01-08, on the RDF::T...Attean(3pm) page. mwah. π
π
π¦ where this page comes from
- debian bookworm: librdf-trinex-compatibility-attean-perl 0.100-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: librdf-trinex-compatibility-attean-perl 0.100-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: librdf-trinex-compatibility-attean-perl 0.100-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trinex-compatibility-attean-perl 0.100-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms