RDF::TrineX::Compatibility::Attean3pm
Compatibility layer between attean and rdf::trine
Usage
In modules that have new Attean methods, but otherwise uses RDF::Trine, just go:
use RDF::TrineX::Compatibility::Attean;
Overview
For now, only certain methods of Attean classes are supported. They are added to the respective RDF::Trine classes by this module. They are:
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
Todo
I'm unsure on how "RDF::Trine::Node::Literal::has_datatype" should be treated. Attean implements RDF 1.1, where all literals have a datatype, so to Attean, "has_datatype" would always be true, but that would be surprising to Trine users. For now, I have chosen to solve this only at the output level, i.e. the "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.
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.
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.
Releases
4 releases since Debian 10 (Buster); the text changed 1 time.