Description Usage Arguments Details Value Examples
If reqd
is left missing, all prefixes will be returned.
The individual prefixes may or may not end with ":". If they don't,
it will be added during function execution.
1 | prefix_serializer(prefixes, reqd = names(prefixes), lang = "SPARQL")
|
prefixes |
named character. Contains prefixes. Names are the prefixes. |
reqd |
a character vector of needed prefixes, can be missing, then take all. |
lang |
character. The serialization language. One of |
Note the base prefix should be denoted as "_base". Its seriazliation is then
PREFIX : partial_uri
prefix serialization.
1 2 3 4 5 6 7 | prefixes = c(
rdfs = "http://www.w3.org/2000/01/rdf-schema#",
foaf = "http://xmlns.com/foaf/0.1/",
openbiodiv = "http://openbiodiv.net/"
)
prefix_serializer(prefixes, reqd = c("rdfs", "openbiodiv"))
prefix_serializer(prefixes, reqd = c("rdfs", "openbiodiv"), lang = "Turtle")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.