cul_hydra 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. checksums.yaml +7 -0
  2. data/app/assets/images/cul_hydra/crystal/binary.png +0 -0
  3. data/app/assets/images/cul_hydra/crystal/document.png +0 -0
  4. data/app/assets/images/cul_hydra/crystal/file.png +0 -0
  5. data/app/assets/images/cul_hydra/crystal/file_broken.png +0 -0
  6. data/app/assets/images/cul_hydra/crystal/folder_documents.png +0 -0
  7. data/app/assets/images/cul_hydra/crystal/folder_images.png +0 -0
  8. data/app/assets/images/cul_hydra/crystal/folder_music.png +0 -0
  9. data/app/assets/images/cul_hydra/crystal/folder_sound.png +0 -0
  10. data/app/assets/images/cul_hydra/crystal/folder_video.png +0 -0
  11. data/app/assets/images/cul_hydra/crystal/kmultiple.png +0 -0
  12. data/app/assets/images/cul_hydra/crystal/knotify.png +0 -0
  13. data/app/assets/images/cul_hydra/crystal/mp3.png +0 -0
  14. data/app/assets/images/cul_hydra/crystal/multimedia2.png +0 -0
  15. data/app/assets/images/cul_hydra/crystal/video.png +0 -0
  16. data/app/assets/images/cul_hydra/filesystem/application.png +0 -0
  17. data/app/assets/images/cul_hydra/filesystem/code.png +0 -0
  18. data/app/assets/images/cul_hydra/filesystem/css.png +0 -0
  19. data/app/assets/images/cul_hydra/filesystem/db.png +0 -0
  20. data/app/assets/images/cul_hydra/filesystem/directory.png +0 -0
  21. data/app/assets/images/cul_hydra/filesystem/doc.png +0 -0
  22. data/app/assets/images/cul_hydra/filesystem/file.png +0 -0
  23. data/app/assets/images/cul_hydra/filesystem/film.png +0 -0
  24. data/app/assets/images/cul_hydra/filesystem/flash.png +0 -0
  25. data/app/assets/images/cul_hydra/filesystem/folder_open.png +0 -0
  26. data/app/assets/images/cul_hydra/filesystem/html.png +0 -0
  27. data/app/assets/images/cul_hydra/filesystem/java.png +0 -0
  28. data/app/assets/images/cul_hydra/filesystem/linux.png +0 -0
  29. data/app/assets/images/cul_hydra/filesystem/music.png +0 -0
  30. data/app/assets/images/cul_hydra/filesystem/pdf.png +0 -0
  31. data/app/assets/images/cul_hydra/filesystem/php.png +0 -0
  32. data/app/assets/images/cul_hydra/filesystem/picture.png +0 -0
  33. data/app/assets/images/cul_hydra/filesystem/ppt.png +0 -0
  34. data/app/assets/images/cul_hydra/filesystem/psd.png +0 -0
  35. data/app/assets/images/cul_hydra/filesystem/ruby.png +0 -0
  36. data/app/assets/images/cul_hydra/filesystem/script.png +0 -0
  37. data/app/assets/images/cul_hydra/filesystem/spinner.gif +0 -0
  38. data/app/assets/images/cul_hydra/filesystem/txt.png +0 -0
  39. data/app/assets/images/cul_hydra/filesystem/xls.png +0 -0
  40. data/app/assets/images/cul_hydra/filesystem/zip.png +0 -0
  41. data/app/controllers/concerns/cul/hydra/application_id_behavior.rb +43 -0
  42. data/app/controllers/concerns/cul/hydra/controller.rb +22 -0
  43. data/app/controllers/concerns/cul/hydra/resolver.rb +69 -0
  44. data/app/controllers/concerns/cul/hydra/thumbnails.rb +62 -0
  45. data/app/helpers/cul/hydra/ore_proxies_helper_behavior.rb +119 -0
  46. data/app/helpers/cul/hydra/struct_metadata_helper_behavior.rb +89 -0
  47. data/app/models/bag_aggregator.rb +7 -0
  48. data/app/models/concept.rb +23 -0
  49. data/app/models/concerns/cul/hydra/models.rb +24 -0
  50. data/app/models/concerns/cul/hydra/models/aggregator.rb +121 -0
  51. data/app/models/concerns/cul/hydra/models/common.rb +220 -0
  52. data/app/models/concerns/cul/hydra/models/image_resource.rb +106 -0
  53. data/app/models/concerns/cul/hydra/models/linkable_resources.rb +108 -0
  54. data/app/models/concerns/cul/hydra/models/resource.rb +87 -0
  55. data/app/models/concerns/nfo/common.rb +17 -0
  56. data/app/models/concerns/nfo/file_data_object.rb +10 -0
  57. data/app/models/concerns/nfo/folder.rb +10 -0
  58. data/app/models/concerns/nie/information_element.rb +10 -0
  59. data/app/models/concerns/ore/proxy.rb +124 -0
  60. data/app/models/concerns/rdf/cul.rb +77 -0
  61. data/app/models/concerns/rdf/fcrepo3.rb +360 -0
  62. data/app/models/concerns/rdf/nfo.rb +807 -0
  63. data/app/models/concerns/rdf/nie.rb +338 -0
  64. data/app/models/concerns/rdf/olo.rb +100 -0
  65. data/app/models/concerns/rdf/ore.rb +101 -0
  66. data/app/models/concerns/rdf/pimo.rb +605 -0
  67. data/app/models/concerns/rdf/sc.rb +47 -0
  68. data/app/models/concerns/sc/canvas.rb +12 -0
  69. data/app/models/concerns/sc/sequence.rb +21 -0
  70. data/app/models/content_aggregator.rb +3 -0
  71. data/app/models/cul/hydra/datastreams/dc_metadata.rb +107 -0
  72. data/app/models/cul/hydra/datastreams/mods_document.rb +195 -0
  73. data/app/models/cul/hydra/datastreams/struct_metadata.rb +176 -0
  74. data/app/models/dc_document.rb +39 -0
  75. data/app/models/generic_aggregator.rb +68 -0
  76. data/app/models/generic_object.rb +18 -0
  77. data/app/models/generic_resource.rb +210 -0
  78. data/app/models/jp2_image_aggregator.rb +34 -0
  79. data/app/models/mets_structured_aggregator.rb +18 -0
  80. data/app/models/resource.rb +78 -0
  81. data/app/models/resource_aggregator.rb +22 -0
  82. data/app/models/static_audio_aggregator.rb +12 -0
  83. data/app/models/static_image_aggregator.rb +32 -0
  84. data/bin/rails +12 -0
  85. data/config/fedora.yml +17 -0
  86. data/config/jetty.yml +6 -0
  87. data/config/locales/ldpd_hydra.en.yml +125 -0
  88. data/config/predicate_mappings.yml +79 -0
  89. data/config/solr.yml +8 -0
  90. data/config/solr_mappings.yml +26 -0
  91. data/config/solr_value_maps.yml +41 -0
  92. data/config/subs.yml +17 -0
  93. data/fixtures/cmodels/ldpd_ADLMetadata.xml +56 -0
  94. data/fixtures/cmodels/ldpd_AESMetadata.xml +56 -0
  95. data/fixtures/cmodels/ldpd_BagAggregator.xml +70 -0
  96. data/fixtures/cmodels/ldpd_Concept.xml +69 -0
  97. data/fixtures/cmodels/ldpd_ContentAggregator.xml +70 -0
  98. data/fixtures/cmodels/ldpd_DynamicAggregator.xml +56 -0
  99. data/fixtures/cmodels/ldpd_JP2ImageAggregator.xml +60 -0
  100. data/fixtures/cmodels/ldpd_METSMetadata.xml +56 -0
  101. data/fixtures/cmodels/ldpd_METSStructuredAggregator.xml +53 -0
  102. data/fixtures/cmodels/ldpd_MODSMetadata.xml +73 -0
  103. data/fixtures/cmodels/ldpd_MostRecent.xml +46 -0
  104. data/fixtures/cmodels/ldpd_PTIFImageAggregator.xml +63 -0
  105. data/fixtures/cmodels/ldpd_Resource.xml +72 -0
  106. data/fixtures/cmodels/ldpd_RestrictedResource.xml +54 -0
  107. data/fixtures/cmodels/ldpd_Since.xml +62 -0
  108. data/fixtures/cmodels/ldpd_StaticAudioAggregator.xml +54 -0
  109. data/fixtures/cmodels/ldpd_StaticImageAggregator.xml +71 -0
  110. data/fixtures/cmodels/ldpd_htest.xml +54 -0
  111. data/fixtures/cmodels/ldpd_nullbind.xml +63 -0
  112. data/fixtures/cmodels/ldpd_sdef.Aggregator.xml +71 -0
  113. data/fixtures/cmodels/ldpd_sdef.Core.xml +48 -0
  114. data/fixtures/cmodels/ldpd_sdef.Image.xml +47 -0
  115. data/fixtures/cmodels/ldpd_sdef.Metadata.xml +62 -0
  116. data/fixtures/cmodels/ldpd_sdef.Resource.xml +76 -0
  117. data/fixtures/cmodels/ldpd_sdef.ZoomingImage.xml +46 -0
  118. data/fixtures/cmodels/ldpd_sdep.BagAggregator.xml +160 -0
  119. data/fixtures/cmodels/ldpd_sdep.BagAggregatorCore.xml +221 -0
  120. data/fixtures/cmodels/ldpd_sdep.ContentAggregatorCore.xml +221 -0
  121. data/fixtures/cmodels/ldpd_sdep.DynamicAggregator.xml +171 -0
  122. data/fixtures/cmodels/ldpd_sdep.DynamicAggregatorCore.xml +215 -0
  123. data/fixtures/cmodels/ldpd_sdep.JP2Image.xml +220 -0
  124. data/fixtures/cmodels/ldpd_sdep.JP2ImageAggregator.xml +167 -0
  125. data/fixtures/cmodels/ldpd_sdep.JP2ImageCore.xml +229 -0
  126. data/fixtures/cmodels/ldpd_sdep.MODSMetadata.xml +158 -0
  127. data/fixtures/cmodels/ldpd_sdep.MODSMetadataCore.xml +227 -0
  128. data/fixtures/cmodels/ldpd_sdep.PTIFImage.xml +222 -0
  129. data/fixtures/cmodels/ldpd_sdep.PTIFImageAggregator.xml +167 -0
  130. data/fixtures/cmodels/ldpd_sdep.PTIFImageCore.xml +215 -0
  131. data/fixtures/cmodels/ldpd_sdep.StaticImage.xml +210 -0
  132. data/fixtures/cmodels/ldpd_sdep.StaticImageAggregator.xml +186 -0
  133. data/fixtures/cmodels/ldpd_sdep.StaticImageCore.xml +220 -0
  134. data/fixtures/cmodels/ore_Proxy.xml +50 -0
  135. data/fixtures/spec/BLOB/test001.jpg +0 -0
  136. data/fixtures/spec/CUL_DC/dc.xml +5 -0
  137. data/fixtures/spec/CUL_MODS/mods-001.xml +25 -0
  138. data/fixtures/spec/CUL_MODS/mods-all.xml +65 -0
  139. data/fixtures/spec/CUL_MODS/mods-bad-repo.xml +7 -0
  140. data/fixtures/spec/CUL_MODS/mods-date-created-range.xml +7 -0
  141. data/fixtures/spec/CUL_MODS/mods-date-created-single.xml +6 -0
  142. data/fixtures/spec/CUL_MODS/mods-date-end-with-all-u-characters.xml +7 -0
  143. data/fixtures/spec/CUL_MODS/mods-date-issued-range.xml +7 -0
  144. data/fixtures/spec/CUL_MODS/mods-date-issued-single.xml +6 -0
  145. data/fixtures/spec/CUL_MODS/mods-date-other-range.xml +7 -0
  146. data/fixtures/spec/CUL_MODS/mods-date-other-single.xml +6 -0
  147. data/fixtures/spec/CUL_MODS/mods-date-range-short-years.xml +7 -0
  148. data/fixtures/spec/CUL_MODS/mods-date-start-with-all-u-characters.xml +7 -0
  149. data/fixtures/spec/CUL_MODS/mods-dates-with-all-u-characters.xml +7 -0
  150. data/fixtures/spec/CUL_MODS/mods-dates-with-some-u-characters.xml +7 -0
  151. data/fixtures/spec/CUL_MODS/mods-item.xml +31 -0
  152. data/fixtures/spec/CUL_MODS/mods-names.xml +35 -0
  153. data/fixtures/spec/CUL_MODS/mods-notes.xml +8 -0
  154. data/fixtures/spec/CUL_MODS/mods-ns.xml +2 -0
  155. data/fixtures/spec/CUL_MODS/mods-origin-info.xml +9 -0
  156. data/fixtures/spec/CUL_MODS/mods-part.xml +22 -0
  157. data/fixtures/spec/CUL_MODS/mods-physical-description.xml +12 -0
  158. data/fixtures/spec/CUL_MODS/mods-physical-location.xml +9 -0
  159. data/fixtures/spec/CUL_MODS/mods-record-info.xml +4 -0
  160. data/fixtures/spec/CUL_MODS/mods-relateditem-project.xml +8 -0
  161. data/fixtures/spec/CUL_MODS/mods-subjects.xml +73 -0
  162. data/fixtures/spec/CUL_MODS/mods-textual-date.xml +8 -0
  163. data/fixtures/spec/CUL_MODS/mods-titles.xml +33 -0
  164. data/fixtures/spec/CUL_MODS/mods-top-level-location-vs-relateditem-location.xml +21 -0
  165. data/fixtures/spec/CUL_MODS/mods-unmapped-project.xml +7 -0
  166. data/fixtures/spec/CUL_SOLR/mods-001.xml +1 -0
  167. data/fixtures/spec/CUL_SOLR/mods-001.yml +30 -0
  168. data/fixtures/spec/FOXML/content-aggregator.xml +64 -0
  169. data/fixtures/spec/FOXML/content-cmodel.xml +48 -0
  170. data/fixtures/spec/FOXML/image-cmodel.xml +48 -0
  171. data/fixtures/spec/FOXML/resource-max.xml +83 -0
  172. data/fixtures/spec/FOXML/resource-screen.xml +273 -0
  173. data/fixtures/spec/FOXML/resource-thumb.xml +86 -0
  174. data/fixtures/spec/FOXML/static-image-aggregator.xml +31 -0
  175. data/fixtures/spec/STRUCTMAP/structmap-examples.xml +21 -0
  176. data/fixtures/spec/STRUCTMAP/structmap-nested.xml +10 -0
  177. data/fixtures/spec/STRUCTMAP/structmap-recto.xml +4 -0
  178. data/fixtures/spec/STRUCTMAP/structmap-seq.xml +5 -0
  179. data/fixtures/spec/STRUCTMAP/structmap-unordered-seq.xml +5 -0
  180. data/lib/cul_hydra.rb +20 -0
  181. data/lib/cul_hydra/access_controls_enforcement.rb +53 -0
  182. data/lib/cul_hydra/controllers.rb +13 -0
  183. data/lib/cul_hydra/controllers/aggregates.rb +93 -0
  184. data/lib/cul_hydra/controllers/aggregator_controller_helper.rb +27 -0
  185. data/lib/cul_hydra/controllers/catalog.rb +12 -0
  186. data/lib/cul_hydra/controllers/content_aggregators.rb +81 -0
  187. data/lib/cul_hydra/controllers/datastreams.rb +145 -0
  188. data/lib/cul_hydra/controllers/helpers.rb +10 -0
  189. data/lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb +9 -0
  190. data/lib/cul_hydra/controllers/helpers/application_helper_behavior.rb +16 -0
  191. data/lib/cul_hydra/controllers/helpers/dc_metadata_helper_behavior.rb +9 -0
  192. data/lib/cul_hydra/controllers/helpers/hydra_assets_helper_behavior.rb +46 -0
  193. data/lib/cul_hydra/controllers/helpers/hydra_autocomplete_helper_behavior.rb +35 -0
  194. data/lib/cul_hydra/controllers/helpers/hydra_uploader_helper_behavior.rb +34 -0
  195. data/lib/cul_hydra/controllers/helpers/resources_helper_behavior.rb +159 -0
  196. data/lib/cul_hydra/controllers/resources.rb +161 -0
  197. data/lib/cul_hydra/controllers/static_image_aggregators.rb +105 -0
  198. data/lib/cul_hydra/controllers/suggestions.rb +126 -0
  199. data/lib/cul_hydra/controllers/terms.rb +205 -0
  200. data/lib/cul_hydra/engine.rb +31 -0
  201. data/lib/cul_hydra/fedora.rb +41 -0
  202. data/lib/cul_hydra/fedora/dummy_object.rb +37 -0
  203. data/lib/cul_hydra/fedora/rubydora_patch.rb +16 -0
  204. data/lib/cul_hydra/fedora/url_helper_behavior.rb +32 -0
  205. data/lib/cul_hydra/indexer.rb +102 -0
  206. data/lib/cul_hydra/om.rb +7 -0
  207. data/lib/cul_hydra/om/standard_mods.rb +115 -0
  208. data/lib/cul_hydra/risearch_members.rb +92 -0
  209. data/lib/cul_hydra/solrizer.rb +10 -0
  210. data/lib/cul_hydra/solrizer/extractor.rb +27 -0
  211. data/lib/cul_hydra/solrizer/mods_fieldable.rb +473 -0
  212. data/lib/cul_hydra/solrizer/terminology_based_solrizer.rb +35 -0
  213. data/lib/cul_hydra/solrizer/value_mapper.rb +46 -0
  214. data/lib/cul_hydra/solrizer_patch.rb +172 -0
  215. data/lib/cul_hydra/version.rb +8 -0
  216. data/lib/cul_hydra/version.rb~ +8 -0
  217. data/lib/tasks/cmodel.rake +122 -0
  218. data/lib/tasks/cul_hydra_dev.rake +54 -0
  219. data/lib/tasks/index.rake +73 -0
  220. data/lib/tasks/transform.rake +23 -0
  221. metadata +503 -0
