Software Open Access

ropensci/rdflib: rdflib: Tools to Manipulate and Query Semantic Data

Carl Boettiger; pdatascience; Katrin Leinweber

A friendly and consise user interface for performing common tasks on rdf data, such as parsing and converting between formats including rdfxml, turtle, nquads, ntriples, and trig, creating rdf graphs, and performing SPARQL queries. This package wraps the redland R package which provides direct bindings to the redland C library. Additionally, the package supports parsing and serialization of rdf into json-ld through the json-ld package, which binds the official json-ld javascript API. The package interface takes inspiration from the Python rdflib library.

Release Notes
  • 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 triplestore
  • print() method gains rdf_max_print() option and does not print huge triplestores
  • print() method sumarizes total number of triples and backend

Files (5.0 MB)
Name Size
5.0 MB Download
All versions This version
Views 9656
Downloads 142
Data volume 42.8 MB10.0 MB
Unique views 7543
Unique downloads 51


Cite as