rdf()
supports all major storage backends: Virtuoso, SQLite, Postgres, MySQL, in addition to existing support for BDB and memory-based storage.length()
method added to report length of triplestoreprint()
method gains rdf_max_print()
option and does not print huge triplestoresprint()
method sumarizes total number of triples and backendrdf()
supports BDB backend for disk-based storage for large triplestores #6rdf_parse()
gains an argument rdf
to append triples to existing graphc()
method to concatenate rdf
objectsrdf_query
now bypasses the very slow iteration over getNextResult
approach and uses an internal redland function call to access all results at once in csv format.
experimental as_rdf
method now uses a poor-man’s nquad serializer to rapidly generate rdf (instead of slowly iterating over add_rdf
).
rdf_add
argument for object
can now take all atomic types (numeric, integer, string, Date, POSIX, logical) and will automatically declare the appropriate datatype_uri
if the user has not manually specified this.
Numerous improvements to documentation from rOpenSci onboarding feedback, see #9 and #10
both functions and unit tests are broken out into separate files in their respective directories.
Additional example RDF data added in extdata
rdf_serialize
passes ...
arguments to serializeToFile (e.g. to set a baseUri
)
rdf_free()
will also remove the object from the parent frame, reducing the potential for crashing R by referring to a freed pointer.rdf_query()
now coerces data into appropriate type if it recognizes the data URI and can match that to an R type (a few XMLSchema types are recognized, otherwise still defaults to character string)turtle
parser/serializer fixedtrig
support removed (not working in redland without optional libraries and alternative compile configuration)NEWS.md
file to track changes to the package.