Debian Codegraph @

README

raw
1 RDF::Trine - An RDF Framework for Perl.
2
3 RDF::Trine provides an RDF framework with an emphasis on extensibility, API
4 stability, and the presence of a test suite. The package consists of several
5 components:
6
7 * RDF::Trine::Model - RDF model providing access to a triple store.
8 * RDF::Trine::Parser - Native RDF parsers (RDF/XML, RDFa, Turtle, RDF/JSON,
9 TriG, N-Triples, and N-Quads).
10 * RDF::Trine::Serializer, a set of native RDF serializers for RDF/XML, Turtle,
11 RDF/JSON, N-Triples, Canonical N-Triples, and N-Quads.
12 * RDF::Trine::Store::DBI - A triple store for MySQL and SQLite, based on the
13 Redland schema.
14 * RDF::Trine::Iterator - Iterator classes for variable bindings and RDF
15 statements, used by RDF::Trine::Store, RDF::Trine::Model, and RDF::Query.
16 * RDF::Trine::Namespace - A convenience class for easily constructing RDF
17 node objects from URI namespaces.
18
19 REQUIREMENTS
20
21 To install RDF::Trine you'll need the following perl modules installed:
22
23 * Algorithm::Combinatorics
24 * Cache::LRU
25 * Data::UUID
26 * DBI
27 * DBIx::Connector
28 * DBD::SQLite
29 * Digest::MD5
30 * Error
31 * HTTP::Negotiate
32 * JSON
33 * LWP::UserAgent
34 * List::Util
35 * List::MoreUtils
36 * Log::Log4perl
37 * Math::BigInt
38 * Scalar::Util
39 * Set::Scalar
40 * Text::CSV_XS
41 * Text::Table
42 * Time::HiRes
43 * Unicode::Escape
44 * Unicode::String
45 * URI
46 * XML::CommonNS
47 * XML::Namespace
48 * XML::SAX
49 * XML::LibXML
50 * XML::LibXML::SAX
51
52
53 The following additional modules are optional:
54
55 * DBD::Pg
56 * DBD::Mysql
57 * Test::More
58 * Test::Exception
59 * RDF::RDFa::Parser
60
61 INSTALLATION
62
63 To install, run:
64
65 perl Makefile.PL
66 make
67 make test
68 make install
69
70 VERSION HISTORY
71
72 Version 1.019 (2018-01-04)
73
74 * BUG FIXES
75 Add test case for TSV serializer fixes (#155, #156 from @phochste).
76
77 Version 1.018 (2017-06-20)
78
79 * BUG FIXES
80 Fix API inconsistency in RDF::Trine::Store::SPARQL (#149, #150 from @minusdavid).
81
82 Version 1.017 (2017-06-01)
83
84 * BUG FIXES
85 Fixes to data update code in RDF::Trine::Store::SPARQL (#146 from @minusdavid).
86
87 Version 1.016 (2017-04-24)
88
89 * BUG FIXES
90 Fixes to RDF::Trine::Store::Redland (#145 from @doriantaylor).
91 * OTHER
92 Updated Makefile.PL for perl 5.26.
93 Remove use of TryCatch in scripts and developer tests.
94
95 Version 1.015 (2017-01-04)
96
97 * BUG FIXES
98 Remove call to $dbh->begin_work when already working with AutoCommit turned off.
99 * ENHANCEMENTS
100 Updated rdf_store_add_file.pl to guess the appropriate parser based on the filename.
101 Replaced all uses and initializations from Text::CSV in favour to Text::CSV_XS (#136 from @jordivador).
102 * OTHER
103 Change hashbang to use env (#137 from KjetilK).
104 Remove use of RDF::Redland in bin/rdf_store_serialize.pl.
105 Remove use of TryCatch (#138 from @ppisar).
106
107 Version 1.014 (2015-05-17)
108
109 * BUG FIXES
110 Fix data loss bug in SQLite backend schema and hash encoding (from Mike Frager PR #126).
111 * ENHANCEMENTS
112 Read data as utf8 from STDIN.
113 * OTHER
114 Added Cache::LRU requirement to prerequisite list and README.
115
116 Version 1.013 (2015-02-14)
117
118 * BUG FIXES
119 Update how file URIs are constructed to better deal with windows systems.
120 Fixed bug in RDF::Trine::Model->size that was only considering triples, not quads.
121 Fix get_statements and count_statements when called with quad patterns with non-nil graph.
122 * NEW FEATURES
123 Added RDF::Trine::Store::LanguagePreference class.
124 Added RDF::Trine::Parser->parse_url method (github issue #119).
125 * ENHANCEMENTS
126 Improve insertion performance in RDF::Trine::Store::Memory by keeping caching quad SHA1 hashes.
127 Make RDF::Trine::VariableBindings->join more flexible in testing of equality.
128 Simplify coercion of values in RDF::Trine::Node::Resource constructor.
129 * OTHER
130 Update triple store tests for expected results when passing in quad patterns with non-nil graphs.
131 Miscellaneous code and documentation improvements (from Kjetil Kjernsmo via github pull request #116).
132 Added IRI to list of prereq modules in Makefile.PL.
133
134 Version 1.012 (2015-01-15)
135
136 * BUG FIXES
137 Fixed SPARQL XML serialization of boolean results.
138
139 Version 1.011 (2014-10-24)
140
141 * BUG FIXES
142 Updated Hexastore store to return an empty iterator for get_contexts() instead of croaking.
143 Fixed TSV serializer to print header rows and accept VariableBindings as input.
144
145 Version 1.010 (2014-10-03)
146
147 * BUG FIXES
148 Fixed bug in SPARQL store that wasn't properly decoding HTTP response content (github issue #118).
149 * NEW FEATURES
150 Refactored part of RDF::Trine::Iterator::Graph->as_hashref into RDF::Trine::Node->as_hashref (github issue #117).
151 * ENHANCEMENTS
152 Update RDF::Trine::Pattern with heuristic pattern sorter (github pull request #114 from Kjetil Kjernsmo).
153 * OTHER
154 Added IRC resource to Makefile.PL.
155
156 Version 1.009 (2014-08-06)
157
158 * NEW FEATURES
159 Adding model sync/bulk ops to redland store (Dorian Taylor).
160 * ENHANCEMENTS
161 Optimized use of regular expressions (Dorian Taylor).
162 Optimized Hexastore store class (Dorian Taylor).
163 Use a base64 encoded digest for Memory store etags (Kjetil Kjernsmo).
164 Updated RDF::Trine::Iterator::Bindings->as_statements to accept a RDF::Trine::Pattern argument (github issue #104).
165 * OTHER
166 Log an info message if there is a cartesian product (Kjetil Kjernsmo).
167
168 Version 1.008 (2014-05-20)
169
170 * BUG FIXES
171 Fixed bug in Turtle lexer that was failing to anchor matches of PNAME_LN (GH issue #96 by Tobias Kuhn).
172 Fixed looping bug and handling of N-Triples escape sequences (GH issue #97 by Tobias Kuhn).
173 Made checking for known DBI backend DSN strings case insensitive.
174 Fix bug in RDF::Query::Plan::Join::PushDownNestedLoop that didn't allow 'aggregate' to appear in the RHS serialized text (github issue #101).
175 Fix SPARQL 1.1 GGP parsing bug (github issue #100).
176 Fixed bug in constructing the HTTP request object for SPARQL updates.
177 * NEW FEATURES
178 Added RDF::Trine::Parser::RDFPatch.
179 Added RDF::Trine::Parser::LineProtocol as a RDFPatch parser subclass allowing querying (with bin/cliapi tool).
180 * ENHANCEMENTS
181 Sync RDF::Trine::NamespaceMap up with URI::NamespaceMap's interface (code from Dorian Taylor).
182 Updated RDF::Trine::Parser::Turtle->new to accept a default namespace 'map' key.
183 Updated RDF::Trine::Model->add_statement to verify that statement nodes are ground (not variables).
184 Updated RDF::Trine::Parser::Turtle->parse_node to allow accessing the tokenizer object used in parsing.
185 Added RDF::Trine::Parser::Turtle->_term method.
186 Fixed RDF::Query::Algebra->subpatterns_of_type to support descent into sub-queries.
187 Fixed as_hash method in RDF::Query::Expression::Alias, RDF::Query::Algebra::Aggregate and RDF::Query::Algebra::Sort.
188 Return a success iterator for POST requests based only on response code (and regardless of the response content).
189 Allow POST responses to redirect in RDF::Trine::Store::SPARQL.
190 Use normalized langauge tags in RDF::Trine::Node::Literal->new.
191 Added RDF::Query::ExecutionContext->bind_variable method.
192 * OTHER
193 Added W3C Turtle Test Suite harness bin/turtle-2013-harness.pl.
194 Added xt/perl-critic.t.
195 Updated parser method documentation to indicate where data is expected to be bytes.
196 Added some more docs to the SQlite config (pull request #102 from KjetilK).
197 Throw error if bindings iterator is given rather than graph in RDF::Trine::Model->add_iterator (pull request #103 from KjetilK).
198 Disable pushing full updates down into the store object (only meant to be full queries at this point).
199 Add POD hyperlinks to RDF::Trine documentation (pull request #99 from nichtich).
200
201 Version 1.007 (2013-07-18)
202
203 * BUG FIXES
204 Update Turtle lexer to look for whitespace (instead of a word break) after 'a' when looking for the A token.
205 Work around a XML::Namespace bug in RDF::Trine::Namespace->uri.
206 Fixed xt/pod-coverage.t to avoid checking modules which fail to load.
207 * NEW FEATURES
208 Added initial implementation of TriG serializer.
209 Added implementation of the RDF Patch exporter and serializer, and ability to serialize model changes in RDF Patch format.
210 * ENHANCEMENTS
211 Added ability to configure the LWP::UserAgent used through the RDF::Trine framework.
212 Updated Turtle and TriG parsers and test suites to track W3C standardization work.
213 Update bin/turtle_parse.pl to output N-Quads when the input format contains quads.
214 Update RDF::Trine::Parser->parse_url_into_model to accept a base argument.
215 Allow lowercase hex codepoint values in N-Triples escapes in RDF::Trine::Parser::NTriples.
216 * OTHER
217 Use the :encoding(UTF-8) IO layer where previously just :utf8 was used.
218 s/exists/defined/ in RDF::Trine::Parser->parse_url_into_model.
219 Update the characters that may be used in blank node identifiers in RDF::Trine::Node::Blank->new.
220 Added POD for RDF::Trine::Statement::Quad->graph (alias for ->context).
221 Updated RDF::Trine::Store::Memory to generate SHA digests (for ETag use) based on bytes, not unicode strings.
222 Add RDF::Trine::Statement::Quad->graph as an alias for RDF::Trine::Statement::Quad->context.
223 Updated t/serializer-trig.t to load RDF::Trine before any sub-modules.
224 Added Test::Compile developer test xt/00_compile.t.
225
226 Version 1.006 (2013-07-01)
227
228 * API CHANGES
229 Punycode URIs are now left as-is (without decoding) in RDF::Trine::Node::Resource->new.
230 * BUG FIXES
231 Fix handling of IRIs with codepoints > 127 in RDF::Trine::Node::Resource (GitHub issue #85).
232 Remove empty-string default in SQL schema of RDF::Trine::Store::DBI::mysql and update code to compensate.
233 Remove bad calls to encode_utf8 in sse and as_ntriples methods of RDF::Trine::Node::Resource.
234 * NEW FEATURES
235 Split RDF::Trine::Iterator->from_string into from_string and from_bytes.
236 * ENHANCEMENTS
237 Normalize IRI values before serialization in RDF::Trine::Node::Resource->as_ntriples and RDF::Trine::Node::Resource->compare.
238 * OTHER
239 Update RDF::Trine::Serializer::NTriples::Canonical to use $node->as_ntriples instead of $node->sse.
240 Add documentation noting that punycode will be decoded as a part of N-Triples serialization.
241 Change use of utf8::all to utf8 in t/node.t.
242 Mark TryCatch as a build_requires instead of a requires module in Makefile.PL.
243
244 Version 1.005 (2013-05-27)
245
246 * API CHANGES
247 Throw exception in RDF::Trine::Node::Resource->new when IRI contains bad characters.
248 * BUG FIXES
249 Fix RDF::Trine::Parser::RDFXML to UTF-8 encode strings before calling into the SAX parser (related to github pull request #82).
250 Fixed typo in exception throwing in RDF::Trine::Parser::TriG.
251 Fixed mistaken use of 'otherwise' exception handler in turtle_tokenize.pl.
252 * ENHANCEMENTS
253 Updated Turtle parser to support the Turtle 2013 draft syntax.
254 Improved error handling in RDF::Trine::Parser->parse_url_into_model.
255 Implemented streaming version of RDF::Trine::Parser::RDFXML->parse_file using parse_file from XML::SAX.
256 * OTHER
257 Removed use of given/when statements to make perl 5.18 happy.
258 Silence tracing code in RDF::Trine::Store::Hexastore.
259 Added TryCatch to list of required modules.
260 Changed key names and layout of nodemap data in Redis store.
261
262 Version 1.004 (2013-03-02)
263
264 * API CHANGES
265 Changed RT:spog:* keys to be a hash with node ID data for each quad position in Redis store.
266 * ENHANCEMENTS
267 Treat data passed into parsers as characters (github pull request #82 from Tony Cook).
268 Improve the error message when trying to parse an empty RDF/XML string (Kjetil Kjernsmo).
269 Added get_graphs as an alias for get_contexts in RDF::Trine::Model and RDF:Trine::Model::Dataset.
270 * OTHER
271 Test to see if DBD::Pg is installed in test suite (github pull request #78 from Kjetil Kjernsmo).
272 Added turtle command line tools turtle_parse.pl, turtle_benchmark.pl, and turtle_tokenize.pl.
273
274 Version 1.003 (2012-12-22)
275
276 * BUG FIXES
277 Fixes to code that depended on hash key ordering.
278 Fixed test of error conditions in RDF::Trine::Parser->parse_url_into_model.
279 Fixed bug in RDF::Trine::Parser::RDFXML that caused fatal errors on malformed input instead of throwing RDF::Trine::Error exceptions.
280 Fixed RDF::Trine::Parser::Turtle::Lexer->check_for_bom to handle zero-length input.
281 * NEW FEATURES
282 Added prefix_for and abbreviate methods to RDF::Trine::NamespaceMap (patch from Dorian Taylor)
283 * OTHER
284 Require Scalar::Util 1.24.
285 Re-added RDF::Trine::Parser::Turtle->parse_node method.
286
287 Version 1.002 (2012-10-20)
288
289 * OTHER
290 Require Scalar::Util version 1.23.
291
292 Version 1.001 (2012-10-05)
293
294 * BUG FIXES
295 Fixed bareword bug in RDF::Trine::Parser when UUID::Tiny is not available.
296 * ENHANCEMENTS
297 Replaced old Turtle and TriG parsers with new streaming implementations.
298 Added RDF::Trine::Node::Literal->canonicalize method.
299 Updated RDF::Trine::Parser::Redland to construct a new parser object on each parse (avoiding a bug in redland).
300 Applied partial patch to "fix interaction with HTML::Data::Parser" (from Dorian Taylor; commit 9b713b23b6).
301 * OTHER
302 Added Moose and MooseX::ArrayRef to prerequisites list.
303 Updated code style to work with Perl::Critic core policies.
304 Added POD to RDF::Trine and RDF::Trine::Store::DBI (based on patch from Evan Carew).
305 Updated required version of perl to 5.10.
306 Silenced undefined warnings in RDF::Trine::Parser::Turtle::Lexer.
307 Silenced warning of cartesian joins in RDF::Trine::Store::Hexastore.
308
309 Version 1.000 (2012-06-29)
310
311 * API CHANGES
312 Removed RDF::Trine methods count, add_extra_result_data, extra_result_data.
313 Removed support for extra data serialized in SPARQL/XML result format link tags.
314 Made Literal and Resource node constructors throw exception when passed undef lexical value.
315 * BUG FIXES
316 Fixed parsing of backslash escapes in Turtle quoted literals (from Toby Inkster via github pull request #63).
317 Rolled back attempted optimization of bulk ops calls (which broke the code).
318 Fixed etag bug in RDF::Trine::Store::Memory.
319 * NEW FEATURES
320 Added RDF::Trine::Model->add_iterator method.
321 * OTHER
322 Fixed miscellaneous typos (from Evan Carew).
323 Updated bug reporting details in BUGS POD section.
324 Updated documentation in several classes.
325 Removed redundant documentation in RDF::Trine::Parser.
326 Added Redland test for UTF8 (from Kjetil Kjernsmo).
327 Added two tests for concat graph iterators (from Kjetil Kjernsmo).
328 Fix usage of materialized iterators in t/iterator-graph.t (from Kjetil Kjernsmo).
329 Document the extends option to negotiate in the serializer (from KjetilK).
330 Document RDFTRINE_NO_REDLAND (from KjetilK).
331
332 Version 0.140 (2012-05-08)
333
334 * API CHANGES
335 Removed default get_pattern implementation in RDF::Trine::Store.
336 * BUG FIXES
337 Added missing import of looks_like_number function in RDF::Trine::Node::Literal.
338 * ENHANCEMENTS
339 Added RDF::Trine::Pattern->sort_for_join_variables method to prevent unnecessary cartesian joins.
340 Added optional content_cb callback argument to RDF::Trine::Parser->parse_url_into_model.
341
342 Version 0.139 (2012-04-11)
343
344 * API CHANGES
345 Made server a required configuration key in RDF::Trine::Store::Redis.
346 * BUG FIXES
347 Fixed interaction of peek() and finished() in RDF::Trine::Iterator.
348 Fixed use of iterator finished method in RDF::Trine::Iterator::Bindings->as_json.
349 Fixed use of iterator finished method in RDF::Trine::Store::Hexastore->get_pattern.
350 Fixed bug when RDF::Trine::Iterator->finished is called before an (empty) iterator is used.
351 Fixed fallback parsing bug in RDF::Trine::Parser->parse_url_into_model.
352 Fixed PostgreSQL capitalization bug (patch from https://rt.cpan.org/Ticket/Display.html?id=71890 applied by Kjetil Kjernsmo).
353 * NEW FEATURES
354 Added RDF::Trine::Serializer::NQuads->statement_as_string method.
355 * ENHANCEMENTS
356 Added 'scoped_namespaces' constructor argument to RDF::Trine::Serializer::RDFXML to serialize only necessary namespace declarations. (github issue 33).
357 Initialize Log4perl only if it isn't initialized already (pull request 57 from kba).
358 * OTHER
359 Fixed expected result count in Test::RDF::Trine::Store->get_pattern_tests.
360 Simplified code in t/store-hexastore-pattern.t.
361 Added tests for RDF::Trine::Iterator->peek.
362 Adding some get_pattern tests to the Store tests (Kjetil Kjernsmo).
363 Replaced references to RDFQUERY_NO_REDLAND environment variable with proper RDFTRINE_NO_REDLAND.
364 Allow suppressing RDF::Redland use if the RDFQUERY_NO_REDLAND environment variable is set.
365 Removed erroneous copies of RDF::Trine::Store::DBI::Pg->init method.
366 Add pg tests (Kjetil Kjernsmo).
367
368 Version 0.138 (2012-01-25)
369
370 * BUG FIXES
371 Fixed error-handling syntax bug in RDF::Trine::Parser->parse_url_into_model.
372 * NEW FEATURES
373 Make Hexastore support etag.
374 * ENHANCEMENTS
375 Croak rather than die in some places and use logdie in one place.
376 * OTHER
377 Fix documentation typos from [email protected].
378 Improved performance of Redis store with use of variadic functions.
379 Added store tests for literals including utf-8 handling and languages.
380
381 Version 0.137 (2011-12-20)
382
383 * API CHANGES
384 Trying to instantiate a resource node with the Nil IRI results in the Nil node object.
385 * BUG FIXES
386 Fixed unicode escaping issues in RDF::Trine::Serializer::Turtle (bugreport from nichtich <[email protected]>).
387 Fixed RDF::Trine::Parser::Turtle to properly unescape percent-encoded URIs.
388 Fixed RDF::Trine::Statement->from_redland to properly unescape percent-encoded URIs.
389 Only set parser metadata if RDF::RDFa::Parser is available (github issue 32 from nichtich).
390 Added PostgreSQL-specific init method to handle case sensitivity of table names (RT#71890 from John Nicholas Whitley).
391 * NEW FEATURES
392 Implement RDF::Trine::Store::Hexastore->nuke (KjetilK).
393 Added initial code for a Redis-based store.
394 Added serialize_node method to RDF::Trine::Serializer::NTriples and RDF::Trine::Serializer::Turtle.
395 Added parse_node method to RDF::Trine::Parser::NTriples.
396 * ENHANCEMENTS
397 Create a fallback-implementation of remove_statements in Store.pm (KjetilK).
398 Updated RDF::Trine::Graph to use Algorithm::Combinatorics for memory/speed improvements (instead of Math::Combinatorics).
399 * OTHER
400 Support triple-only stores in the test suite (patches from KjetilK).
401 Added missing POD to RDF::Trine::Store::DBI::Pg and RDF::Trine::Store::Redis.
402 Check the Perl version when running Tiny::UUID (KjetilK).
403 RDF::Trine::Parser now attempts to use Data::UUID before UUID::Tiny in bnode ID generation (based on test failures).
404
405 Version 0.136 (2011-10-19)
406
407 * API CHANGES
408 Removed RDF::Trine::Iterator::SAXHandler->rate method and dropped dependency on Time::HiRes.
409 Consolidated bnode prefix handling in parser classes, adding support for UUID::Tiny.
410 * BUG FIXES
411 Fixed escaping of URIs in rdf:about attributes (patch from SADI Framework).
412 Return an empty string instead of undef in RDF::Trine::Iterator->format_node_xml.
413 Fixed RDF::Trine::Store::SPARQL->count_statements handling of variables.
414 Fixed turtle serializer to check if numerics are in canonical form.
415 Fixed mysql schema to quote index names that might contain reserved characters.
416 Fix RDF::Trine::Model->get_statements to throw an error when called with arguments that aren't either undef or node objects.
417 Fixed titlecase of table reference in RDF::Trine::Store::DBI::mysql->init.
418 Fixed bug in use of UUID::Tiny::UUID_V1 bareword in RDF::Trine::Parser->new_bnode_prefix.
419 * NEW FEATURES
420 Initial support for using Dydra as a store.
421 Added RDF::Trine::Parser::Turtle->parse_node method.
422 Added RDF::Trine::Node::Literal->is_canonical_lexical_form.
423 Made RDF::Trine::Serializer::NTriples->statement_as_string a public method.
424 RDF::Trine::Parser->parse_url_into_model now fill properly fall back on guesswork when media-type parsing fails.
425 Moved as_hashref functionality from RDF::Trine::Model to RDF::Trine::Iterator::Graph.
426 Added TSV serializer.
427 * ENHANCEMENTS
428 Allow empty namespace prefix in RDF::Trine::NamespaceMap (patch from Jakob Voss).
429 Added text/html media type, and added use of Module::Load::Conditional in RDF::Trine::Parser::RDFa.
430 Added support of SPARQL endpoints with URL parameters like Virtuoso's 'http://example.org:8890/sparql?default-graph-uri=...' (patch from Jakob Voss).
431 Updated RDF::Trine::Store::DBI to use DBIx::Connector.
432 * OTHER
433 Added option to sleep after each store update in Test::RDF::Trine::Store.
434 Fixed code in RDF::Trine::Store::SPARQL that was causing a warning when a variable name was redefined.
435 Updated RDF::Trine::Store::DBI::mysql->_add_node to return the node hash value.
436 Stop RDF::Trine::Store::DBI->add_statement from unnecessarily hashing nodes multiple times (patch from tobyink).
437 Moved redland store tests to developer xt directory.
438 Updated t/serializer-turtle.t to be more accepting of stores returning data in varying orders.
439 Removed 'or die' conditional from store tests.
440 Changed test endpoint from kasei.us to myrdf.us.
441 Added simple store tests for bulk_ops in Test::RDF::Trine::Store.
442 Removed heavy dependency on DBI store in test cases.
443 Require RDF::Redland 1.0.7.1 in xt/store-redland.t.
444 Add missing use of RDF::Trine::Statement::Quad.
445 Conditionally load DBI store, and return Memory store from temporary_store().
446 Removed dependency on Unicode::Escape.
447 Made XML::LibXML an optional dependency (RDF/XML parser will not perform c14n if it is not installed)
448 Updated RDF::Trine::Store::Memory to use Digest::SHA instead of Digest::MD5.
449 Removed depedency on List::MoreUtils.
450 Added POD for Test::RDF::Trine::Store->update_sleep.
451 Added POD for RDF::Trine::Serializer::NTriples->statement_as_string.
452 Removed depedency on Unicode::String and List::MoreUtils.
453 Removed unnecessary use statements.
454
455 Version 0.135 (2011-04-30)
456
457 * API CHANGES
458 Globally changed 'base' to 'base_uri' in Trine code and API.
459 Changed name of redland rdfa parser to 'librdfa' and removed associated media type and file extensions (due to librdfa bugs).
460 * BUG FIXES
461 Fixed bug in RDF::Trine::Store::DBI::mysql that was causing init() to remove existing data.
462 * NEW FEATURES
463 Added RDF::Trine::Store::DBI->nuke method for removing store data.
464 Added RDF::Trine::Model->remove_list method (patch from tobyink).
465 Added RDF::Trine::Iterator->seen_count method.
466 Added RDF::Trine::Model->get_sparql delegation method.
467 * ENHANCEMENTS
468 Updated RDF::Trine::Parser->parse_url_into_model to be better at guessing media types for file: URIs.
469 Updated RDF::Trine::Parser::Redland to allow the $base argument to be a URI object.
470 Updated RDF::Trine::Parser->parse_url_into_model to not catch and hide exceptions thrown from calls to parse_into_model.
471 Updated bin/srx2csv to handle unbound variables in results.
472 Added support for 'storeclass' key in RDF::Trine::Store->new_with_config.
473 Added supports method to RDF::Trine::Model, RDF::Trine::Model::Dataset, and RDF::Trine::Store classes.
474 RDF::Trine::Store->new_with_string now attempts to load store classes before using them.
475 Renamed RDF::Trine::Store::SPARQL->_get_iterator to get_sparql.
476 * OTHER
477 Added SQL file for creating the mysql backend database.
478 Remove the meaningless "All rights reserved" copyright text.
479 Style changes to RDF::Trine::Iterator::Bindings->print_xml.
480 Updated required version of XML::SAX to 0.96.
481 Updated store tests (KjetilK).
482 Removed Digest::SHA1 from list of prereq modules.
483
484 Version 0.134 (2011-03-29)
485
486 * API CHANGES
487 Deprecated RDF::Trine::Iterator->count.
488 * BUG FIXES
489 Fixed bug in RDF::Trine::Iterator::SAXHandler on data with empty results.
490 Fixed canonicalization bug in RDF::Trine::Node::Literal for xsd:decimals with no decimal point.
491 * NEW FEATURES
492 Added srx2csv and srx2table scripts.
493 Added API for stream parsing of srx results to RDF::Trine::Iterator::SAXHandler.
494 Added RDF::Trine::Model->get_sequence method for accessing rdf:Seq structures.
495 Added 'value' method to RDF::Trine::Node subclasses for accessing the primary scalar value of a node.
496 Added RDF::Trine::Graph->error method to explain failures in RDF::Trine::Graph->equal.
497 Updated RDF::Trine::Graph to support: subgraph testing, access to injection map, delegation to RDF::Trine::Model (patch from tobyink).
498 * ENHANCEMENTS
499 Fixed RDF::Trine::Node::Resource->qname handling of unicode IRIs.
500 Fixed RDF::Trine::Parser::NTriples->parse_file to accept filenames just like the superclass implementation.
501 Fixed RDF::Trine::Parser->parse_file to open files as utf8.
502 Fixed RDF::Trine::Parser->parse_url_into_model to pass through 'canonicalize' argument to actual parser method call.
503 Allow 'canonicalize' argument to RDF::Trine::Iterator->from_json method.
504 * OTHER
505 Made diagnostic messages less noisy in t/store-hexastore-storable.t.
506 Silenced an uninitialized warning in RDF::Trine::Parser::NTriples.
507 Removed use of XML::SAX in RDF::Trine::Serializer subclasses.
508 Added turtle parser test for file with BOM.
509 Updated RDF::Trine::Store::DBI and RDF::Trine::Store::DBI::mysql to use DBI placeholders.
510
511 Version 0.133 (2011-02-07)
512
513 * BUG FIXES
514 Fixed bug in Turtle parser that wouldn't allow a Unicode BOM in the input.
515 Fixed bug in turtle serialization of blank nodes used in graph cycles (reported by tobyink).
516 Fixed bug in RDF::Trine::Serializer::RDFXML that wasn't escaping XML entities in IRIs and bnode labels (github issue 3 from nichtich).
517 Updated RDF::Trine::Store::Hexastore to use equal() method instead of op<==> for testing node equality.
518 Updated t/parser-rdfjson.t to test bnode equality using identifier strings, not with op<==>.
519 Fixed RDF/XML xmlns serialization bug when used with RDF::Trine::NamespaceMap objects.
520 * NEW FEATURES
521 Added RDF::Trine::NamespaceMap class.
522 Added support to populate RDF::Trine::NamespaceMap objects during RDF parsing.
523 Added RDF::Trine::Model get_list and add_list methods for managing rdf:List structures.
524 Added support for parsing SPARQL JSON Results format in RDF::Trine::Iterator->from_json.
525 RDF::Trine::Parser subclasses now allow parse_file_into_model and parse_file being called as class methods.
526 Added 'restrict' and 'extend' options to RDF::Trine::Serializer->negotiate to allow more control over content negotiation.
527 Added the ability to restrict the nodes returned from the RDF::Trine::Model->objects method by node type or by literal language/datatype.
528 * ENHANCEMENTS
529 Updated RDF::Trine::Store::SPARQL to allow bulk-update operations.
530 Added string overloading to RDF::Trine::Node subclasses.
531 Added text/rdf+n3 as a media type for RDF::Trine::Serializer::Turtle.
532 * OTHER
533 Updated conneg code setting default q-values in RDF::Trine::Serializer.
534 Updated RDF::Trine::Iterator::Graph->print_xml to set utf8 binmode on the output filehandle.
535 Changed required version of Module::Load::Conditional to 0.38 (based on version in debian).
536
537 Version 0.132 (2010-12-23)
538
539 * Added conditional loading of Redland parsers and stores when available using Module::Load::Conditional.
540 * Added auto-initialization of DBI stores during object construction.
541 * Added RDF::Trine::Store->new method to delegate to existing constructors.
542 * Moved slow turtle parser tests into developer tests directory xt/.
543
544 Version 0.131 (2010-12-07)
545
546 * Fixed SPARQL XML Results serialization to omit unbound variables and properly declare literal languages and datatypes.
547 * Copied implementations of is_numeric_type() and numeric_value() from RDF::Query::Node::Literal to RDF::Trine::Node::Literal.
548 * Updated documentation to explicitly discuss inherited methods due to subclassing (RT 63153 comment from Ivan Shmakov).
549 * Updated POD for RDF::Trine::Iterator subclasses (RT 63153 comment from Ivan Shmakov).
550 * Fixed RDF::Trine::Parser->guess_parser_by_filename to get RDF/XML parser class from parser_by_media_type() instead of being hardcoded.
551 * Fixed RDF::Trine::Serializer::Turtle::_node_concise_string to allow call as class method.
552 * Added RDF::Trine::Parser::Redland subclasses to allow calling new() with no 'name' argument.
553 * Added file extensions to parser registry for RDF::Trine::Parser::Redland.
554 * Added RDF::Trine::Model->as_graphviz method.
555 * Added checks to avoid undefined warnings in RDF::Trine::Serializer::NTriples::Canonical (suggestion from KjetilK).
556 * Set :utf8 mode on string-backed filehandles in RDF::Trine::Serializer::Turtle.
557 * Attempt at patching utf8 turtle/trig parsing bug submitted by KjetilK.
558 * Updated required version of Test::More to 0.88 (bugreport from @danbri).
559
560 Version 0.130 (2010-10-18)
561
562 * Fixed bug in RDF::Trine::Node::Literal->is_valid_lexical_form check for xsd:double.
563 * Updated RDF::Trine::Iterator::Bindings->as_string to use concise turtle syntax.
564 * Added RDF::Trine::Parser methods media_type(), media_types(), parser_by_media_type(), and guess_parser_by_filename().
565
566 Version 0.129 (2010-10-04)
567
568 * Updated Makefile.PL and RDF::Trine to require perl v5.8.3.
569 * Fixed bug in promotion of temporary models from memory-backed to a SQLite-backed store.
570 * Fixed RDF::Trine::Store::DBI->new to bless into backend-specific classes when passed a database handle (bug report from tobyink).
571 * Updated RDF::Trine::Node::Literal to produce more accurate canonical lexical forms for xsd types.
572 * Added RDF::Trine::Node::Literal->is_valid_lexical_form method.
573 * Added support for special union-graph 'tag:[email protected],2010-01-01:RT:ALL'.
574 * Added exportable constants for UNION_GRAPH and NIL_GRAPH in RDF::Trine.
575
576 Version 0.128 (2010-09-28)
577
578 * Added .owl as a recognized RDF/XML file extension for the fallback parser guessing code.
579 * Fixed bug in RDF::Trine::Store::SPARQL preventing access to the default graph.
580 * Added new_with_config method to allow interactive configuration via rqsh.pl.
581 * Updated RDF::Trine::Store::DBI->init to (partially) work if called for a new model (but the database has already been initialized).
582 * Fixed call to RDF::Trine::Parser->parse_into_model in bin/rdf_store_add_file.pl.
583 * Fixed call to RDF::Trine::Parser->parse_url_into_model in RDF::Trine::Store::Memory.
584 * Removed RDF::Redland dependency in bin/rdf_store_add_file.pl.
585 * Added introspective _config_meta method to RDF::Trine::Store subclasses to allow interactive configuration.
586 * Added RDF::Trine::Store->class_by_name class method.
587 * Added etag method to RDF::Trine::Model and RDF::Trine::Store::Memory to allow for HTTP caching.
588 * Updated RDF::Trine::Node::Literal->canonicalize_literal_value coercion of xsd:decimal values.
589 * Added optional flag to RDF::Trine::Node::Literal->new to attempt to canonicalize recognized XSD values.
590 * Updated RDF::Trine::Exporter::CSV to accept a graph iterator (for serializing s,p,o as CSV).
591 * Added RDF::Trine::Store::DBI->clear_restrictions method (suggestion and partial patch from tobyink).
592 * Updated RDF::Trine::Store::Redland to improve efficiency (based on suggestions from Dorian Taylor).
593 * Added native redland parser class and tests (patch from Dorian Taylor).
594 * Added RDF::Trine::Iterator->each method (requested by tobyink).
595 * Made code updates to improve performance based on profiling.
596 * Updated to use URI 1.52 to allow direct usage of IRIs without unicode workarounds.
597 * Added content-sniffing to fallback parser guessing code for RDF/XML and Turtle.
598 * Lowered required version of redland in RDF::Trine::Parser::Redland to 1.0.7.1.
599 * Added RDF::Trine::Serializer->serializer_names method for listing available serializers.
600 * Added as_string method to RDF::Trine::Iterator::Boolean and RDF::Trine::Iterator::Graph.
601
602 Version 0.127 (2010-08-30)
603
604 * Removed redundant prerequisite for XML::LibXML::SAX from Makefile.PL.
605 * RDF::Trine::Model->bounded_description now catches and ignores UnimplementedError exceptions.
606 * Added heuristics support for TriG, RDF/JSON, and N-Quads to RDF::Trine::Parser->parse_url_into_model.
607 * Added ability to specify the base URI for serializing RDF/XML and Turtle (patch from KjetilK).
608
609 Version 0.126 (2010-08-16)
610
611 * Fixed N-Triples serialization escaping bug for strings whose only escapable character is '\'.
612 * Fixed typo in handling of RDF::Trine::Node::Formula extension.
613 * RDF::Trine::Model->new will now return a temporary model when called with no arguments.
614 * Updated get_pattern methods in Model and Store classes to return VariableBindings objects.
615 * Updated DBI backend to allow no-op adding of the nil node.
616 * Updated SPARQL backend to use SPARQL 1.1 Update and Aggregate operations.
617 * Updated Memory and Hexastore backends to support 'graph' key in _new_with_config().
618 * Improved error messages in N-Triples and N-Quads parsers.
619 * Fixed column naming bug in RDF::Trine::Store::DBI->get_contexts.
620 * Added begin_bulk_ops() and end_bulk_ops() hint methods to RDF::Trine::Model.
621 * Updated RDF::Trine::Parser to call begin_bulk_ops() and end_bulk_ops() on model object.
622 * Updated DBI backend to use transactions when bulk_ops hints are used.
623 * Added '==' and 'eq' overloading to RDF::Trine::Graph class.
624 * Updated RDF::Trine::Model->bounded_description to traverse backwards links across blank nodes.
625
626 Version 0.125 (2010-07-29)
627
628 * Fixed hash collision bug in RDF::Trine::Store::DBI handling of literals with values '' and '0'.
629 * Added RDF::Trine::VariableBindings class (ported from RDF::Query).
630 * Iterators constructed from SPARQL XML Results format now return variable bindings objects.
631 * Turtle serialization to strings now only declares prefixes that are used in the data.
632 * Added media types and URIs for N-Quads parser and serializer.
633 * Added RDF::Trine::Statement->rdf_compatible method (patch from tobyink).
634 * Changed RDF::Trine::Model node methods (subjects, predicates, objects) to use quad semantics and accept a graph parameter.
635 * Add documentation for new_with_object.
636 * Add documentation for the hashref config.
637 * Improved efficiency of counting quad patterns in RDF::Trine::Store::DBI.
638 * Fixed bug in N-Triples serializer (was serializing quads).
639 * Added %format_uris registry for parsers and serializers.
640 * Added RDF::Trine::Model::as_string method.
641 * Require XML::LibXML 1.70.
642 * Removed unused variable in RDF::Trine::Parser::RDFXML.
643 * Added character encoding declaration to RDF::Trine::Iterator::Bindings->print_xml.
644 * Added character encoding declaration to RDF::Trine::Iterator::Boolean->print_xml.
645
646 Version 0.124 (2010-06-21)
647
648 * Updated quality value heuristics in RDF::Trine::Serializer::negotiate to prefer turtle if no accept headers are supplied.
649 * Added ability for RDF::Trine::Store::Memory to load RDF files by URI in _new_with_string.
650 * Added default implementation of RDF::Trine::Serializer::serialize_iterator_to_file.
651 * RDF::Trine::Serializer::negotiate now slightly prefers turtle.
652 * Added RDF::Trine::Iterator->count method.
653 * Fixed RDF::Trine::Iterator::Bindings::as_string to respect $max_result_size argument.
654 * RDF::Trine::Iterator::Bindings::as_string now returns unescaped strings.
655 * Added ability to access the number of rows returned from RDF::Trine::Iterator::Bindings::as_string.
656 * Updated RDF::Trine::Parser::parse_url_into_model to fall back on file extension heuristics if the media-type based parse fails.
657 * Updated RDF::Trine::Parser::RDFJSON to throw an error if input isn't valid JSON.
658 * Updated RDF::Trine::Model to throw an error if not passed a store object.
659 * Added RDF::Trine::Model::Dataset for constructing views over a model, and RDF::Trine::Model->dataset_model constructor method.
660 * Fixed bug in handling of quads in RDF::Trine::Model::get_pattern and RDF::Trine::Store::get_pattern.
661 * Updated RDF::Trine::Store::DBI and RDF::Trine::Store::Memory to not return the default (nil) context from get_contexts.
662 * Fixed bug in RDF::Trine::Store::Memory::_get_statements_quad that would infinite loop after removing statements.
663 * RDF::Trine::Store doesn't load RDF::Redland (now only checks if it is already loaded).
664 * Fixed bug in RDF::Trine::Store subclasses registering their class names in %STORE_CLASSES.
665 * Added missing use of Encode to RDF::Trine::Store::Redland.
666 * Made $RDF::Trine::Store::Redland::NIL_TAG globally accessible.
667 * Added bin/rdf_transcode.pl for (streaming) conversion between RDF serialization formats.
668 * Updated POD tests to not use taint mode (and synced between R::T and R::Q).
669 * Changed test data in t/iterator-thaw.t.
670 * Removed RDF::Core as a prerequisite in META.yml.
671 * Added default implementation of RDF::Trine::Serializer::serialize_iterator_to_file.
672 * RDF::Trine::Serializer::negotiate now slightly prefers turtle.
673
674 Version 0.123 (2010-05-13)
675
676 * Added turtle utf8 decoding for Turtle parser.
677 * Added RDF::Trine::Serializer::media_types method.
678 * Added RDF::Trine::Store::new_with_object method.
679 * Fixed unicode encoding bug in RDF::Trine::Store::DBI.
680 * RDF::Trine::Serializer::NTriples::Canonical.pm now inherits from RDF::Trine::Serializer::NTriples.
681 * Cleaned up VERSION declarations.
682 * Updated RDF::Trine::Parser::parse_url_into_model to fall back on file extension heuristics if the media-type based parse fails.
683 * Updated RDF::Trine::Parser::RDFJSON to throw an error if input isn't valid JSON.
684 * Added character decoding to RDF::Trine::Parser->parse_url_into_model.
685
686 Version 0.122 (2010-05-05)
687
688 * Added RDF::Trine::Model::bounded_description method.
689 * Added initial implementation of a Redland-based storage class.
690 * Fixed SPARQL store tests to align with recent coverage efforts.
691 * Code cleanup and updates to improve test coverage.
692 * Rearranged POD in RDF::Trine::Parser.
693 * Fixed type in RDF::Trine::Node::Literal::_compare.
694
695 Version 0.121 (2010-04-29)
696
697 * Fixed URI qname code to disallow ':' in local name.
698 * Added node-centric methods to RDF::Trine::Model: subjects, predicates, objects.
699 * Improved POD for value canonicalization in RDF::Trine::Parser.
700 * Added POD for RDF::Trine::Model::get_contexts.
701 * Added POD details to RDF::Trine::Model::get_statements regarding triple and quad semantics.
702
703 Version 0.120 (2010-04-20)
704
705 * Added optional value canonicalization on parsing (xsd integer, decimal, and boolean).
706 * RDF/XML parser now attempts to canonicalize XMLLiterals (doesn't yet canonicalize all XMLLiterals that it shold).
707 * Added RDF::Trine::Node::Blank::_new constructor that doesn't validate bnode name for N-Triples conformance.
708 * Performance improvements to RDF::Trine::Node::_unicode_escape.
709 * Updated Turtle parser to throw error on undeclared namespace prefixes.
710 * Updated Turtle serializer to produce QName literal datatypes.
711
712 Version 0.119 (2010-04-15)
713
714 * Fixed bug in NTriples parser handling of language literals (reported by tobyink).
715 * Fixed another bug in turtle serializer that improperly serialized bnode objects 'belonging' to a parent triple (in-edge count of 1).
716
717 Version 0.118 (2010-03-22)
718
719 * Added RDF::Trine::Parser::TriG.
720 * Added RDF::Trine::Parser::parse_file_into_model method.
721 * Added RDF::Trine::Serializer::NQuads.
722 * Added RDF::Trine::Serializer::negotiate constructor.
723 * Added RDF::Trine::Serializer::new constructor based on requested serializer name.
724 * Added RDF::Trine::Exporter::CSV for serializing variable bindings.
725 * Added Text::CSV and HTTP::Negotiate to RDF::Trine prereq list.
726 * Fixed exception thrown on unrecognized parser name.
727 * Removed dependency list and added perlrdf link to POD in RDF::Trine and RDF::Query.
728 * Updated RDF::Trine::Serializer::Turtle->new API to take %args instead of \%namespaces.
729 * Updated RDF::Trine::Serializer::RDFXML to take %args and properly accept and serialize xmlns namespaces.
730 * Updated RDF::Trine::Parser::RDFa to use streaming parsing (instead of materializing the graph first).
731 * Updated RDF::Trine::Model::_debug to use quad semantics when getting statement iterator.
732 * Updated t/parser-turtle.t to use File::Glob::bsd_glob for cases where the test directory's path contains whitespace.
733 * Removed redundant parse_into_model methods from RDF::Trine::Parser subclasses.
734 * Renamed examples/create_store.pl to examples/foaf_labels.pl.
735 * Fixed bug in turtle serializer that improperly serialized bnode objects 'belonging' to a parent bnode.
736
737 Version 0.117 (2010-02-04)
738
739 * Fixed bug in RDF::Trine::Iterator::Bindings::as_json when using empty iterator.
740
741 Version 0.116 (2010-01-31)
742
743 * Fixed bug in RDF::Trine::Serializer::RDFXML when serializing empty models.
744
745 Version 0.115 (2010-01-30)
746
747 * Added N-Triples and N-Quads parsers.
748 * Added RDF::Trine::Store::SPARQL::get_pattern implementation.
749 * Changed RDF::Trine::Model::objects_for_predicate_list to return only a single node in scalar context.
750 * Added table alias for COUNT(*) queries in RDF::Trine::Store::DBI (fix for mysql).
751 * Added example of using parse_url_into_model to RDF::Trine::Parser SYNOPSIS.
752
753 Version 0.114 (2010-01-27)
754
755 * Added new Turtle serializer.
756 * Updated RDF/XML serializer grouping of same-subject statements for bounded descriptions.
757 * Updated parse_into_model parser methods to be both class and object methods.
758 * Updated Parser parse_* methods to take extra %args with optional 'context' value.
759 * Moved RDF::Trine::Store::Hexastore from alpha/ directory into RDF::Trine package.
760 * Added Storable to list of prereq modules.
761 * Added partial support for rdf:Lists to RDF::Trine::Serializer::Turtle.
762 * Added RDF::Trine::Namespace::uri_value method.
763 * Updated unicode encoding and escaping in ::Node, ::Node::Literal, and ::Store::DBI.
764 * Added variable() shortcut function to RDF::Trine package.
765 * Updated RDF::Trine::Graph to materialize statements when constructed with a graph iterator.
766 * Moved get_pattern logic from ::Store to ::Model.
767 * Updated ::Model::Union to work better with ::Model::get_pattern.
768 * Updated Node and Statement from_sse methods to work with constant string arguments.
769 * Updated code and tests for better coverage.
770 * Removed unused RDF::Trine::Iterator::sfinally function.
771 * Fixed bug in RDF::Trine::Graph::equals.
772 * Added UnimplementedError exception class.
773
774 Version 0.113 (2009-12-30)
775
776 * Added RDF::Trine::Parser::RDFa implementation to connect with RDF::RDFa::Parser.
777 * Added ability to pass RDF::Trine::Node::Resource values as the datatype argument to RDF::Trine::Node::Literal::new().
778 * Special-cased 'xsd' in RDF::Trine::Namespace to return the RDF-version of the namespace URI (with trailing '#').
779 * Added syntax shortcuts as exportable from RDF::Trine: iri(), blank(), and literal().
780 * Added RDF::Trine::Serializer base class.
781 * Fixed syntax error in generated RDF/XML in RDF::Trine::Serializer::RDFXML.
782 * Fixed bug in RDF::Trine::Serializer::RDFXML that was dropping triples.
783 * Added RDF::Trine::Parser::parse_url_into_model class method.
784 * Updated parser classes' registration of parser names and media types.
785 * Added RDF::Trine::Model::size method.
786 * Removed ::Parser::Error package. Replaced with use of RDF::Trine::Error.
787 * Convert data to utf8 encoding before hashing in RDF::Trine::Store::DBI::_mysql_hash_pp.
788 * Added RDF::Trine::Model::objects_for_predicate_list method.
789 * Removed RDF::Trine::Serializer::RDFXML::_split_predicate and replaced with call to $pred->qname.
790 * Added RDF::Trine::Node::Resource::qname method to split an IRI into namespace and local parts.
791 * Added RDF::Trine::Serializer::NTriples::Canonical (from tobyink).
792 * Added RDF::Trine::Iterator::Bindings::as_statements to return a graph iterator.
793 * Updated POD for ::Model::get_pattern to mention 'orderby' argument.
794 * Updated ::Model::as_stream to return a graph iterator sorted by (s,p,o).
795 * Updated RDF/XML serializer to merge same-subject rdf:Descriptions.
796
797 Version 0.112 (2009-12-12)
798
799 * Skip some failing tests when RDF::Trine::Node::Literal::XML is loaded.
800 * Added RDF/XML serializer.
801 * Added serialize_iterator_to_file and serialize_iterator_to_string methods to NTriples serializer.
802 * Added _serialize_bounded_description method to NTriples serializer.
803 * Added RDF::Trine::Parser::RDFJSON package (patch from tobyink).
804 * Added RDF::Trine::Serializer::RDFJSON package (patch from tobyink).
805 * Added add_hashref and as_hashref methods to RDF::Trine::Model (patch from tobyink).
806 * Added tests for RDF/JSON parsing/serializing (patch from tobyink).
807 * Updated RDF::Trine docs to mention the RDF/XML parser (good catch by tobyink).
808 * Added logging code to RDF::Trine::Store::DBI.
809 * Changed ::Store::DBI::get_statements to skip (with warning) past ill-formed statements with IDs that don't appear in any of the value tables.
810 * Updated RDF::Trine::Serializer::NTriples to call as_ntriples on node objects during serialization.
811 * Added as_ntriples methods to RDF::Trine::Node and subclasses for proper NTriples formatting.
812 * Updated bin/rdf_store_serialize.pl to print in NTriples format.
813
814 Version 0.111 (2009-07-14)
815
816 * Added RDF::Trine::Graph for testing graph equality.
817 * Added node_names() method to ::Statement and ::Statement::Quad.
818 * Added RDF::Trine::Statement::has_blanks method.
819 * Fixed bug in RDF::Trine::Namespace to allow subclassing.
820 * Removed dependency on Test::JSON, List::MoreUtils, and XML::Parser.
821 * Added POD to RDF::Trine::Parser.
822 * RDF::Trine::Store::temporary_store now delegates to RDF::Trine::Store::DBI.
823 * Removed unnecessary call to blessed() in RDF::Trine::Statement.
824 * Removed unused RDF::Trine::Promise class.
825 * RDF::Trine now loads RDF::Trine::Store.
826 * Removed TODO labeling of tests in t/model-filter.t.
827
828 Version 0.110 (2009-03-14)
829
830 * Added RDF::Trine::Store base class with default implementation of get_pattern().
831 * Updated bin/rdf_store_add_file.pl to use the RDF::Trine parser, not Redland's parser.
832 * Added POD description to RDF::Trine package.
833 * Updated VERSION variables to 0.109 (forgotten during the last release).
834 * Updated ::Iterator::Bindings::as_string to join lines with empty string (had been returning a list).
835 * Added debug tracing code to ::Store::DBI.
836 * Updated schema in ::Store::DBI::mysql to use utf8 charset and collation, and use a pkey instead of a unique.
837 * RDF::Trine::Store::get_pattern now passes through optional @args (used for order-by).
838 * Fixed bug in ::Store::DBI::remove_statements causing bad SQL when all nodes are undef (remove all triples).
839 * ::Node::Literal::new now calls ::Node::Literal::XML::new if available and applicable.
840
841 Version 0.109 (2008-11-14)
842
843 * Removed incremental parsing code from RDF-Trine package.
844 * Added POD to from_sse methods in ::Node and ::Statement.
845 * Added parsing of variables to RDF::Trine::Node::from_sse.
846 * Small changes to ::Iterator and ::Trine::Node::Literal for efficiency.
847 * Whitespace updates to ::Trine::Node.
848 * Added SQLite-specific ::Store::DBI subclass so that indexes are created properly.
849 * Fixed bug in RDF::Trine::Iterator::Bindings::print_xml that dropped every other row.
850 * Updated RDF::Trine::Node::Resource to work with URI objects.
851 * rdf_parse_turtle.pl now warns on any parser error.
852 * RDF::Trine::Node::Resource now escapes unicode in base URIs (now just relative URI part) before calling URI->new_abs.
853 * Turtle parser now makes universal IDs for all blank node (even those with given IDs like _:xyz).
854 * Fixed Unicode unescaping in Turtle parser's handling of string literals.
855 * Turtle parser now doesn't modify the lexical value of numeric typed literals.
856 * Fixed ::Store::DBI handling of Quads in get_statements (had been broken because RDF::Query bypasses it by using get_pattern).
857 * Fixed bug in ::Iterator::Bindings::print_xml that would drop every other result.
858 * Updated VERSION numbers and docs for RDF::Trine for 0.109_01 candidate release.
859 * ::Store::DBI now throws an error if call to DBI->connect doesn't return a database handle.
860 * ::Iterator::Bindings::as_string now returns '' when there are no rows (instead of dying).
861 * Added $IGNORE_CLEANUP to ::Store::DBI to allow preventing DBI cleanup.
862 * ::Store::DBI now throws an error if call to DBI->connect doesn't return a database handle.
863 * ::Iterator::Bindings::as_string now returns '' when there are no rows (instead of dying).
864 * Moved all debugging over to use Log::Log4perl.
865 * Updated prerequisite list (removed Digest::SHA1 and XML::Parser, and added missing modules).
866
867 Version 0.108 (2008-07-14)
868
869 * Added NTriples serializer module.
870 * Added POD to RDF::Trine::Promise.
871 * Added XML::Parser to list of required modules.
872 * Added a peek method to ::Iterator to support execution deferment like in ::Algebra::Service.
873 * Added RDF::Trine::Promise for general computation deferment.
874 * Added print_xml method to RDF::Trine::Iterator classes.
875 * Added support for Postgres storage.
876 * Added XML::LibXML::SAX as a prerequisite (because XML::SAX::PurePerl can't handle some RDF/XML that uses unicode).
877 * Replaced RDF::Core-based RDF/XML parser with a new XML::SAX based parser.
878 * Removed now unused redland-based RDF/XML test data.
879 * Removed unused redland fallback code from RDF::Query::Model::RDFTrine.
880 * Removed redland-based RDF/XML parser tests.
881 * Updated Turtle grammar to accept uppercase language tags.
882 * Fixed COLLECTION support in RDF/XML parser.
883 * Fixed RDF/XML parser for nodeID, sequence, reification, and base URI handling.
884 * Fixed POD in NTriples serializer.
885 * Fixed RDF/XML parser to handle nodeID, arbitrary xml attributes, parseType="Literal" serialization, and base URI handling.
886 * Normlized expected NTriples data in W3C RDF/XML test files.
887 * Added unicode escaping to Literal and Resource sse serialization.
888 * Added W3C RDF/XML data and test script.
889 * Fixes to deferring XML serialization for SPARQL bindings.
890 * Fixed bug in delaying XML serialization for identity hints header computation.
891 * Fixed extra data following xml query results.
892 * Fixed strict refs bug in print_xml in iterator classes.
893 * Updated tests that started failing after the previous commit (affecting SQL-compilation).
894 * Allow equality test and disjunction filters in patterns that can be compiled to SQL.
895 * Fix bug in SQL compilation when restricting left-joins to specific node types (based on functions like isIRI).
896 * Added support to the DBI store for filters for equality tests.
897 * Mysql store schema now adds indexes.
898 * Improved use of temporary RDF::Trine stores in RDF::Query tests.
899 * DBI temporary stores now use an in-memory SQLite database.
900 * Fixed bug in RDF::Trine::Store::DBI::mysql (calling _mysql_hash() without qualifying it in the superclass).
901 * Fixed variable ordering bug in UNION to SQL handling by forcing a sorted projection order.
902 * Added support to compile normalized UNION (can only be the top-level node or a child of another UNION) patterns to SQL.
903 * Made SQL more standards compliant.
904 * RDF::Trine::Store::DBI now auto-upgrades to mysql and postgres classes.
905 * Fixed unicode escaping by replacing Unicode::Escape calls to hand-rolled code in RDF::Trine::Node.
906 * RDF/XML parser now accept more than one top-level resource.
907 * RDF/XML parser now accepts URI objects as base uri (not just RDF::Trine::Node::Resource objects).
908 * Added tabular as_string serialization of ::Iterator::Bindings objects.
909 * Added Text::Table as a prerequisite.
910 * Fixed RDF/XML parser handling of strings (versus file handles).
911 * Fixed Turtle parser to properly keep '+' on integer literals.
912 * Fixed bindings_count so it doesn't pull a result from the stream (basing the count on binding_names).
913 * Fixed bindings xml serialization whitespace formatting.
914 * Cleaned up ::Iterator::Bindings::as_string serialization code.
915 * Replaced use of splice() with shift() in ::Iterator::SAXHandler::pull_result.
916
917 Version 0.107 (2008-04-25)
918
919 * Added Digest::SHA1 as a requirement for RDF::Trine.
920 * Fixed base URI use in Turtle parser.
921 * Fixed SQLite DSN in example scripts.
922 * Fixed XML whitespace error in iterator-thaw.t
923
924 Version 0.106 (2008-04-19)
925
926 * Added a mysql-specific RDF::Trine::Store class (now uses INSERT IGNORE for efficiency).
927 * SQL compiler now doesn't select statement contexts unless called via get_statements (not get_pattern).
928 * RDF::Trine::Iterator::Graph::as_bindings now can be called with no arguments (uses default names).
929 * Moved the nested hash join from ::Iterator to ::Iterator::Bindings.
930 * Added new tests to improve coverage of node and iterator classes.
931 * Added tests for binding iterator cartesian product join.
932 * Pipelined the code for nested loop joins on binding iterators.
933 * Added SPARQL XML Results test for identity hints in <link/> element.
934 * Fixed bug in ::Model::StatementFilter to call join_steams in ::Iterator::Bindings.
935 * Fixed bug in ::Iterator::Graph::as_bindings where not all arguments are ::Node::Variable objects.
936 * Updated SPARQL XML Results namespace for boolean iterators.
937 * Replaced XML::Twig code with new XML::SAX parser (allowing streaming parsing).
938 * Moved as_sparql methods from RDF::Trine:: to RDF::Query:: classes.
939 * RDF::Trine::Iterator::smap now allows overriding default construct_args (e.g. binding names).
940 * Fixed RDF::Trine::Model::StatementFilter::get_pattern to project away unused variables (fixing a bug that caused joining to always fail).
941 * Updated example turtle parser to accept URLs as command line arguments.
942 * Turtle parser now removes dashes from the UUIDs used for blank node IDs.
943 * Added support to incrementally thaw an Iterator from an IO::Socket.
944 * Added RDF::Trine::Iterator::SAXHandler::rate method.
945 * Added Time::HiRes as prerequisite to META.yml and Makefile.PL.
946 * Updated all RDF::Trine modules to use consistent VERSION number for 0.106 release.
947 * Added examples directory (and an example script) to the RDF-Trine package.
948 * Removed Bloom::Filtere from the list of prerequisites (functionality has moved to RDF::Query).
949
950 Version 0.105 (2008-03-19)
951
952 * Removed use of File::Slurp in parser tests.
953
954 Version 0.104 (2008-03-14)
955
956 * Updated SPARQL XML Results namespace declaration in RDF::Trine::Iterator serialization methods.
957 * Added extra_result_data methods to add data to the XML Results <link/> header tag.
958 * RDF::Trine::Node::Resource now serializes to QName when passed valid namespace data.
959 * Fixed xml results serialization for style.
960
961 Version 0.103 (2008-03-10)
962
963 * Updated to recognize (renamed) RDF::Query::Expression class.
964
965 Version 0.102 (2008-03-07)
966
967 * Added length() method to Materialized bindings iterator class.
968 * Removed bloom filter construction from bindings iterator (RDF::Query code now does this itself).
969 * Fixed escaping of backslashes in Literal node serialization.
970
971 Version 0.101 (2008-03-04)
972
973 * Added an RDF/XML parser based on RDF::Core::Parser.
974 * Added Bloom filter support for Materialized bindings iterators.
975 * Fixed IRI workaround using the URI module.
976 * Turtle parser now uses Data::UUID for unique names.
977 * Fixed turtle parser bug for Verb testing.
978 * Added RDF::Trine::Statement::Quad::from_redland method.
979 * DBI store now constrains variable node types based on position in a statement.
980 * Added support for BOUND(), ISLITERAL(), ISURI() and ISIRI() functions in DBI store.
981
982 Version 0.100 (2008-02-18)
983
984 * Initial public release.
985
986 COPYRIGHT
987
988 Copyright (C) 2008-2010 Gregory Williams. All rights reserved.
989 This program is free software; you can redistribute it and/or
990 modify it under the same terms as Perl itself.
991
992 AUTHOR
993
994 Gregory Williams <[email protected]>
995