Skip to contents

Record a derivation relationship that expresses that a target object has been derived from a source object. For use with DataONE, a best practice is to specify the subject and predicate as DataONE persistent identifiers ( If the objects are not known to DataONE, then local identifiers can be used, and these local identifiers may be promoted to DataONE PIDs when the package is uploaded to a DataONE member node.


recordDerivation(x, ...)

# S4 method for DataPackage
recordDerivation(x, sourceID, derivedIDs, ...)



a DataPackage object


Additional parameters


the identifier of the source object in the relationship


an identifier or list of identifiers of objects that were derived from the source


A derived relationship is created for each value in the list "objectIDs". For each derivedId, one statement will be added expressing that it was derived from the sourceId. The predicate is will be an RDF property (as a IRI) from the W3C PROV specification, namely, ""


if (FALSE) {
dp <- new("DataPackage")
recordDerivation(dp, "doi:1234/_030MXTI009R00_20030812.40.1",