The URI is compacted using the specified prefixes. If no prefixes are specified the defaults are taken from default_prefixes which can be overriden by setting the global option "ldf_prefixes".

curie(resource, prefixes = default_prefixes())

Arguments

resource

A vector of ldf_resources

prefixes

A named character vector mapping from prefix to namespace

Value

A character vector of compact URIs.