Description Usage Arguments Details Value See Also Examples
This is the constructor function for objects of the identifier
class.
1 | identifier(id, prefix = NA, blank = FALSE)
|
id |
|
prefix |
named |
blank |
optional |
An identifier in the semantic web is something that uniquely identifies
a resource. Identifiers can be represented as URI's (e.g.
<http://example.com/id>
), or as QNAME's (e.g. example:id
).
The Semantic Web model also allows for resources to be anonymous, via
so-called blank nodes. We use identifiers whose QNAME prefix is an
underscore (e.g. _:alice
).
RDF4R stores identifiers as lists with the following fields:
sample_id = list(
id = "57d68e07-8315-4b30-9a8e-57226fd815d7",
uri = "<http://openbiodiv.net/57d68e07-8315-4b30-9a8e-57226fd815d7>",
qname = "openbiodiv:id",
prefix = c(openbiodiv = "http://openbiodiv.net")
)
identifier
object (a type of list).
Other identifier functions: is.identifier
,
print.identifier
,
represent.identifier
1 2 3 4 5 6 7 8 9 10 11 12 | a = identifier(
id = "57d68e07-8315-4b30-9a8e-57226fd815d7",
prefix = c(openbiodiv = "http://openbiodiv.net")
)
b = identifier(
id = "alice",
blank = TRUE
)
a
b
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.