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

rdflib-packageR Documentation

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.

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

Author(s)

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

Other contributors:

See Also

Useful links:


ropensci/rdflib documentation built on Jan. 19, 2024, 4:57 a.m.