@@ -0,0 +1,338 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://www.semanticdesktop.org/ontologies/2007/01/19/nie
3
+ require 'rdf'
4
+ module RDF
5
+ class NIE < RDF::StrictVocabulary("http://www.semanticdesktop.org/ontologies/2007/01/19/nie")
6
+
7
+ # Class definitions
8
+ term :"#DataObject",
9
+ comment: %(A unit of data that is created, annotated and processed on the user desktop. It represents a native structure the user works with. The usage of the term 'native' is important. It means that a DataObject can be directly mapped to a data structure maintained by a native application. This may be a file, a set of files or a part of a file. The granularity depends on the user. This class is not intended to be instantiated by itself. Use more specific subclasses.).freeze,
10
+ label: "DataObject".freeze,
11
+ subClassOf: "rdfs:Resource".freeze,
12
+ type: "rdfs:Class".freeze
13
+ term :"#DataSource",
14
+ comment: %(A superclass for all entities from which DataObjects can be extracted. Each entity represents a native application or some other system that manages information that may be of interest to the user of the Semantic Desktop. Subclasses may include FileSystems, Mailboxes, Calendars, websites etc. The exact choice of subclasses and their properties is considered application-specific. Each data extraction application is supposed to provide it's own DataSource ontology. Such an ontology should contain supported data source types coupled with properties necessary for the application to gain access to the data sources. \(paths, urls, passwords etc...\)).freeze,
15
+ label: "DataSource".freeze,
16
+ subClassOf: "rdfs:Resource".freeze,
17
+ type: "rdfs:Class".freeze
18
+ term :"#InformationElement",
19
+ comment: %(A unit of content the user works with. This is a superclass for all interpretations of a DataObject.).freeze,
20
+ label: "InformationElement".freeze,
21
+ subClassOf: "rdfs:Resource".freeze,
22
+ type: "rdfs:Class".freeze
23
+ term :"#Mode",
24
+ comment: %(Representation for a standard set of device/application/service modes, corresponding to various sets of modes that are either inbuilt in a device \(e.g. inbuilt phone modes such as silent, loud, general, vibrate, etc.\) or available for applications and online services \(e.g. IM system modes such as busy, available, invisible, etc.\)).freeze,
25
+ label: "Mode".freeze,
26
+ type: "rdfs:Class".freeze
27
+
28
+ # Property definitions
29
+ property :"#byteSize",
30
+ comment: %(The overall size of the data object in bytes. That means the space taken by the DataObject in its container, and not the size of the content that is of interest to the user. For cases where the content size is different \(e.g. in compressed files the content is larger, in messages the content excludes headings and is smaller\) use more specific properties, not necessarily subproperties of this one.).freeze,
31
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
32
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
33
+ label: "byteSize".freeze,
34
+ range: "xsd:integer".freeze,
35
+ type: "rdf:Property".freeze
36
+ property :"#characterSet",
37
+ comment: %(Characterset in which the content of the InformationElement was created. Example: ISO-8859-1, UTF-8. One of the registered character sets at http://www.iana.org/assignments/character-sets. This characterSet is used to interpret any textual parts of the content. If more than one characterSet is used within one data object, use more specific properties.).freeze,
38
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
39
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
40
+ label: "characterSet".freeze,
41
+ range: "xsd:string".freeze,
42
+ type: "rdf:Property".freeze
43
+ property :"#comment",
44
+ comment: %(A user comment about an InformationElement.).freeze,
45
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
46
+ label: "comment".freeze,
47
+ range: "xsd:string".freeze,
48
+ type: "rdf:Property".freeze
49
+ property :"#contentCreated",
50
+ comment: %(The date of the content creation. This may not necessarily be equal to the date when the DataObject \(i.e. the physical representation\) itself was created. Compare with nie:created property.).freeze,
51
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
52
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
53
+ label: "contentCreated".freeze,
54
+ range: "xsd:dateTime".freeze,
55
+ subPropertyOf: ["http://www.semanticdesktop.org/ontologies/2007/01/19/nie#informationElementDate".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#created".freeze, "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentModified".freeze],
56
+ type: "rdf:Property".freeze
57
+ property :"#contentLastModified",
58
+ comment: %(The date of the last modification of the original content \(not its corresponding DataObject or local copy\). Compare with nie:lastModified.).freeze,
59
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
60
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
61
+ label: "contentLastModified".freeze,
62
+ range: "xsd:dateTime".freeze,
63
+ subPropertyOf: ["http://www.semanticdesktop.org/ontologies/2007/01/19/nie#informationElementDate".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#lastModified".freeze, "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentModified".freeze],
64
+ type: "rdf:Property".freeze
65
+ property :"#contentModified",
66
+ comment: %(The date of a modification of the original content \(not its corresponding DataObject or local copy\). Compare with nie:modified.).freeze,
67
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
68
+ label: "modified".freeze,
69
+ range: "xsd:dateTime".freeze,
70
+ type: "rdf:Property".freeze
71
+ property :"#contentSize",
72
+ comment: %(The size of the content. This property can be used whenever the size of the content of an InformationElement differs from the size of the DataObject. \(e.g. because of compression, encoding, encryption or any other representation issues\). The contentSize in expressed in bytes.).freeze,
73
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
74
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
75
+ label: "contentSize".freeze,
76
+ range: "xsd:integer".freeze,
77
+ type: "rdf:Property".freeze
78
+ property :"#copyright",
79
+ comment: %(Content copyright).freeze,
80
+ label: "copyright".freeze,
81
+ range: "xsd:string".freeze,
82
+ subPropertyOf: ["http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal".freeze, "dc:accessRights".freeze],
83
+ type: "rdf:Property".freeze
84
+ property :"#coreGraph",
85
+ comment: %(Connects the data object with the graph that contains information about it. Deprecated in favor of a more generic nao:isDataGraphFor.).freeze,
86
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
87
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#deprecated" => %(true).freeze,
88
+ label: "coreGraph".freeze,
89
+ range: "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#InstanceBase".freeze,
90
+ type: "rdf:Property".freeze
91
+ property :"#created",
92
+ comment: %(Date of creation of the DataObject. Note that this date refers to the creation of the DataObject itself \(i.e. the physical representation\). Compare with nie:contentCreated.).freeze,
93
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
94
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
95
+ label: "created".freeze,
96
+ range: "xsd:dateTime".freeze,
97
+ subPropertyOf: ["dc:created".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#created".freeze, "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#modified".freeze],
98
+ type: "rdf:Property".freeze
99
+ property :"#dataSource",
100
+ comment: %(Marks the provenance of a DataObject, what source does a data object come from.).freeze,
101
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
102
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#minCardinality" => %(1).freeze,
103
+ label: "dataSource".freeze,
104
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSource".freeze,
105
+ subPropertyOf: "dc11:source".freeze,
106
+ type: "rdf:Property".freeze
107
+ property :"#depends",
108
+ comment: %(Dependency relation. A piece of content depends on another piece of data in order to be properly understood/used/interpreted.).freeze,
109
+ label: "depends".freeze,
110
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
111
+ subPropertyOf: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#relatedTo".freeze,
112
+ type: "rdf:Property".freeze
113
+ property :"#description",
114
+ comment: %(A textual description of the resource. This property may be used for any metadata fields that provide some meta-information or comment about a resource in the form of a passage of text. This property is not to be confused with nie:plainTextContent. Use more specific subproperties wherever possible.).freeze,
115
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
116
+ label: "description".freeze,
117
+ range: "xsd:string".freeze,
118
+ subPropertyOf: ["dc11:description".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#description".freeze],
119
+ type: "rdf:Property".freeze
120
+ property :"#disclaimer",
121
+ comment: %(A disclaimer).freeze,
122
+ label: "disclaimer".freeze,
123
+ range: "xsd:string".freeze,
124
+ subPropertyOf: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal".freeze,
125
+ type: "rdf:Property".freeze
126
+ property :"#generator",
127
+ comment: %(Software used to "generate" the contents. E.g. a word processor name.).freeze,
128
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
129
+ label: "generator".freeze,
130
+ range: "xsd:string".freeze,
131
+ type: "rdf:Property".freeze
132
+ property :"#generatorOption",
133
+ comment: %(A common superproperty for all settings used by the generating software. This may include compression settings, algorithms, autosave, interlaced/non-interlaced etc. Note that this property has no range specified and therefore should not be used directly. Always use more specific properties.).freeze,
134
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
135
+ label: "generatorOption".freeze,
136
+ type: "rdf:Property".freeze
137
+ property :"#hasLogicalPart",
138
+ comment: %(Generic property used to express 'logical' containment relationships between InformationElements. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of InformationElement to use those specific subproperties. Note the difference between 'physical' containment \(hasPart\) and logical containment \(hasLogicalPart\)).freeze,
139
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
140
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#inverseProperty" => %(http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isLogicalPartOf).freeze,
141
+ label: "hasLogicalPart".freeze,
142
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
143
+ subPropertyOf: "dc:hasPart".freeze,
144
+ type: "rdf:Property".freeze
145
+ property :"#hasPart",
146
+ comment: %(Generic property used to express 'physical' containment relationships between DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of DataObjects to use those specific subproperties. Note to the developers: Please be aware of the distinction between containment relation and provenance. The hasPart relation models physical containment, an InformationElement \(a nmo:Message\) can have a 'physical' part \(an nfo:Attachment\). Also, please note the difference between physical containment \(hasPart\) and logical containment \(hasLogicalPart\) the former has more strict meaning. They may occur independently of each other.).freeze,
147
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
148
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible" => %(false).freeze,
149
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#inverseProperty" => %(http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf).freeze,
150
+ label: "hasPart".freeze,
151
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
152
+ subPropertyOf: ["http://www.semanticdesktop.org/ontologies/2007/01/19/nie#relatedTo".freeze, "dc:hasPart".freeze],
153
+ type: ["rdf:Property".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#InverseFunctionalProperty".freeze]
154
+ property :"#htmlContent",
155
+ comment: %(The HTML content of an information element. This property can be used to store text including formatting in a generic fashion.).freeze,
156
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
157
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
158
+ label: "html content".freeze,
159
+ range: "xsd:string".freeze,
160
+ type: "rdf:Property".freeze
161
+ property :"#identifier",
162
+ comment: %(An unambiguous reference to the InformationElement within a given context. Recommended best practice is to identify the resource by means of a string conforming to a formal identification system.).freeze,
163
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
164
+ label: "identifier".freeze,
165
+ range: "xsd:string".freeze,
166
+ subPropertyOf: ["http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier".freeze, "dc11:identifier".freeze],
167
+ type: "rdf:Property".freeze
168
+ property :"#informationElementDate",
169
+ comment: %(A point or period of time associated with an event in the lifecycle of an Information Element. A common superproperty for all date-related properties of InformationElements in the NIE Framework.).freeze,
170
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
171
+ label: "informationElementDate".freeze,
172
+ range: "xsd:dateTime".freeze,
173
+ subPropertyOf: "dc11:date".freeze,
174
+ type: "rdf:Property".freeze
175
+ property :"#interpretedAs",
176
+ comment: %(Links the DataObject with the InformationElement it is interpreted as.).freeze,
177
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
178
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#inverseProperty" => %(http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isStoredAs).freeze,
179
+ label: "interpretedAs".freeze,
180
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
181
+ type: "rdf:Property".freeze
182
+ property :"#isLogicalPartOf",
183
+ comment: %(Generic property used to express 'logical' containment relationships between DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of InformationElement to use those specific subproperties. Note the difference between 'physical' containment \(isPartOf\) and logical containment \(isLogicalPartOf\)).freeze,
184
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
185
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#inverseProperty" => %(http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasLogicalPart).freeze,
186
+ label: "isLogicalPartOf".freeze,
187
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
188
+ subPropertyOf: "dc:isPartOf".freeze,
189
+ type: ["rdf:Property".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#DefiningProperty".freeze]
190
+ property :"#isPartOf",
191
+ comment: %(Generic property used to express containment relationships between DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of DataObjects to use those specific subproperties. Note to the developers: Please be aware of the distinction between containment relation and provenance. The isPartOf relation models physical containment, a nie:DataObject \(e.g. an nfo:Attachment\) is a 'physical' part of an nie:InformationElement \(a nmo:Message\). Also, please note the difference between physical containment \(isPartOf\) and logical containment \(isLogicalPartOf\) the former has more strict meaning. They may occur independently of each other.).freeze,
192
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
193
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible" => %(false).freeze,
194
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#inverseProperty" => %(http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart).freeze,
195
+ label: "isPartOf".freeze,
196
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
197
+ subPropertyOf: "dc:isPartOf".freeze,
198
+ type: ["rdf:Property".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#FunctionalProperty".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#DefiningProperty".freeze]
199
+ property :"#isStoredAs",
200
+ comment: %(Links the information element with the DataObject it is stored in.).freeze,
201
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
202
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#inverseProperty" => %(http://www.semanticdesktop.org/ontologies/2007/01/19/nie#interpretedAs).freeze,
203
+ label: "isStoredAs".freeze,
204
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
205
+ type: "rdf:Property".freeze
206
+ property :"#keyword",
207
+ comment: %(Adapted DublinCore: The topic of the content of the resource, as keyword. No sentences here. Recommended best practice is to select a value from a controlled vocabulary or formal classification scheme. ).freeze,
208
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
209
+ label: "keyword".freeze,
210
+ range: "xsd:string".freeze,
211
+ type: "rdf:Property".freeze
212
+ property :"#language",
213
+ comment: %(Language the InformationElement is expressed in. This property applies to the data object in its entirety. If the data object is divisible into parts expressed in multiple languages - more specific properties should be used. Users are encouraged to use the two-letter code specified in the RFC 3066).freeze,
214
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
215
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
216
+ label: "language".freeze,
217
+ range: "xsd:string".freeze,
218
+ subPropertyOf: "dc11:language".freeze,
219
+ type: "rdf:Property".freeze
220
+ property :"#lastModified",
221
+ comment: %(Last modification date of the DataObject. Note that this date refers to the modification of the DataObject itself \(i.e. the physical representation\). Compare with nie:contentLastModified.).freeze,
222
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
223
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
224
+ label: "lastModified".freeze,
225
+ range: "xsd:dateTime".freeze,
226
+ subPropertyOf: ["dc11:date".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#lastModified".freeze, "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#modified".freeze],
227
+ type: "rdf:Property".freeze
228
+ property :"#lastRefreshed",
229
+ comment: %(Date when information about this data object was retrieved \(for the first time\) or last refreshed from the data source. This property is important for metadata extraction applications that don't receive any notifications of changes in the data source and have to poll it regularly. This may lead to information becoming out of date. In these cases this property may be used to determine the age of data, which is an important element of it's dependability. ).freeze,
230
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
231
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
232
+ label: "lastRefreshed".freeze,
233
+ range: "xsd:dateTime".freeze,
234
+ subPropertyOf: "dc11:date".freeze,
235
+ type: "rdf:Property".freeze
236
+ property :"#legal",
237
+ comment: %(A common superproperty for all properties that point at legal information about an Information Element).freeze,
238
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
239
+ label: "legal".freeze,
240
+ range: "xsd:string".freeze,
241
+ subPropertyOf: "dc11:rights".freeze,
242
+ type: "rdf:Property".freeze
243
+ property :"#license",
244
+ comment: %(Terms and intellectual property rights licensing conditions.).freeze,
245
+ label: "license".freeze,
246
+ range: "xsd:string".freeze,
247
+ subPropertyOf: ["dc:license".freeze, "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal".freeze],
248
+ type: "rdf:Property".freeze
249
+ property :"#licenseType",
250
+ comment: %(The type of the license. Possible values for this field may include "GPL", "BSD", "Creative Commons" etc.).freeze,
251
+ label: "licenseType".freeze,
252
+ range: "xsd:string".freeze,
253
+ subPropertyOf: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal".freeze,
254
+ type: "rdf:Property".freeze
255
+ property :"#links",
256
+ comment: %(A linking relation. A piece of content links/mentions a piece of data).freeze,
257
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
258
+ label: "links".freeze,
259
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
260
+ subPropertyOf: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#relatedTo".freeze,
261
+ type: "rdf:Property".freeze
262
+ property :"#mimeType",
263
+ comment: %(The mime type of the resource, if available. Example: "text/plain". See http://www.iana.org/assignments/media-types/. This property applies to data objects that can be described with one mime type. In cases where the object as a whole has one mime type, while it's parts have other mime types, or there is no mime type that can be applied to the object as a whole, but some parts of the content have mime types - use more specific properties.).freeze,
264
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
265
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
266
+ label: "mimeType".freeze,
267
+ range: "xsd:string".freeze,
268
+ type: "rdf:Property".freeze
269
+ property :"#modified",
270
+ comment: %(Date the DataObject was changed in any way. Note that this date refers to the modification of the DataObject itself \(i.e. the physical representation\). Compare with nie:contentModified.).freeze,
271
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
272
+ label: "modified".freeze,
273
+ range: "xsd:dateTime".freeze,
274
+ type: "rdf:Property".freeze
275
+ property :"#plainTextContent",
276
+ comment: %(Plain-text representation of the content of a InformationElement with all markup removed. The main purpose of this property is full-text indexing and search. Its exact content is considered application-specific. The user can make no assumptions about what is and what is not contained within. Applications should use more specific properties wherever possible.).freeze,
277
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
278
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
279
+ label: "plainTextContent".freeze,
280
+ range: "xsd:string".freeze,
281
+ type: "rdf:Property".freeze
282
+ property :"#relatedTo",
283
+ comment: %(A common superproperty for all relations between a piece of content and other pieces of data \(which may be interpreted as other pieces of content\).).freeze,
284
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
285
+ label: "relatedTo".freeze,
286
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
287
+ subPropertyOf: "dc11:relation".freeze,
288
+ type: "rdf:Property".freeze
289
+ property :"#rootElementOf",
290
+ comment: %(DataObjects extracted from a single data source are organized into a containment tree. This property links the root of that tree with the datasource it has been extracted from).freeze,
291
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
292
+ label: "rootElementOf".freeze,
293
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSource".freeze,
294
+ type: "rdf:Property".freeze
295
+ property :"#sourceMode",
296
+ comment: %(Represents a number of applicable modes for a data source.).freeze,
297
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSource".freeze,
298
+ label: "Data Source Mode".freeze,
299
+ range: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#Mode".freeze,
300
+ type: "rdf:Property".freeze
301
+ property :"#subject",
302
+ comment: %(An overall topic of the content of a InformationElement).freeze,
303
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
304
+ label: "subject".freeze,
305
+ range: "xsd:string".freeze,
306
+ subPropertyOf: "dc11:subject".freeze,
307
+ type: "rdf:Property".freeze
308
+ property :"#title",
309
+ comment: %(Name given to an InformationElement).freeze,
310
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
311
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
312
+ label: "title".freeze,
313
+ range: "xsd:string".freeze,
314
+ subPropertyOf: ["dc11:title".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefLabel".freeze],
315
+ type: "rdf:Property".freeze
316
+ property :"#url",
317
+ comment: %(URL of a DataObject. It points to the location of the object. A typial usage is FileDataObject. In cases where creating a simple file:// or http:// URL for a file is difficult \(e.g. for files inside compressed archives\) the applications are encouraged to use conventions defined by Apache Commons VFS Project at http://jakarta.apache.org/ commons/ vfs/ filesystems.html.).freeze,
318
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject".freeze,
319
+ "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#maxCardinality" => %(1).freeze,
320
+ label: "url".freeze,
321
+ range: "rdfs:Resource".freeze,
322
+ type: ["rdf:Property".freeze, "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#DefiningProperty".freeze]
323
+ property :"#version",
324
+ comment: %(The current version of the given data object. Exact semantics is unspecified at this level. Use more specific subproperties if needed.).freeze,
325
+ domain: "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement".freeze,
326
+ label: "version".freeze,
327
+ range: "xsd:string".freeze,
328
+ subPropertyOf: "dc:hasVersion".freeze,
329
+ type: "rdf:Property".freeze
330
+
331
+ # Extra definitions
332
+ term :"#DataSourceGraph",
333
+ comment: %(Represents the sum of all information that has been obtained from a data source. Each data source has its own personal information graph. When a data source is deleted, the graph becomes redundant and should also be deleted. If two or more items in two or more data source graphs are determined to be equivalent, they are integrated at the PIMO level, and the integrated representation plus the links to the original items are stored in the pimo:PersonalInformationModel graph.).freeze,
334
+ label: "Data Source Graph".freeze,
335
+ subClassOf: "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#InstanceBase".freeze,
336
+ type: "rdfs:Resource".freeze
337
+ end
338
+ end
@@ -0,0 +1,100 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://purl.org/ontology/olo/core#
3
+ require 'rdf'
4
+ module RDF
5
+ class OLO < RDF::StrictVocabulary("http://purl.org/ontology/olo/core#")
6
+
7
+ # Class definitions
8
+ term :OrderedList,
9
+ comment: %(An ordered list with a given length an indexed items.).freeze,
10
+ label: "Ordered List".freeze,
11
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
12
+ subClassOf: "owl:Thing".freeze,
13
+ type: ["owl:Class".freeze, "rdfs:Class".freeze],
14
+ "vs:status" => %(stable).freeze
15
+ term :Slot,
16
+ comment: %(A slot in an ordered list with a fixed index.).freeze,
17
+ label: "Slot".freeze,
18
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
19
+ subClassOf: "owl:Thing".freeze,
20
+ type: ["owl:Class".freeze, "rdfs:Class".freeze],
21
+ "vs:status" => %(stable).freeze
22
+
23
+ # Property definitions
24
+ property :index,
25
+ comment: %(An index of a slot in an ordered list.).freeze,
26
+ domain: "http://purl.org/ontology/olo/core#Slot".freeze,
27
+ label: "has index".freeze,
28
+ range: "xsd:positiveInteger".freeze,
29
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
30
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze, "owl:FunctionalProperty".freeze],
31
+ "vs:status" => %(stable).freeze
32
+ property :item,
33
+ comment: %(An item of a slot in an ordered list.).freeze,
34
+ domain: "http://purl.org/ontology/olo/core#Slot".freeze,
35
+ label: "has item".freeze,
36
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
37
+ type: "rdf:Property".freeze,
38
+ "vs:status" => %(stable).freeze
39
+ property :length,
40
+ comment: %(The length of an ordered list.).freeze,
41
+ domain: "http://purl.org/ontology/olo/core#OrderedList".freeze,
42
+ label: "has length".freeze,
43
+ range: "xsd:nonNegativeInteger".freeze,
44
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
45
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze, "owl:FunctionalProperty".freeze],
46
+ "vs:status" => %(stable).freeze
47
+ property :next,
48
+ comment: %(Associates the next slot in an ordered list.).freeze,
49
+ domain: "http://purl.org/ontology/olo/core#Slot".freeze,
50
+ label: "has next".freeze,
51
+ range: "http://purl.org/ontology/olo/core#Slot".freeze,
52
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
53
+ type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze],
54
+ "vs:status" => %(testing).freeze
55
+ property :ordered_list,
56
+ comment: %(An ordered list of an slot.).freeze,
57
+ domain: "http://purl.org/ontology/olo/core#Slot".freeze,
58
+ label: "has ordered list".freeze,
59
+ "owl:inverseOf" => %(http://purl.org/ontology/olo/core#slot).freeze,
60
+ range: "http://purl.org/ontology/olo/core#OrderedList".freeze,
61
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
62
+ type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze],
63
+ "vs:status" => %(testing).freeze
64
+ property :previous,
65
+ comment: %(Associates the previous slot in an ordered list).freeze,
66
+ domain: "http://purl.org/ontology/olo/core#Slot".freeze,
67
+ label: "has previous".freeze,
68
+ "owl:inverseOf" => %(http://purl.org/ontology/olo/core#next).freeze,
69
+ range: "http://purl.org/ontology/olo/core#Slot".freeze,
70
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
71
+ type: ["owl:InverseFunctionalProperty".freeze, "rdf:Property".freeze],
72
+ "vs:status" => %(testing).freeze
73
+ property :slot,
74
+ comment: %(A slot in an ordered list.).freeze,
75
+ domain: "http://purl.org/ontology/olo/core#OrderedList".freeze,
76
+ label: "has slot".freeze,
77
+ range: "http://purl.org/ontology/olo/core#Slot".freeze,
78
+ "rdfs:isDefinedBy" => %(http://purl.org/ontology/olo/core#).freeze,
79
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze],
80
+ "vs:status" => %(stable).freeze
81
+
82
+ # Extra definitions
83
+ term :"",
84
+ "dc11:creator" => [%(http://www.elec.qmul.ac.uk/people/samer/).freeze, %(http://foaf.me/zazi#me).freeze],
85
+ "dc11:date" => %(2010-07-23T13:30:52+01:00).freeze,
86
+ "dc11:description" => %(
87
+ The <em xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:olo="http://purl.org/ontology/olo/core#" xmlns:vann="http://purl.org/vocab/vann/" xmlns:bibo="http://purl.org/ontology/bibo/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xml:lang="en">Ordered List Ontology Specification</em> provides basic concepts and properties
88
+ for describing ordered lists as semantic graph. This document contains a RDFa description of the <em xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:olo="http://purl.org/ontology/olo/core#" xmlns:vann="http://purl.org/vocab/vann/" xmlns:bibo="http://purl.org/ontology/bibo/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xml:lang="en">Ordered List Ontology</em>
89
+ as proposed by Samer A. Abdallah and some additional information and examples.
90
+ ).freeze,
91
+ "dc11:rights" => %(Copyright © 2010 Samer A. Abdallah and Bob Ferris).freeze,
92
+ "dc11:title" => %(The Ordered List Ontology).freeze,
93
+ "foaf:isPrimaryTopicOf" => %(http://purl.org/ontology/olo/orderedlistontology.html).freeze,
94
+ "http://purl.org/vocab/vann/preferredNamespaceUri" => %(http://purl.org/ontology/olo/core#).freeze,
95
+ label: "".freeze,
96
+ "owl:versionInfo" => %(0.72).freeze,
97
+ "rdfs:seeAlso" => [%(http://smiy.sourceforge.net/olo/gfx/olo_-_orderedlist.gif).freeze, %(http://www.w3.org/TR/2004/REC-owl-ref-20040210/#Class).freeze],
98
+ type: "owl:Ontology".freeze
99
+ end
100
+ end
@@ -0,0 +1,101 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://www.openarchives.org/ore/terms/
3
+ require 'rdf'
4
+ module RDF
5
+ class ORE < RDF::StrictVocabulary("http://www.openarchives.org/ore/terms/")
6
+
7
+ # Class definitions
8
+ term :AggregatedResource,
9
+ comment: %(A resource which is included in an Aggregation. Note that asserting that a resource is a member of the class of Aggregated Resources does not imply anything other than that it is aggregated by at least one Aggregation.).freeze,
10
+ label: "Aggregated Resource".freeze,
11
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
12
+ type: "rdfs:Class".freeze
13
+ term :Aggregation,
14
+ comment: %(A set of related resources \(Aggregated Resources\), grouped together such that the set can be treated as a single resource. This is the entity described within the ORE interoperability framework by a Resource Map.).freeze,
15
+ label: "Aggregation".freeze,
16
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
17
+ subClassOf: "http://purl.org/dc/dcmitype/Collection".freeze,
18
+ type: "rdfs:Class".freeze
19
+ term :Proxy,
20
+ comment: %(A Proxy represents an Aggregated Resource as it exists in a specific Aggregation. All assertions made about an entity are globally true, not only within the context of the Aggregation. As such, in order to make assertions which are only true of a resource as it exists in an Aggregation, a Proxy object is required. For example, one might want to cite an article as it appears in a specific journal, or assign aggregation-specific metadata to a Resource.).freeze,
21
+ label: "Proxy".freeze,
22
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
23
+ type: "rdfs:Class".freeze
24
+ term :ResourceMap,
25
+ comment: %(A description of an Aggregation according to the OAI-ORE data model. Resource Maps are serialised to a machine readable format according to the implementation guidelines.).freeze,
26
+ label: "Resource Map".freeze,
27
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
28
+ subClassOf: "http://www.w3.org/2004/03/trix/rdfg-1/Graph".freeze,
29
+ type: "rdfs:Class".freeze
30
+
31
+ # Property definitions
32
+ property :aggregates,
33
+ comment: %(Aggregations, by definition, aggregate resources. The ore:aggregates relationship expresses that the object resource is a member of the set of Aggregated Resources of the subject \(the Aggregation\). This relationship between the Aggregation and its Aggregated Resources is thus more specific than a simple part/whole relationship, as expressed by dcterms:hasPart for example.).freeze,
34
+ domain: "http://www.openarchives.org/ore/terms/Aggregation".freeze,
35
+ label: "Aggregates".freeze,
36
+ "owl:inverseOf" => %(http://www.openarchives.org/ore/terms/isAggregatedBy).freeze,
37
+ range: "http://www.openarchives.org/ore/terms/AggregatedResource".freeze,
38
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
39
+ subPropertyOf: "dc:hasPart".freeze,
40
+ type: "rdf:Property".freeze
41
+ property :describes,
42
+ comment: %(This relationship asserts that the subject \(a Resource Map\) describes the object \(an Aggregation\).).freeze,
43
+ domain: "http://www.openarchives.org/ore/terms/ResourceMap".freeze,
44
+ label: "Describes".freeze,
45
+ "owl:inverseOf" => %(http://www.openarchives.org/ore/terms/isDescribedBy).freeze,
46
+ range: "http://www.openarchives.org/ore/terms/Aggregation".freeze,
47
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
48
+ type: "rdf:Property".freeze
49
+ property :isAggregatedBy,
50
+ comment: %(The inverse relationship of ore:aggregates, ore:isAggregatedBy asserts that an Aggregated Resource is aggregated by an Aggregation.).freeze,
51
+ domain: "http://www.openarchives.org/ore/terms/AggregatedResource".freeze,
52
+ label: "Is Aggregated By".freeze,
53
+ "owl:inverseOf" => %(http://www.openarchives.org/ore/terms/aggregates).freeze,
54
+ range: "http://www.openarchives.org/ore/terms/Aggregation".freeze,
55
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
56
+ subPropertyOf: "dc:isPartOf".freeze,
57
+ type: "rdf:Property".freeze
58
+ property :isDescribedBy,
59
+ comment: %(The inverse relationship of ore:describes, in this case the object of the relationship is the Resource Map and the subject is the Aggregation which it describes.).freeze,
60
+ domain: "http://www.openarchives.org/ore/terms/Aggregation".freeze,
61
+ label: "Is Described By".freeze,
62
+ "owl:inverseOf" => %(http://www.openarchives.org/ore/terms/describes).freeze,
63
+ range: "http://www.openarchives.org/ore/terms/ResourceMap".freeze,
64
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
65
+ type: "rdf:Property".freeze
66
+ property :lineage,
67
+ comment: %(ore:lineage is a relationship between two Proxy objects, both of which MUST have the same Resource for which they are proxies. The meaning is that the Resource for which the subject of the relationship is a Proxy was discovered in the Aggregation in which the object Proxy's resource is aggregated.).freeze,
68
+ domain: "http://www.openarchives.org/ore/terms/Proxy".freeze,
69
+ label: "Lineage".freeze,
70
+ range: "http://www.openarchives.org/ore/terms/Proxy".freeze,
71
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
72
+ type: "rdf:Property".freeze
73
+ property :proxyFor,
74
+ comment: %(Proxy objects are used to represent a Resource as it is aggregated in a particular Aggregation. The ore:proxyFor relationship is used to link the proxy to the Aggregated Resource it is a proxy for. The subject of the relationship is a Proxy object, and the object of the relationship is the Aggregated Resource.).freeze,
75
+ domain: "http://www.openarchives.org/ore/terms/Proxy".freeze,
76
+ label: "Proxy For".freeze,
77
+ range: "http://www.openarchives.org/ore/terms/AggregatedResource".freeze,
78
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
79
+ type: "rdf:Property".freeze
80
+ property :proxyIn,
81
+ comment: %(Proxy objects must link to the Aggregation in which the resource being proxied is aggregated. The ore:proxyIn relationship is used for this purpose. The subject of the relationship is a Proxy object, and the object of the relationship is the Aggregation.).freeze,
82
+ domain: "http://www.openarchives.org/ore/terms/Proxy".freeze,
83
+ label: "Proxy In".freeze,
84
+ range: "http://www.openarchives.org/ore/terms/Aggregation".freeze,
85
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
86
+ type: "rdf:Property".freeze
87
+ property :similarTo,
88
+ comment: %(The subject of this relationship MUST be an Aggregation. This Aggregation should be considered an expression within the ORE context of the object of the relationship, as it is broadly equivalent to the resource. For example, the Aggregation may consist of the resources which, together, make up a journal article which has a DOI assigned to it. The Aggregation is not the article to which the DOI was assigned, but is a representation of it in some manner.).freeze,
89
+ domain: "http://www.openarchives.org/ore/terms/Aggregation".freeze,
90
+ label: "Similar To".freeze,
91
+ "rdfs:isDefinedBy" => %(http://www.openarchives.org/ore/terms/).freeze,
92
+ type: "rdf:Property".freeze
93
+
94
+ # Extra definitions
95
+ term :"",
96
+ comment: %(The set of terms provided by the OAI ORE initiative).freeze,
97
+ "dc:title" => %(The OAI ORE terms vocabulary).freeze,
98
+ label: "The OAI ORE terms vocabulary".freeze,
99
+ "rdfs:seeAlso" => %(http://www.openarchives.org/ore/toc).freeze
100
+ end
101
+ end