This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creating an object via the build method DOES NOT create an rdf_subject and treates | |
# child nodes as b-nodes no matter what I do. | |
bag = Bag.new | |
@mf = bag.fileManifest | |
@mf.title = "uva_uva_lib_1229365" | |
@mf.uri = "https://s3.amazonaws.com/aptrust_test_bags/uva_uva_lib_1229365" | |
@fi = @mf.files.build( | |
id: "https://s3.amazonaws.com/aptrust_test_bags/uva_uva_lib_1229365" # I've tried it as RDF::URI.new and RDF::Resource.new too. | |
format: "text/plain", | |
uri: "https://s3.amazonaws.com/aptrust_test_bags/uva_uva_lib_1229365/bagit.txt", |
NewerOlder