getTriples {datapack} | R Documentation |
Get the RDF relationships stored in the ResourceMap.
Description
The getTriples
method extracts the RDF relationships from a ResourceMap.
Usage
getTriples(x, ...)
## S4 method for signature 'ResourceMap'
getTriples(x, filter = TRUE, identifiers = list(), ...)
Arguments
x |
ResourceMap |
... |
Additional parameters (not yet implemented). |
filter |
A |
identifiers |
A list of |
Details
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.
Value
x A data.frame containing the relationships from the ResourceMap