getTriples: Get the RDF relationships stored in the ResourceMap.

getTriplesR 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 logical value. If TRUE, then DataONE packaging relationships are omitted.

identifiers

A list of character values of the identifiers of DataPackage members.

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


datapack documentation built on June 11, 2022, 1:05 a.m.