The getTriples
method extracts the RDF relationships from a ResourceMap.
getTriples(x, ...)# S4 method for ResourceMap
getTriples(x, filter = TRUE, identifiers = list(), ...)
ResourceMap
Additional parameters (not yet implemented).
A logical
value. If TRUE, then DataONE packaging relationships are omitted.
A list of character
values of the identifiers of DataPackage members.
x A data.frame containing the relationships from the ResourceMap
The filter
argument causes DataONE packaging relationships to be removed.
A description of these can be viewed at https://purl.dataone.org/architecture/design/DataPackage.html.
The identifiers
parameter can contain a list of DataPackage members for which the
identifiers will be 'demoted', that is any relationship that has these identifiers as a
URL as the subject or object will be changed to the 'bare' identifier. The intent of these two parameter is to
transform the DataPackage to a 'local' state, so that it can be more easily updated locally.