Description Usage Arguments Details Value Examples
View source: R/db-access-high-level.R
TODO : use the serializer from the RDF object and no need for the prefix argument
1 | add_data_factory(access_options, prefixes)
|
prefixes |
Wraps add_data
to simply submit a Turtle/Trig file to a triplestore
a function with one parameter, rdf_data
1 2 3 4 5 6 7 8 9 10 | ## Not run:
prefixes = c(rdfs = "<http://www.w3.org/2000/01/rdf-schema#>", foaf = "<http://xmlns.com/foaf/0.1/>", openbiodiv = "<http://openbiodiv.net/>")
ttl = "openbiodiv:test_context {
openbiodiv:test1 rdf:label 'sample lab'@en .
}"
add_data_to_graphdb = add_data_factory(access_options = graphdb, prefixes = prefixes)
add_data_to_graphdb(rdf_data = ttl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.