ld4l-works_rdf 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +25 -0
  4. data/.travis.yml +14 -0
  5. data/CHANGES.md +3 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +22 -0
  8. data/README.md +170 -0
  9. data/Rakefile +2 -0
  10. data/ld4l-works_rdf.gemspec +42 -0
  11. data/lib/ld4l/works_rdf.rb +131 -0
  12. data/lib/ld4l/works_rdf/configuration.rb +41 -0
  13. data/lib/ld4l/works_rdf/models/bibframe/bibframe_identifier.rb +17 -0
  14. data/lib/ld4l/works_rdf/models/bibframe/bibframe_instance.rb +23 -0
  15. data/lib/ld4l/works_rdf/models/bibframe/bibframe_organization.rb +16 -0
  16. data/lib/ld4l/works_rdf/models/bibframe/bibframe_person.rb +16 -0
  17. data/lib/ld4l/works_rdf/models/bibframe/bibframe_place.rb +16 -0
  18. data/lib/ld4l/works_rdf/models/bibframe/bibframe_provider.rb +18 -0
  19. data/lib/ld4l/works_rdf/models/bibframe/bibframe_title.rb +18 -0
  20. data/lib/ld4l/works_rdf/models/bibframe/bibframe_work.rb +16 -0
  21. data/lib/ld4l/works_rdf/models/bibo/bibo_book.rb +19 -0
  22. data/lib/ld4l/works_rdf/models/bibo/bibo_document.rb +14 -0
  23. data/lib/ld4l/works_rdf/models/bibo/vivo_authorship.rb +15 -0
  24. data/lib/ld4l/works_rdf/models/bibo/vivo_book.rb +18 -0
  25. data/lib/ld4l/works_rdf/models/generic_work.rb +13 -0
  26. data/lib/ld4l/works_rdf/models/schema/oclc_schema_book.rb +16 -0
  27. data/lib/ld4l/works_rdf/models/schema/schema_book.rb +23 -0
  28. data/lib/ld4l/works_rdf/models/schema/schema_person.rb +17 -0
  29. data/lib/ld4l/works_rdf/models/schema/schema_publisher.rb +15 -0
  30. data/lib/ld4l/works_rdf/models/work_metadata.rb +212 -0
  31. data/lib/ld4l/works_rdf/services/attempt_generic_metadata_extraction.rb +41 -0
  32. data/lib/ld4l/works_rdf/services/conversion_services/get_rdfxml_from_marcxml.rb +44 -0
  33. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.ErrorCodes.xqy +56 -0
  34. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXML-2-MADSRDF.xqy +1702 -0
  35. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXML-2-RecordInfoRDF.xqy +216 -0
  36. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXMLBIB-2-BIBFRAME.xqy +140 -0
  37. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXMLBIB-BFUtils.xqy +3287 -0
  38. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MBIB-2-BIBFRAME-Shared.xqy +4112 -0
  39. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MBIB-Default-2-BF.xqy +61 -0
  40. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MBIB-NotatedMusic-2-BF.xqy +105 -0
  41. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXML-2-ExhibitJSON.xqy +119 -0
  42. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXML-2-JSON.xqy +193 -0
  43. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXML-2-Ntriples.xqy +276 -0
  44. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXMLnested-2-flat.xqy +380 -0
  45. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/ml.xqy +239 -0
  46. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/saxon.xqy +134 -0
  47. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/zorba.xqy +359 -0
  48. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/zorba2-0.xqy +249 -0
  49. data/lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/zorba3-0.xqy +362 -0
  50. data/lib/ld4l/works_rdf/services/conversion_services/saxon/saxon9he.jar +0 -0
  51. data/lib/ld4l/works_rdf/services/get_metadata_from_marcxml_uri.rb +43 -0
  52. data/lib/ld4l/works_rdf/services/get_metadata_from_oclc_uri.rb +25 -0
  53. data/lib/ld4l/works_rdf/services/get_metadata_from_solr_query.rb +29 -0
  54. data/lib/ld4l/works_rdf/services/get_metadata_from_vivo_uri.rb +25 -0
  55. data/lib/ld4l/works_rdf/services/get_model_from_uri.rb +62 -0
  56. data/lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_bibframe_models.rb +60 -0
  57. data/lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_bibo_model.rb +42 -0
  58. data/lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_generic_model.rb +41 -0
  59. data/lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_oclc_model.rb +42 -0
  60. data/lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_solr_doc.rb +67 -0
  61. data/lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_vivo_model.rb +45 -0
  62. data/lib/ld4l/works_rdf/services/metadata_services/set_error_in_metadata.rb +27 -0
  63. data/lib/ld4l/works_rdf/services/model_services/populate_bibframe_models_from_repository.rb +46 -0
  64. data/lib/ld4l/works_rdf/services/model_services/populate_generic_model_from_repository.rb +30 -0
  65. data/lib/ld4l/works_rdf/services/model_services/populate_oclc_model_from_repository.rb +27 -0
  66. data/lib/ld4l/works_rdf/services/model_services/populate_vivo_model_from_repository.rb +27 -0
  67. data/lib/ld4l/works_rdf/services/negotiation_services/get_marcxml_from_uri.rb +35 -0
  68. data/lib/ld4l/works_rdf/services/negotiation_services/get_rdfxml_from_uri.rb +37 -0
  69. data/lib/ld4l/works_rdf/services/negotiation_services/get_solr_results_from_solr_query.rb +35 -0
  70. data/lib/ld4l/works_rdf/services/negotiation_services/get_turtle_from_uri.rb +37 -0
  71. data/lib/ld4l/works_rdf/services/negotiation_services/response_header.rb +51 -0
  72. data/lib/ld4l/works_rdf/services/repository_services/populate_graph_from_rdfxml.rb +22 -0
  73. data/lib/ld4l/works_rdf/services/repository_services/populate_graph_from_turtle.rb +21 -0
  74. data/lib/ld4l/works_rdf/services/repository_services/populate_repository_from_graph.rb +25 -0
  75. data/lib/ld4l/works_rdf/version.rb +5 -0
  76. data/lib/ld4l/works_rdf/vocab/bf.rb +29 -0
  77. data/lib/ld4l/works_rdf/vocab/bgn.rb +5 -0
  78. data/lib/ld4l/works_rdf/vocab/bibo.rb +10 -0
  79. data/lib/ld4l/works_rdf/vocab/library.rb +6 -0
  80. data/lib/ld4l/works_rdf/vocab/vitro.rb +5 -0
  81. data/lib/ld4l/works_rdf/vocab/vivo.rb +11 -0
  82. data/spec/ld4l/works_rdf/configuration_spec.rb +166 -0
  83. data/spec/ld4l/works_rdf/models/books/vivo_book_rdf_spec.rb +267 -0
  84. data/spec/ld4l/works_rdf/services/get_metadata_from_uri_spec.rb +39 -0
  85. data/spec/ld4l/works_rdf/services/get_model_from_uri_spec.rb +34 -0
  86. data/spec/ld4l/works_rdf_spec.rb +53 -0
  87. data/spec/spec_helper.rb +26 -0
  88. metadata +321 -0
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'LD4L::WorksRDF::GetMetadataFromURI' do
4
+
5
+ describe "#call" do
6
+ xit "should return nil if no triples found for uri" do
7
+ end
8
+
9
+ xit "should return nil when triples don't match any of the available models" do
10
+ end
11
+
12
+ it "should return instance of VivoWork when URI is from VIVO" do
13
+ # uri = "http://vivo.cornell.edu/individual/n56611/n56611.ttl"
14
+ uri = "http://vivo.cornell.edu/individual/n56611"
15
+ the_work = LD4L::WorksRDF::GetModelFromURI.call(uri)
16
+ the_metadata = LD4L::WorksRDF::GetMetadataFromVivoURI.call(uri)
17
+
18
+ expect(the_metadata).to be_kind_of LD4L::WorksRDF::WorkMetadata
19
+ expect(the_metadata.work_type).to eq :BOOK
20
+ expect(the_metadata.model).to be_kind_of LD4L::WorksRDF::VivoBook
21
+ expect(the_metadata.rdf_types).to include RDFVocabularies::BIBO.Book
22
+ expect(the_metadata.title).to eq the_work.label.first
23
+ end
24
+
25
+ it "should return instance of SchemaWork when URI is from Worldcat OCLC" do
26
+ # uri = "http://vivo.cornell.edu/individual/n56611/n56611.ttl"
27
+ uri = "http://www.worldcat.org/oclc/276976"
28
+ the_work = LD4L::WorksRDF::GetModelFromURI.call(uri)
29
+ the_metadata = LD4L::WorksRDF::GetMetadataFromOclcURI.call(uri)
30
+
31
+ expect(the_metadata).to be_kind_of LD4L::WorksRDF::WorkMetadata
32
+ expect(the_metadata.work_type).to eq :BOOK
33
+ expect(the_metadata.model).to be_kind_of LD4L::WorksRDF::SchemaBook
34
+ expect(the_metadata.rdf_types).to include RDF::SCHEMA.Book
35
+ expect(the_metadata.title).to eq the_work.title.first
36
+ end
37
+
38
+ end
39
+ end
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'LD4L::WorksRDF::GetModelFromURI' do
4
+
5
+ describe "#call" do
6
+ xit "should return nil if no triples found for uri" do
7
+ end
8
+
9
+ xit "should return nil when triples don't match any of the available models" do
10
+ end
11
+
12
+ it "should return instance of VivoBook when URI is from VIVO" do
13
+ # uri = "http://vivo.cornell.edu/individual/n56611/n56611.ttl"
14
+ uri = "http://vivo.cornell.edu/individual/n56611"
15
+ generic_work = LD4L::WorksRDF::GetModelFromURI.call(uri)
16
+
17
+ expect(generic_work).to be_kind_of LD4L::WorksRDF::VivoBook
18
+ expect(generic_work.type).to include RDFVocabularies::BIBO.Book
19
+ expect(generic_work.rdf_subject.to_s).to eq uri
20
+ end
21
+
22
+ it "should return instance of SchemaBook when URI is from Worldcat OCLC" do
23
+ # uri = "http://vivo.cornell.edu/individual/n56611/n56611.ttl"
24
+ uri = "http://www.worldcat.org/oclc/276976"
25
+ generic_work = LD4L::WorksRDF::GetModelFromURI.call(uri)
26
+
27
+ expect(generic_work).to be_kind_of LD4L::WorksRDF::SchemaBook
28
+ expect(generic_work.type).to include RDF::SCHEMA.Book
29
+ expect(generic_work.rdf_subject.to_s).to eq uri
30
+ end
31
+
32
+
33
+ end
34
+ end
@@ -0,0 +1,53 @@
1
+ require "spec_helper"
2
+
3
+ describe "LD4L::WorksRDF" do
4
+ describe "#configure" do
5
+
6
+ before do
7
+ LD4L::WorksRDF.configure do |config|
8
+ config.base_uri = "http://localhost/test/"
9
+ config.localname_minter = lambda { |prefix=""| prefix+'_configured_'+SecureRandom.uuid }
10
+ end
11
+ class DummyWork < LD4L::WorksRDF::VivoBook
12
+ configure :type => RDFVocabularies::BIBO.Book, :base_uri => LD4L::WorksRDF.configuration.base_uri, :repository => :default
13
+ end
14
+ end
15
+ after do
16
+ LD4L::WorksRDF.reset
17
+ Object.send(:remove_const, "DummyWork") if Object
18
+ end
19
+
20
+ it "should return configured value" do
21
+ config = LD4L::WorksRDF.configuration
22
+ expect(config.base_uri).to eq "http://localhost/test/"
23
+ expect(config.localname_minter).to be_kind_of Proc
24
+ end
25
+
26
+ it "should use configured value in VivoBook sub-class" do
27
+ p = DummyWork.new('1')
28
+ expect(p.rdf_subject.to_s).to eq "http://localhost/test/1"
29
+
30
+ p = DummyWork.new(ActiveTriples::LocalName::Minter.generate_local_name(
31
+ LD4L::WorksRDF::VivoBook, 10, 'foo',
32
+ &LD4L::WorksRDF.configuration.localname_minter ))
33
+ expect(p.rdf_subject.to_s.size).to eq 73
34
+ expect(p.rdf_subject.to_s).to match /http:\/\/localhost\/test\/foo_configured_[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}/
35
+ end
36
+ end
37
+
38
+ describe ".reset" do
39
+ before :each do
40
+ LD4L::WorksRDF.configure do |config|
41
+ config.base_uri = "http://localhost/test/"
42
+ config.localname_minter = lambda { |prefix=""| prefix+'_configured_'+SecureRandom.uuid }
43
+ end
44
+ end
45
+
46
+ it "resets the configuration" do
47
+ LD4L::WorksRDF.reset
48
+ config = LD4L::WorksRDF.configuration
49
+ expect(config.base_uri).to eq "http://localhost/"
50
+ expect(config.localname_minter).to eq nil
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,26 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
4
+ require 'bundler/setup'
5
+ Bundler.setup
6
+
7
+ require 'ld4l/works_rdf'
8
+ require 'pry'
9
+
10
+ require 'coveralls'
11
+ Coveralls.wear!
12
+
13
+ Dir['./spec/support/**/*.rb'].each { |f| require f }
14
+
15
+ RSpec.configure do |config|
16
+ config.color = true
17
+ config.tty = true
18
+
19
+ # Uncomment the following line to get errors and backtrace for deprecation warnings
20
+ # config.raise_errors_for_deprecations!
21
+
22
+ # Use the specified formatter
23
+ config.formatter = :progress
24
+ end
25
+
26
+ ActiveTriples::Repositories.add_repository :default, RDF::Repository.new
metadata ADDED
@@ -0,0 +1,321 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ld4l-works_rdf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - E. Lynette Rayle
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rdf
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: active-triples
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: active_triples-local_name
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: active_triples-solrizer
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ld4l-foaf_rdf
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: curb
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry-byebug
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rdoc
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: coveralls
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: guard-rspec
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '>='
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: webmock
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - '>='
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ description: LD4L Works RDF provides tools for modeling a bibliographic works as triples
196
+ based on multiple ontologies and persisting to a triplestore.
197
+ email:
198
+ - elr37@cornell.edu
199
+ executables: []
200
+ extensions: []
201
+ extra_rdoc_files:
202
+ - LICENSE.txt
203
+ - README.md
204
+ files:
205
+ - .coveralls.yml
206
+ - .gitignore
207
+ - .travis.yml
208
+ - CHANGES.md
209
+ - Gemfile
210
+ - LICENSE.txt
211
+ - README.md
212
+ - Rakefile
213
+ - ld4l-works_rdf.gemspec
214
+ - lib/ld4l/works_rdf.rb
215
+ - lib/ld4l/works_rdf/configuration.rb
216
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_identifier.rb
217
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_instance.rb
218
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_organization.rb
219
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_person.rb
220
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_place.rb
221
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_provider.rb
222
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_title.rb
223
+ - lib/ld4l/works_rdf/models/bibframe/bibframe_work.rb
224
+ - lib/ld4l/works_rdf/models/bibo/bibo_book.rb
225
+ - lib/ld4l/works_rdf/models/bibo/bibo_document.rb
226
+ - lib/ld4l/works_rdf/models/bibo/vivo_authorship.rb
227
+ - lib/ld4l/works_rdf/models/bibo/vivo_book.rb
228
+ - lib/ld4l/works_rdf/models/generic_work.rb
229
+ - lib/ld4l/works_rdf/models/schema/oclc_schema_book.rb
230
+ - lib/ld4l/works_rdf/models/schema/schema_book.rb
231
+ - lib/ld4l/works_rdf/models/schema/schema_person.rb
232
+ - lib/ld4l/works_rdf/models/schema/schema_publisher.rb
233
+ - lib/ld4l/works_rdf/models/work_metadata.rb
234
+ - lib/ld4l/works_rdf/services/attempt_generic_metadata_extraction.rb
235
+ - lib/ld4l/works_rdf/services/conversion_services/get_rdfxml_from_marcxml.rb
236
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.ErrorCodes.xqy
237
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXML-2-MADSRDF.xqy
238
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXML-2-RecordInfoRDF.xqy
239
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXMLBIB-2-BIBFRAME.xqy
240
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MARCXMLBIB-BFUtils.xqy
241
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MBIB-2-BIBFRAME-Shared.xqy
242
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MBIB-Default-2-BF.xqy
243
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.MBIB-NotatedMusic-2-BF.xqy
244
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXML-2-ExhibitJSON.xqy
245
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXML-2-JSON.xqy
246
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXML-2-Ntriples.xqy
247
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/modules/module.RDFXMLnested-2-flat.xqy
248
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/ml.xqy
249
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/saxon.xqy
250
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/zorba.xqy
251
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/zorba2-0.xqy
252
+ - lib/ld4l/works_rdf/services/conversion_services/marc2bibframe/xbin/zorba3-0.xqy
253
+ - lib/ld4l/works_rdf/services/conversion_services/saxon/saxon9he.jar
254
+ - lib/ld4l/works_rdf/services/get_metadata_from_marcxml_uri.rb
255
+ - lib/ld4l/works_rdf/services/get_metadata_from_oclc_uri.rb
256
+ - lib/ld4l/works_rdf/services/get_metadata_from_solr_query.rb
257
+ - lib/ld4l/works_rdf/services/get_metadata_from_vivo_uri.rb
258
+ - lib/ld4l/works_rdf/services/get_model_from_uri.rb
259
+ - lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_bibframe_models.rb
260
+ - lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_bibo_model.rb
261
+ - lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_generic_model.rb
262
+ - lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_oclc_model.rb
263
+ - lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_solr_doc.rb
264
+ - lib/ld4l/works_rdf/services/metadata_services/get_metadata_from_vivo_model.rb
265
+ - lib/ld4l/works_rdf/services/metadata_services/set_error_in_metadata.rb
266
+ - lib/ld4l/works_rdf/services/model_services/populate_bibframe_models_from_repository.rb
267
+ - lib/ld4l/works_rdf/services/model_services/populate_generic_model_from_repository.rb
268
+ - lib/ld4l/works_rdf/services/model_services/populate_oclc_model_from_repository.rb
269
+ - lib/ld4l/works_rdf/services/model_services/populate_vivo_model_from_repository.rb
270
+ - lib/ld4l/works_rdf/services/negotiation_services/get_marcxml_from_uri.rb
271
+ - lib/ld4l/works_rdf/services/negotiation_services/get_rdfxml_from_uri.rb
272
+ - lib/ld4l/works_rdf/services/negotiation_services/get_solr_results_from_solr_query.rb
273
+ - lib/ld4l/works_rdf/services/negotiation_services/get_turtle_from_uri.rb
274
+ - lib/ld4l/works_rdf/services/negotiation_services/response_header.rb
275
+ - lib/ld4l/works_rdf/services/repository_services/populate_graph_from_rdfxml.rb
276
+ - lib/ld4l/works_rdf/services/repository_services/populate_graph_from_turtle.rb
277
+ - lib/ld4l/works_rdf/services/repository_services/populate_repository_from_graph.rb
278
+ - lib/ld4l/works_rdf/version.rb
279
+ - lib/ld4l/works_rdf/vocab/bf.rb
280
+ - lib/ld4l/works_rdf/vocab/bgn.rb
281
+ - lib/ld4l/works_rdf/vocab/bibo.rb
282
+ - lib/ld4l/works_rdf/vocab/library.rb
283
+ - lib/ld4l/works_rdf/vocab/vitro.rb
284
+ - lib/ld4l/works_rdf/vocab/vivo.rb
285
+ - spec/ld4l/works_rdf/configuration_spec.rb
286
+ - spec/ld4l/works_rdf/models/books/vivo_book_rdf_spec.rb
287
+ - spec/ld4l/works_rdf/services/get_metadata_from_uri_spec.rb
288
+ - spec/ld4l/works_rdf/services/get_model_from_uri_spec.rb
289
+ - spec/ld4l/works_rdf_spec.rb
290
+ - spec/spec_helper.rb
291
+ homepage: https://github.com/ld4l/works_rdf
292
+ licenses:
293
+ - APACHE2
294
+ metadata: {}
295
+ post_install_message:
296
+ rdoc_options: []
297
+ require_paths:
298
+ - lib
299
+ required_ruby_version: !ruby/object:Gem::Requirement
300
+ requirements:
301
+ - - '>='
302
+ - !ruby/object:Gem::Version
303
+ version: 1.9.3
304
+ required_rubygems_version: !ruby/object:Gem::Requirement
305
+ requirements:
306
+ - - '>='
307
+ - !ruby/object:Gem::Version
308
+ version: '0'
309
+ requirements: []
310
+ rubyforge_project:
311
+ rubygems_version: 2.2.2
312
+ signing_key:
313
+ specification_version: 4
314
+ summary: Several RDF models for bibliographic works.
315
+ test_files:
316
+ - spec/ld4l/works_rdf/configuration_spec.rb
317
+ - spec/ld4l/works_rdf/models/books/vivo_book_rdf_spec.rb
318
+ - spec/ld4l/works_rdf/services/get_metadata_from_uri_spec.rb
319
+ - spec/ld4l/works_rdf/services/get_model_from_uri_spec.rb
320
+ - spec/ld4l/works_rdf_spec.rb
321
+ - spec/spec_helper.rb