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.
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")
NULL or "nquads" (default)
any valid serializer name: e.g. "rdfxml", "jsonld", "turtle", "ntriples"
Default base URI to use (when serializing JSON-LD only at this time) default is "localhost://"
maximum number of lines to print from rdf, default 10