RDF::TriN3(3pm)
β¨ RDF::TriN3 β¨
okay bestie, welcome to RDF::TriN3 β this is a Perl manpage, section 3pm, and it is literally the Notation 3 extensions for RDF::Trine. buckle up π
π NAME π
RDF::TriN3 β notation 3 extensions for RDF::Trine. yes that's the whole name. short, sweet, iconic. π
πΈ DESCRIPTION πΈ
so this module extends RDF::Trine in three ways, no cap:
- Adds a Notation 3 parser. π§
- Adds a Notation 3 serializer. β¨
- Provides a subclass of literals to represent Notation 3 formulae. π
and like, in addition to all that, a parser is also provided for Notation 3 extended with ShorthandRDF notation β that's <http://esw.w3.org/ShorthandRDF>. obsessed. π¦
π BUGS AND LIMITATIONS π
okay so here's the part where we keep it real. ngl, there are some limits and you need to know about them.
Implementing N3 logic and the cwm built-ins is considered outside the scope of this distribution. the author says they're interested in doing that as part of a separate project though, so likeβ¦ someday maybe. π
RDF::TriN3 currently relies entirely on RDF::Trine to provide implementations of the concept of graphs, and storage. so any graphs that can't be represented using RDF::Trine can't be represented in RDF::TriN3. RDF::Trine's graph model is a superset of RDF, but a subset of Notation 3's model. and the way that while this allows literal subjects, and literal and blank node predicates β those may not be supported by all storage engines. also top-level variables (?foo), and top-level @forSome and @forAll (i.e. not nested inside a formula) might cause problems. π
RDF::Trine::Store::DBI has some issues with literal subjects, and literal and blank node predicates, allowing them to be stored, but not retrieved. from version 0.128, RDF::Trine::Store::DBI offers a clear_restrictions method that should resolve these issues. RDF::Trine::Store::Memory is fine. other stores are not tested. π«Ά
please report any bugs to <http://rt.cpan.org/>. do it bestie, the maintainer wants to know. π
π SEE ALSO π
go look at these, they're all part of the same little universe:
RDF::Trine::Node::FormulaRDF::Trine::Parser::Notation3RDF::Trine::Serializer::Notation3
and also:
RDF::Trine::Parser::ShorthandRDFRDF::Trine::Parser::Pretdsl
and of course:
RDF::Trine
plus the links:
π«Ά AUTHOR π«Ά
Toby Inkster <tobyink@cpan.org>. legend behaviour, honestly. π
π COPYRIGHT AND LICENCE π
Copyright 2010-2012 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl 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.
fr fr, read that one again. no promises, no takebacks. π
and that's the whole page, bestie!! this was perl v5.34.0, dated 2022-06-17, and it's the RDF::TriN3(3pm) manual page. go forth and triple your N3s. π
β¨π¦
π¦ where this page comes from
- debian bookworm: librdf-trin3-perl 0.206-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trin3-perl 0.206-3 Β· 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