rdf-vocab 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -4
  3. data/VERSION +1 -1
  4. data/lib/rdf/vocab/acl.rb +91 -89
  5. data/lib/rdf/vocab/as.rb +624 -622
  6. data/lib/rdf/vocab/bf2.rb +2241 -2239
  7. data/lib/rdf/vocab/bibframe.rb +2241 -2239
  8. data/lib/rdf/vocab/bibo.rb +943 -941
  9. data/lib/rdf/vocab/cc.rb +102 -100
  10. data/lib/rdf/vocab/cert.rb +107 -105
  11. data/lib/rdf/vocab/cnt.rb +92 -90
  12. data/lib/rdf/vocab/crm.rb +1793 -1791
  13. data/lib/rdf/vocab/datacite.rb +261 -263
  14. data/lib/rdf/vocab/dbo.rb +4307 -4305
  15. data/lib/rdf/vocab/dc.rb +665 -663
  16. data/lib/rdf/vocab/dc11.rb +109 -107
  17. data/lib/rdf/vocab/dcat.rb +373 -356
  18. data/lib/rdf/vocab/dcmitype.rb +91 -89
  19. data/lib/rdf/vocab/disco.rb +348 -346
  20. data/lib/rdf/vocab/doap.rb +304 -302
  21. data/lib/rdf/vocab/dwc.rb +2244 -2242
  22. data/lib/rdf/vocab/earl.rb +146 -144
  23. data/lib/rdf/vocab/ebucore.rb +4945 -4941
  24. data/lib/rdf/vocab/edm.rb +310 -308
  25. data/lib/rdf/vocab/exif.rb +777 -775
  26. data/lib/rdf/vocab/extensions.rb +2 -2
  27. data/lib/rdf/vocab/fcrepo4.rb +307 -305
  28. data/lib/rdf/vocab/foaf.rb +525 -523
  29. data/lib/rdf/vocab/geo.rb +34 -32
  30. data/lib/rdf/vocab/geojson.rb +66 -64
  31. data/lib/rdf/vocab/geonames.rb +3656 -3654
  32. data/lib/rdf/vocab/gr.rb +1204 -1202
  33. data/lib/rdf/vocab/gs1.rb +5881 -5879
  34. data/lib/rdf/vocab/ht.rb +194 -192
  35. data/lib/rdf/vocab/hydra.rb +439 -437
  36. data/lib/rdf/vocab/iana.rb +215 -213
  37. data/lib/rdf/vocab/ical.rb +726 -724
  38. data/lib/rdf/vocab/identifiers.rb +219 -217
  39. data/lib/rdf/vocab/iiif.rb +132 -130
  40. data/lib/rdf/vocab/jsonld.rb +205 -203
  41. data/lib/rdf/vocab/ldp.rb +193 -191
  42. data/lib/rdf/vocab/lrmi.rb +188 -186
  43. data/lib/rdf/vocab/ma.rb +318 -316
  44. data/lib/rdf/vocab/mads.rb +670 -668
  45. data/lib/rdf/vocab/marcrelators.rb +543 -541
  46. data/lib/rdf/vocab/mo.rb +1823 -1821
  47. data/lib/rdf/vocab/mods.rb +636 -634
  48. data/lib/rdf/vocab/nfo.rb +482 -480
  49. data/lib/rdf/vocab/oa.rb +333 -331
  50. data/lib/rdf/vocab/og.rb +198 -196
  51. data/lib/rdf/vocab/ogc.rb +43 -41
  52. data/lib/rdf/vocab/ore.rb +79 -77
  53. data/lib/rdf/vocab/org.rb +322 -320
  54. data/lib/rdf/vocab/pcdm.rb +73 -71
  55. data/lib/rdf/vocab/pplan.rb +97 -95
  56. data/lib/rdf/vocab/premis.rb +903 -901
  57. data/lib/rdf/vocab/premiseventtype.rb +143 -141
  58. data/lib/rdf/vocab/prov.rb +1360 -1358
  59. data/lib/rdf/vocab/ptr.rb +147 -145
  60. data/lib/rdf/vocab/rdau.rb +9447 -9438
  61. data/lib/rdf/vocab/rightsstatements.rb +123 -121
  62. data/lib/rdf/vocab/rsa.rb +44 -42
  63. data/lib/rdf/vocab/rss.rb +46 -44
  64. data/lib/rdf/vocab/schema.rb +14700 -14698
  65. data/lib/rdf/vocab/schemas.rb +14700 -14698
  66. data/lib/rdf/vocab/sd.rb +165 -163
  67. data/lib/rdf/vocab/sh.rb +1096 -1094
  68. data/lib/rdf/vocab/sioc.rb +615 -613
  69. data/lib/rdf/vocab/siocservices.rb +49 -47
  70. data/lib/rdf/vocab/sioctypes.rb +224 -222
  71. data/lib/rdf/vocab/skos.rb +202 -200
  72. data/lib/rdf/vocab/skosxl.rb +51 -49
  73. data/lib/rdf/vocab/v.rb +233 -231
  74. data/lib/rdf/vocab/vcard.rb +776 -774
  75. data/lib/rdf/vocab/vmd.rb +233 -231
  76. data/lib/rdf/vocab/void.rb +145 -143
  77. data/lib/rdf/vocab/vs.rb +27 -25
  78. data/lib/rdf/vocab/wdrs.rb +112 -110
  79. data/lib/rdf/vocab/wot.rb +135 -133
  80. data/lib/rdf/vocab/xhtml.rb +4 -2
  81. data/lib/rdf/vocab/xhv.rb +208 -206
  82. data/lib/rdf/vocab/xkos.rb +220 -218
  83. data/lib/rdf/vocab.rb +2 -0
  84. metadata +14 -3
@@ -275,7 +275,7 @@ module RDF
275
275
 
276
276
  po.each do |predicate, objects|
277
277
  term = jld_context.compact_iri(predicate, vocab: true)
278
- node[term] = if jld_context.container(term) == '@language'
278
+ node[term] = if jld_context.container(term).include?('@language')
279
279
  lang_map = objects.inject({}) do |memo, o|
280
280
  raise "Language-mapped term #{term} with non plain-literal #{o.inspect}" unless o.literal? && o.plain?
281
281
  memo.merge(o.language.to_s => o.value)
@@ -499,7 +499,7 @@ module RDF
499
499
  "gen-vocab": {
500
500
  description: "Generate a vocabulary using a special serialization.",
501
501
  parse: false, # Only parse if there are input files, otherwise, uses vocabulary
502
- help: "gen-vocab --uri <vocabulary-URI> [--output format ttl|jsonld|html] [options] [files]\nGenerate a vocabulary from repository using a special serialization.",
502
+ help: "gen-vocab --uri <vocabulary-URI> [--output-format ttl|jsonld|html] [options] [files]\nGenerate a vocabulary from repository using a special serialization.",
503
503
  lambda: ->(files, **options) do
504
504
  $stdout.puts "Generate Vocabulary"
505
505
  raise ArgumentError, "Must specify vocabulary URI" unless options[:base_uri]