Closed gothub closed 7 years ago
Added in commit 8d526e514be2f27a4efefb3d761d6fc0b5ac2737. In addition to the above
description of getTriples()
, this method also demotes
package object identifiers by removing any prefix to the subject or object of relationships that contain a package identifier, e.g. remove the DataONE 'resolve' URI.
The methods
createFromTriples()
andserializeRDF()
take the relationships contained in a DataPackage and serialize them into an RDF file (ORE resource map) that conforms to the DataONE package specificationAdd methods to support the inverse operation of parsing an RDF resource map and extracting the package relationships so that they can be loaded into a DataPackage. These methods will be added:
parseRDF()
ResourceMap
objectgetTriples()
ResourceMap
and return a representation that can be loaded into a DataPackage (i.e. triples in a data.frame)createFromTriples()
, which include, but not limited to: