RDF::T...Attean(3pm)

πŸ“¦
version 0.100 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– 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::equals
  • RDF::Trine::Node::ntriples_string
  • RDF::Trine::Node::Resource::abs
  • RDF::Trine::Node::Literal::value
  • RDF::Trine::Node::Literal::language
  • RDF::Trine::Node::Literal::datatype
  • RDF::Trine::Model::get_quads
  • RDF::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. 🫢


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