powered by
Coerce an object into RDF
as_rdf( x, rdf = NULL, prefix = NULL, base = getOption("rdf_base_uri", "localhost://"), context = NULL, key_column = NULL )
an object to coerce into RDF (list, list-like, or data.frame)
An existing rdf object, (by default a new object will be initialized)
A default vocabulary (URI prefix) to assume for all predicates
A base URI to assume for blank subject nodes
a named list mapping any string to a URI
name of a column which should be treated as the primary key in a table. must be unique
as_rdf(mtcars) as_rdf(list(repo = "rdflib", owner = list("id", "ropensci")))
Run the code above in your browser using DataLab