Learn R Programming

rdflib (version 0.2.9)

rdflib-package: rdflib: Tools to Manipulate and Query Semantic Data

Description

The Resource Description Framework, or RDF is a widely used data representation model that forms the cornerstone of the Semantic Web. 'RDF' represents data as a graph rather than the familiar data table or rectangle of relational databases.

Arguments

Author

Maintainer: Carl Boettiger cboettig@gmail.com (ORCID) [copyright holder]

Other contributors:

Details

It has three main goals:

  • Easily read, write, and convert between all major RDF serialization formats

  • Support SPARQL queries to extract data from an RDF graph into a data.frame

  • Support JSON-LD format as a first-class citizen in RDF manipulations

For more information, see the Wikipedia pages for RDF, SPARQL, and JSON-LD:

To learn more about rdflib, start with the vignettes: browseVignettes(package = "rdflib")

Configurations via options()

rdf_print_format:

  • NULL or "nquads" (default)

  • any valid serializer name: e.g. "rdfxml", "jsonld", "turtle", "ntriples"

rdf_base_uri:

  • Default base URI to use (when serializing JSON-LD only at this time) default is "localhost://"

rdf_max_print:

  • maximum number of lines to print from rdf, default 10

See Also