1RDF::TriN3(3) User Contributed Perl Documentation RDF::TriN3(3)
2
3
4
6 RDF::TriN3 - notation 3 extensions for RDF::Trine
7
9 This module extends RDF::Trine in three ways:
10
11 · Adds a Notation 3 parser.
12
13 · Adds a Notation 3 serializer.
14
15 · Provides a subclass of literals to represent Notation 3 formulae.
16
17 In addition, a parser is provided for Notation 3 extended with
18 ShorthandRDF notation - <http://esw.w3.org/ShorthandRDF>.
19
21 Implementing N3 logic and the cwm built-ins is considered outside the
22 scope of this distribution, though I am interested in doing that as
23 part of a separate project.
24
25 RDF::TriN3 currently relies entirely on RDF::Trine to provide
26 implementations of the concept of graphs, and storage. Thus any graphs
27 that can't be represented using RDF::Trine can't be represented in
28 RDF::TriN3. RDF::Trine's graph model is a superset of RDF, but a subset
29 of Notation 3's model. While this allows literal subjects, and literal
30 and blank node predicates, these may not be supported by all storage
31 engines; additionally top-level variables (?foo), and top-level
32 @forSome and @forAll (i.e. not nested inside a formula) might cause
33 problems.
34
35 RDF::Trine::Store::DBI has some issues with literal subjects, and
36 literal and blank node predicates, allowing them to be stored, but not
37 retrieved. From version 0.128, RDF::Trine::Store::DBI offers a
38 "clear_restrictions" method that should resolve these issues.
39 RDF::Trine::Store::Memory is fine. Other stores are not tested.
40
41 Please report any bugs to <http://rt.cpan.org/>.
42
44 RDF::Trine::Node::Formula, RDF::Trine::Parser::Notation3,
45 RDF::Trine::Serializer::Notation3.
46
47 RDF::Trine::Parser::ShorthandRDF, RDF::Trine::Parser::Pretdsl.
48
49 RDF::Trine.
50
51 <http://www.perlrdf.org/>.
52
53 <http://www.w3.org/DesignIssues/Notation3>.
54
56 Toby Inkster <tobyink@cpan.org>.
57
59 Copyright 2010-2012 Toby Inkster
60
61 This library is free software; you can redistribute it and/or modify it
62 under the same terms as Perl itself.
63
65 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
66 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
67 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
68
69
70
71perl v5.32.0 2020-07-28 RDF::TriN3(3)