rdf-vocab 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rdf/vocab.rb +11 -5
  3. data/lib/rdf/vocab/acl.rb +15 -3
  4. data/lib/rdf/vocab/bibframe.rb +6 -7
  5. data/lib/rdf/vocab/bibo.rb +123 -122
  6. data/lib/rdf/vocab/cc.rb +5 -0
  7. data/lib/rdf/vocab/cert.rb +35 -35
  8. data/lib/rdf/vocab/cnt.rb +10 -0
  9. data/lib/rdf/vocab/datacite.rb +16 -15
  10. data/lib/rdf/vocab/dc.rb +6 -5
  11. data/lib/rdf/vocab/dc11.rb +6 -7
  12. data/lib/rdf/vocab/dcat.rb +13 -0
  13. data/lib/rdf/vocab/dcmitype.rb +6 -7
  14. data/lib/rdf/vocab/disco.rb +14 -2
  15. data/lib/rdf/vocab/doap.rb +10 -11
  16. data/lib/rdf/vocab/dwc.rb +7 -8
  17. data/lib/rdf/vocab/ebucore.rb +17 -0
  18. data/lib/rdf/vocab/edm.rb +44 -45
  19. data/lib/rdf/vocab/exif.rb +11 -0
  20. data/lib/rdf/vocab/extensions.rb +1 -1
  21. data/lib/rdf/vocab/fcrepo4.rb +8 -8
  22. data/lib/rdf/vocab/foaf.rb +6 -7
  23. data/lib/rdf/vocab/geo.rb +58 -58
  24. data/lib/rdf/vocab/geonames.rb +28 -0
  25. data/lib/rdf/vocab/gr.rb +26 -0
  26. data/lib/rdf/vocab/ht.rb +10 -0
  27. data/lib/rdf/vocab/hydra.rb +13 -0
  28. data/lib/rdf/vocab/ical.rb +7 -0
  29. data/lib/rdf/vocab/identifiers.rb +8 -0
  30. data/lib/rdf/vocab/iiif.rb +5 -4
  31. data/lib/rdf/vocab/jsonld.rb +6 -0
  32. data/lib/rdf/vocab/ldp.rb +22 -12
  33. data/lib/rdf/vocab/lrmi.rb +10 -11
  34. data/lib/rdf/vocab/ma.rb +8 -0
  35. data/lib/rdf/vocab/marc_relators.rb +12 -0
  36. data/lib/rdf/vocab/mo.rb +15 -14
  37. data/lib/rdf/vocab/mods.rb +5 -0
  38. data/lib/rdf/vocab/oa.rb +15 -34
  39. data/lib/rdf/vocab/ore.rb +8 -8
  40. data/lib/rdf/vocab/org.rb +12 -10
  41. data/lib/rdf/vocab/pplan.rb +14 -15
  42. data/lib/rdf/vocab/premis.rb +11 -0
  43. data/lib/rdf/vocab/premis_event_type.rb +10 -0
  44. data/lib/rdf/vocab/prov.rb +16 -14
  45. data/lib/rdf/vocab/rightsstatements.rb +247 -0
  46. data/lib/rdf/vocab/rsa.rb +9 -0
  47. data/lib/rdf/vocab/sioc.rb +9 -10
  48. data/lib/rdf/vocab/sioc_services.rb +8 -9
  49. data/lib/rdf/vocab/skos.rb +9 -0
  50. data/lib/rdf/vocab/skosxl.rb +10 -0
  51. data/lib/rdf/vocab/vcard.rb +7 -0
  52. data/lib/rdf/vocab/vs.rb +13 -0
  53. data/lib/rdf/vocab/wdrs.rb +8 -0
  54. data/lib/rdf/vocab/wot.rb +9 -10
  55. data/lib/rdf/vocab/xhtml.rb +5 -0
  56. data/lib/rdf/vocab/xhv.rb +4 -0
  57. data/lib/rdf/vocab/xkos.rb +245 -0
  58. data/spec/extensions_spec.rb +12 -0
  59. metadata +5 -3
@@ -9,6 +9,17 @@ module RDF::Vocab
9
9
  # end
10
10
  class EXIF < RDF::StrictVocabulary("http://www.w3.org/2003/12/exif/ns#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://www.w3.org/2003/12/exif/ns",
14
+ :"dc11:description" => %(Vocabulary to describe an Exif format picture data. All Exif 2.2 tags are defined as RDF properties, as well as several terms to help this schema.).freeze,
15
+ :"dc11:source" => %(http://tsc.jeita.or.jp/avs/data/cp3451.pdf).freeze,
16
+ :"dc11:title" => %(Exif data description vocabulary).freeze,
17
+ :"dc:created" => %(2003-07-18).freeze,
18
+ :"dc:modified" => %(2003-08-19).freeze,
19
+ :"foaf:maker" => %(urn:pin:MK705).freeze,
20
+ :"owl:versionInfo" => %(Experimental version.).freeze,
21
+ type: "owl:Ontology".freeze
22
+
12
23
  # Class definitions
13
24
  term :IFD,
14
25
  comment: %(An Image File Directory).freeze,
@@ -355,7 +355,7 @@ module RDF
355
355
  value.map do |v|
356
356
  %(<#{tag} property="#{property}") +
357
357
  if v['@value']
358
- (v['@language'] ? %( language="#{v['@language']}") : "") +
358
+ (v['@language'] ? %( lang="#{v['@language']}") : "") +
359
359
  (v['@type'] ? %( datatype="#{RDF::URI(v['@type']).pname}") : "") +
360
360
  %(>#{v['@value']})
361
361
  elsif v['@id']
@@ -9,6 +9,14 @@ module RDF::Vocab
9
9
  # end
10
10
  class Fcrepo4 < RDF::StrictVocabulary("http://fedora.info/definitions/v4/repository#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://fedora.info/definitions/v4/repository#",
14
+ comment: %(Ontology for the Fedora data model, intended primarily to make it possible to expose Fedora-curated RDF predicates via de-reference-able URIs.).freeze,
15
+ label: "Fedora Commons Repository Ontology".freeze,
16
+ :"owl:priorVersion" => %(http://fedora.info/definitions/v4/2015/05/19/repository).freeze,
17
+ :"owl:versionInfo" => %(v4/2015/07/24).freeze,
18
+ type: "owl:Ontology".freeze
19
+
12
20
  # Class definitions
13
21
  term :AnnotatedResource,
14
22
  comment: %(A Resource that maintains properties in its own right.).freeze,
@@ -508,13 +516,5 @@ module RDF::Vocab
508
516
  label: "writable".freeze,
509
517
  range: "xsd:boolean".freeze,
510
518
  type: "owl:DatatypeProperty".freeze
511
-
512
- # Extra definitions
513
- term :"",
514
- comment: %(Ontology for the Fedora data model, intended primarily to make it possible to expose Fedora-curated RDF predicates via de-reference-able URIs.).freeze,
515
- label: "Fedora Commons Repository Ontology".freeze,
516
- :"owl:priorVersion" => %(http://fedora.info/definitions/v4/2015/05/19/repository).freeze,
517
- :"owl:versionInfo" => %(v4/2015/07/24).freeze,
518
- type: "owl:Ontology".freeze
519
519
  end
520
520
  end
@@ -9,6 +9,12 @@ module RDF::Vocab
9
9
  # end
10
10
  class FOAF < RDF::StrictVocabulary("http://xmlns.com/foaf/0.1/")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://xmlns.com/foaf/0.1/",
14
+ :"dc11:description" => %(The Friend of a Friend \(FOAF\) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.).freeze,
15
+ :"dc11:title" => %(Friend of a Friend \(FOAF\) vocabulary).freeze,
16
+ type: "owl:Ontology".freeze
17
+
12
18
  # Class definitions
13
19
  term :Agent,
14
20
  comment: %(An agent \(eg. person, group, software or physical artifact\).).freeze,
@@ -607,12 +613,5 @@ module RDF::Vocab
607
613
  subPropertyOf: "foaf:nick".freeze,
608
614
  type: ["owl:DatatypeProperty".freeze, "owl:InverseFunctionalProperty".freeze, "rdf:Property".freeze],
609
615
  :"vs:term_status" => %(testing).freeze
610
-
611
- # Extra definitions
612
- term :"",
613
- :"dc11:description" => %(The Friend of a Friend \(FOAF\) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.).freeze,
614
- :"dc11:title" => %(Friend of a Friend \(FOAF\) vocabulary).freeze,
615
- label: "".freeze,
616
- type: "owl:Ontology".freeze
617
616
  end
618
617
  end
data/lib/rdf/vocab/geo.rb CHANGED
@@ -9,64 +9,8 @@ module RDF::Vocab
9
9
  # end
10
10
  class GEO < RDF::StrictVocabulary("http://www.w3.org/2003/01/geo/wgs84_pos#")
11
11
 
12
- # Class definitions
13
- term :Point,
14
- comment: [%(
15
- Uniquely identified by lat/long/alt. i.e.
16
-
17
- spaciallyIntersects\(P1, P2\) :- lat\(P1, LAT\), long\(P1, LONG\), alt\(P1, ALT\),
18
- lat\(P2, LAT\), long\(P2, LONG\), alt\(P2, ALT\).
19
-
20
- sameThing\(P1, P2\) :- type\(P1, Point\), type\(P2, Point\), spaciallyIntersects\(P1, P2\).
21
- ).freeze, %(A point, typically described using a coordinate system relative to Earth, such as WGS84.
22
- ).freeze],
23
- label: "point".freeze,
24
- subClassOf: "geo:SpatialThing".freeze,
25
- type: "rdfs:Class".freeze
26
- term :SpatialThing,
27
- comment: %(Anything with spatial extent, i.e. size, shape, or position.
28
- e.g. people, places, bowling balls, as well as abstract areas like cubes.
29
- ).freeze,
30
- label: "SpatialThing".freeze,
31
- type: "rdfs:Class".freeze
32
-
33
- # Property definitions
34
- property :alt,
35
- comment: %(The WGS84 altitude of a SpatialThing \(decimal meters
36
- above the local reference ellipsoid\).).freeze,
37
- domain: "geo:SpatialThing".freeze,
38
- label: "altitude".freeze,
39
- type: "rdf:Property".freeze
40
- property :lat,
41
- comment: %(The WGS84 latitude of a SpatialThing \(decimal degrees\).).freeze,
42
- domain: "geo:SpatialThing".freeze,
43
- label: "latitude".freeze,
44
- type: "rdf:Property".freeze
45
- property :lat_long,
46
- comment: %(A comma-separated representation of a latitude, longitude coordinate.).freeze,
47
- label: "lat/long".freeze,
48
- type: "rdf:Property".freeze
49
- property :location,
50
- comment: %(The relation between something and the point,
51
- or other geometrical thing in space, where it is. For example, the realtionship between
52
- a radio tower and a Point with a given lat and long.
53
- Or a relationship between a park and its outline as a closed arc of points, or a road and
54
- its location as a arc \(a sequence of points\).
55
- Clearly in practice there will be limit to the accuracy of any such statement, but one would expect
56
- an accuracy appropriate for the size of the object and uses such as mapping .
57
- ).freeze,
58
- label: "location".freeze,
59
- range: "geo:SpatialThing".freeze,
60
- subPropertyOf: "foaf:based_near".freeze,
61
- type: "rdf:Property".freeze
62
- property :long,
63
- comment: %(The WGS84 longitude of a SpatialThing \(decimal degrees\).).freeze,
64
- domain: "geo:SpatialThing".freeze,
65
- label: "longitude".freeze,
66
- type: "rdf:Property".freeze
67
-
68
- # Extra definitions
69
- term :"",
12
+ # Ontology definition
13
+ ontology :"http://www.w3.org/2003/01/geo/wgs84_pos#",
70
14
  comment: %(
71
15
  Recent changes to this namespace:
72
16
  $Log: wgs84_pos.rdf,v $
@@ -157,5 +101,61 @@ basic geo vocab
157
101
  Version $Id: wgs84_pos.rdf,v 1.22 2009/04/20 15:00:30 timbl Exp $. See http://www.w3.org/2003/01/geo/ for more details.).freeze,
158
102
  :"dc11:title" => %(WGS84 Geo Positioning: an RDF vocabulary).freeze,
159
103
  label: "geo".freeze
104
+
105
+ # Class definitions
106
+ term :Point,
107
+ comment: [%(
108
+ Uniquely identified by lat/long/alt. i.e.
109
+
110
+ spaciallyIntersects\(P1, P2\) :- lat\(P1, LAT\), long\(P1, LONG\), alt\(P1, ALT\),
111
+ lat\(P2, LAT\), long\(P2, LONG\), alt\(P2, ALT\).
112
+
113
+ sameThing\(P1, P2\) :- type\(P1, Point\), type\(P2, Point\), spaciallyIntersects\(P1, P2\).
114
+ ).freeze, %(A point, typically described using a coordinate system relative to Earth, such as WGS84.
115
+ ).freeze],
116
+ label: "point".freeze,
117
+ subClassOf: "geo:SpatialThing".freeze,
118
+ type: "rdfs:Class".freeze
119
+ term :SpatialThing,
120
+ comment: %(Anything with spatial extent, i.e. size, shape, or position.
121
+ e.g. people, places, bowling balls, as well as abstract areas like cubes.
122
+ ).freeze,
123
+ label: "SpatialThing".freeze,
124
+ type: "rdfs:Class".freeze
125
+
126
+ # Property definitions
127
+ property :alt,
128
+ comment: %(The WGS84 altitude of a SpatialThing \(decimal meters
129
+ above the local reference ellipsoid\).).freeze,
130
+ domain: "geo:SpatialThing".freeze,
131
+ label: "altitude".freeze,
132
+ type: "rdf:Property".freeze
133
+ property :lat,
134
+ comment: %(The WGS84 latitude of a SpatialThing \(decimal degrees\).).freeze,
135
+ domain: "geo:SpatialThing".freeze,
136
+ label: "latitude".freeze,
137
+ type: "rdf:Property".freeze
138
+ property :lat_long,
139
+ comment: %(A comma-separated representation of a latitude, longitude coordinate.).freeze,
140
+ label: "lat/long".freeze,
141
+ type: "rdf:Property".freeze
142
+ property :location,
143
+ comment: %(The relation between something and the point,
144
+ or other geometrical thing in space, where it is. For example, the realtionship between
145
+ a radio tower and a Point with a given lat and long.
146
+ Or a relationship between a park and its outline as a closed arc of points, or a road and
147
+ its location as a arc \(a sequence of points\).
148
+ Clearly in practice there will be limit to the accuracy of any such statement, but one would expect
149
+ an accuracy appropriate for the size of the object and uses such as mapping .
150
+ ).freeze,
151
+ label: "location".freeze,
152
+ range: "geo:SpatialThing".freeze,
153
+ subPropertyOf: "foaf:based_near".freeze,
154
+ type: "rdf:Property".freeze
155
+ property :long,
156
+ comment: %(The WGS84 longitude of a SpatialThing \(decimal degrees\).).freeze,
157
+ domain: "geo:SpatialThing".freeze,
158
+ label: "longitude".freeze,
159
+ type: "rdf:Property".freeze
160
160
  end
161
161
  end
@@ -9,6 +9,34 @@ module RDF::Vocab
9
9
  # end
10
10
  class GEONAMES < RDF::StrictVocabulary("http://www.geonames.org/ontology#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://www.geonames.org/ontology",
14
+ :"cc:license" => %(http://creativecommons.org/licenses/by/3.0/).freeze,
15
+ comment: %(Modifications from version 3.01 :
16
+ Added : gn:GeonamesFeature, subclass of gn:Feature.
17
+ Added : explicit property gn:geonamesID, mandatory and unique for each gn:GeonamesFeature instance.
18
+ Deleted : owl:FunctionalProperty declarations for properties attached to gn:Feature, replaced by local cardinality restrictions on gn:GeonamesFeature
19
+ The gn:Feature class and attached properties can therefore be used in the open world for features not necessarily identified in the Geonames data base, or with partial descriptions.
20
+ Modified : Equivalent classes and superclasses of geonames:Feature in other vocabularies.
21
+ Added : new feature codes for historical features.
22
+ Improved metadata.
23
+ ).freeze,
24
+ :"dc:contributor" => [%(Erik Bolstad \(norwegian and swedish translations\)).freeze, %(Roman Rachkov \(bulgarian translation\)).freeze, %(Valery Hronusov \(russian translation\)).freeze],
25
+ :"dc:creator" => %(http://data.semanticweb.org/person/bernard-vatant).freeze,
26
+ :"dc:description" => %(The Geonames ontologies provides elements of description for geographical features, in particular those defined in the geonames.org data base).freeze,
27
+ :"dc:issued" => %(2006-10-14).freeze,
28
+ :"dc:modified" => %(2012-10-29).freeze,
29
+ :"dc:publisher" => %(http://dbpedia.org/resource/GeoNames).freeze,
30
+ :"dc:title" => %(The Geonames ontology).freeze,
31
+ :"foaf:homepage" => %(http://www.geonames.org/ontology/documentation.html).freeze,
32
+ :"http://purl.org/vocab/vann/preferredNamespacePrefix" => %(gn).freeze,
33
+ :"http://purl.org/vocab/vann/preferredNamespaceUri" => %(http://www.geonames.org/ontology#).freeze,
34
+ :"http://www.w3.org/ns/adms#relatedDocumentation" => %(http://www.geonames.org/ontology/documentation.html).freeze,
35
+ :"owl:priorVersion" => %(http://www.geonames.org/ontology/ontology_v3.0.1.rdf).freeze,
36
+ :"owl:versionInfo" => %(Version 3.1 - 2012-10-29).freeze,
37
+ :"rdfs:isDefinedBy" => %(http://www.geonames.org/ontology/ontology_v3.1.rdf).freeze,
38
+ type: "owl:Ontology".freeze
39
+
12
40
  # Class definitions
13
41
  term :A,
14
42
  comment: %(country, state, region ...).freeze,
data/lib/rdf/vocab/gr.rb CHANGED
@@ -9,6 +9,32 @@ module RDF::Vocab
9
9
  # end
10
10
  class GR < RDF::StrictVocabulary("http://purl.org/goodrelations/v1#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://purl.org/goodrelations/v1",
14
+ comment: %(The GoodRelations ontology provides the vocabulary for annotating e-commerce offerings \(1\) to sell, lease, repair, dispose, or maintain commodity products and \(2\) to provide commodity services.
15
+
16
+ GoodRelations allows describing the relationship between \(1\) Web resources, \(2\) offerings made by those Web resources, \(3\) legal entities, \(4\) prices, \(5\) terms and conditions, and the aforementioned ontologies for products and services \(6\).
17
+
18
+ For more information, see http://purl.org/goodrelations/
19
+
20
+ Note: The base URI of GoodRelations is http://purl.org/goodrelations/v1. Please make sure you are only using element identifiers in this namespace, e.g. http://purl.org/goodrelations/v1#BusinessEntity. There may be copies of the ontology file on the Web which can be retrieved from other locations, BUT THOSE LOCATIONS MUST NOT BE USED AS THE BASIS OF IDENTIFIERS.
21
+
22
+ If you use GoodRelations for scientific purposes, please cite our paper:
23
+
24
+ Hepp, Martin: GoodRelations: An Ontology for Describing Products and Services Offers on the Web, Proceedings of the 16th International Conference on Knowledge Engineering and Knowledge Management \(EKAW2008\), September 29 - October 3, 2008, Acitrezza, Italy, Springer LNCS, Vol. 5268, pp. 332-347.
25
+
26
+ PDF at http://www.heppnetz.de/publications/).freeze,
27
+ :"dc11:contributor" => %(Work on the GoodRelations ontology and related research and development has been partly supported by the Austrian BMVIT/FFG under the FIT-IT Semantic Systems project myOntology \(grant no. 812515/9284\), by a Young Researcher's Grant \(Nachwuchsfoerderung 2005-2006\) from the Leopold-Franzens-Universitaet Innsbruck, by the European Commission under the project SUPER \(FP6-026850\), and by the German Federal Ministry of Research \(BMBF\) by a grant under the KMU Innovativ program as part of the Intelligent Match project \(FKZ 01IS10022B\). The).freeze,
28
+ :"dc11:creator" => %(Martin Hepp).freeze,
29
+ :"dc11:rights" => %(The GoodRelations ontology is available under the Creative Commons Attribution 3.0 Unported license; see http://creativecommons.org/licenses/by/3.0/. In a nutshell, you are free to copy, distribute and transmit the work; to remix/adapt the work \(e.g. to import the ontology and create specializations of its elements\), as long as you attribute the work in the manner specified by the author or licensor \(but not in any way that suggests that they endorse you or your use of the work\). Proper Attribution: Simply include the statement "This work is based on the GoodRelations ontology, developed by Martin Hepp" and link back to http://purl.org/goodrelations/).freeze,
30
+ :"dc11:subject" => %(E-Commerce, E-Business, GoodRelations, Microdata, Ontology, Semantic SEO, RDFa, Linked Data, RDF, Semantic Web, Recommender Systems).freeze,
31
+ :"dc11:title" => %(The GoodRelations Vocabulary for Semantic Web-based E-Commerce).freeze,
32
+ :"dc:license" => %(http://creativecommons.org/licenses/by/3.0/).freeze,
33
+ :"foaf:homepage" => %(http://purl.org/goodrelations/).freeze,
34
+ label: "GoodRelations Ontology".freeze,
35
+ :"owl:versionInfo" => %(V 1.0, Release 2011-10-01).freeze,
36
+ type: "owl:Ontology".freeze
37
+
12
38
  # Class definitions
13
39
  term :ActualProductOrServiceInstance,
14
40
  comment: %(DEPRECATED - This class is superseded by gr:Individual. Replace all occurrences of gr:ActualProductOrServiceInstance by gr:Individual, if possible.).freeze,
data/lib/rdf/vocab/ht.rb CHANGED
@@ -9,6 +9,16 @@ module RDF::Vocab
9
9
  # end
10
10
  class HT < RDF::StrictVocabulary("http://www.w3.org/2011/http#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://www.w3.org/2011/http",
14
+ comment: %(A namespace for describing HTTP messages \(http://www.w3.org/Protocols/rfc2616/rfc2616.html\)).freeze,
15
+ label: "HTTP in RDF".freeze,
16
+ :"owl:imports" => [%(cnt:).freeze, %(dc:).freeze],
17
+ :"owl:versionInfo" => %(Working Draft 29 April 2011).freeze,
18
+ :"rdfs:isDefinedBy" => %(http://www.w3.org/TR/HTTP-in-RDF/).freeze,
19
+ :"rdfs:seeAlso" => [%(http://www.w3.org/TR/Content-in-RDF/).freeze, %(http://www.w3.org/WAI/intro/earl).freeze],
20
+ type: "owl:Ontology".freeze
21
+
12
22
  # Class definitions
13
23
  term :Connection,
14
24
  comment: %(A connection used for HTTP transfer.).freeze,
@@ -9,6 +9,19 @@ module RDF::Vocab
9
9
  # end
10
10
  class HYDRA < RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://www.w3.org/ns/hydra/core",
14
+ :"cc:attributionName" => %(Hydra W3C Community Group).freeze,
15
+ :"cc:attributionURL" => %(http://www.hydra-cg.com/).freeze,
16
+ :"cc:license" => %(http://creativecommons.org/licenses/by/4.0/).freeze,
17
+ comment: %(A lightweight vocabulary for hypermedia-driven Web APIs).freeze,
18
+ :"dc:description" => %(The Hydra Core Vocabulary is a lightweight vocabulary to create hypermedia-driven Web APIs. By specifying a number of concepts commonly used in Web APIs it enables the creation of generic API clients.).freeze,
19
+ :"dc:publisher" => %(Hydra W3C Community Group).freeze,
20
+ :"dc:rights" => %(Copyright © 2012-2014 the Contributors to the Hydra Core Vocabulary Specification).freeze,
21
+ :"http://purl.org/vocab/vann/preferredNamespacePrefix" => %(hydra).freeze,
22
+ label: "The Hydra Core Vocabulary".freeze,
23
+ type: "owl:Ontology".freeze
24
+
12
25
  # Class definitions
13
26
  term :ApiDocumentation,
14
27
  comment: %(The Hydra API documentation class).freeze,
@@ -9,6 +9,13 @@ module RDF::Vocab
9
9
  # end
10
10
  class ICAL < RDF::StrictVocabulary("http://www.w3.org/2002/12/cal/icaltzd#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://www.w3.org/2002/12/cal/icaltzd",
14
+ :"dc11:source" => %(http://www.ietf.org/rfc/rfc2445.txt).freeze,
15
+ :"owl:versionInfo" => [%($Id: icaltzd.rdf,v 1.6 2007/06/28 18:22:09 connolly Exp $).freeze, %(subject to change with notice to www-rdf-calendar@w3.org).freeze],
16
+ :"rdfs:seeAlso" => [%(http://esw.w3.org/topic/RdfCalendar).freeze, %(http://lists.w3.org/Archives/Public/www-rdf-calendar/).freeze, %(http://www.w3.org/2002/12/cal/).freeze],
17
+ type: "owl:Thing".freeze
18
+
12
19
  # Class definitions
13
20
  term :DomainOf_rrule,
14
21
  label: "DomainOf_rrule".freeze,
@@ -9,6 +9,14 @@ module RDF::Vocab
9
9
  # end
10
10
  class Identifiers < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/identifiers/")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://id.loc.gov/vocabulary/identifiers",
14
+ comment: %( Standard Identifiers Scheme lists standard number or code systems and assigns a URI to each database or publication that defines or contains the identifiers. The purpose of these source codes is to enable the type of standard numbers or codes in resource descriptions to be indicated by URI. ).freeze,
15
+ label: "Standard Identifiers Scheme".freeze,
16
+ :"mads:hasTopMemberOfMADSScheme" => [%(identifiers:ansi).freeze, %(identifiers:danacode).freeze, %(identifiers:doi).freeze, %(identifiers:ean).freeze, %(identifiers:eidr).freeze, %(identifiers:gtin-14).freeze, %(identifiers:hdl).freeze, %(identifiers:isan).freeze, %(identifiers:isbn).freeze, %(identifiers:isbn-a).freeze, %(identifiers:ismn).freeze, %(identifiers:isni).freeze, %(identifiers:iso).freeze, %(identifiers:isrc).freeze, %(identifiers:issn).freeze, %(identifiers:issn-l).freeze, %(identifiers:issue-number).freeze, %(identifiers:istc).freeze, %(identifiers:iswc).freeze, %(identifiers:itar).freeze, %(identifiers:lccn).freeze, %(identifiers:local).freeze, %(identifiers:matrix-number).freeze, %(identifiers:music-plate).freeze, %(identifiers:music-publisher).freeze, %(identifiers:natgazfid).freeze, %(identifiers:nipo).freeze, %(identifiers:orcid).freeze, %(identifiers:rid).freeze, %(identifiers:scopus).freeze, %(identifiers:sici).freeze, %(identifiers:stock-number).freeze, %(identifiers:strn).freeze, %(identifiers:upc).freeze, %(identifiers:uri).freeze, %(identifiers:urn).freeze, %(identifiers:viaf).freeze, %(identifiers:videorecording-identifier).freeze],
17
+ :"skos:hasTopConcept" => [%(identifiers:ansi).freeze, %(identifiers:danacode).freeze, %(identifiers:doi).freeze, %(identifiers:ean).freeze, %(identifiers:eidr).freeze, %(identifiers:gtin-14).freeze, %(identifiers:hdl).freeze, %(identifiers:isan).freeze, %(identifiers:isbn).freeze, %(identifiers:isbn-a).freeze, %(identifiers:ismn).freeze, %(identifiers:isni).freeze, %(identifiers:iso).freeze, %(identifiers:isrc).freeze, %(identifiers:issn).freeze, %(identifiers:issn-l).freeze, %(identifiers:issue-number).freeze, %(identifiers:istc).freeze, %(identifiers:iswc).freeze, %(identifiers:itar).freeze, %(identifiers:lccn).freeze, %(identifiers:local).freeze, %(identifiers:matrix-number).freeze, %(identifiers:music-plate).freeze, %(identifiers:music-publisher).freeze, %(identifiers:natgazfid).freeze, %(identifiers:nipo).freeze, %(identifiers:orcid).freeze, %(identifiers:rid).freeze, %(identifiers:scopus).freeze, %(identifiers:sici).freeze, %(identifiers:stock-number).freeze, %(identifiers:strn).freeze, %(identifiers:upc).freeze, %(identifiers:uri).freeze, %(identifiers:urn).freeze, %(identifiers:viaf).freeze, %(identifiers:videorecording-identifier).freeze],
18
+ type: ["mads:MADSScheme".freeze, "skos:ConceptScheme".freeze]
19
+
12
20
  # Property definitions
13
21
  property :ansi,
14
22
  label: "American National Standards Institute and National Information Standards Organisation number for an ANSI or ANSI/NISO standard".freeze,
@@ -9,6 +9,11 @@ module RDF::Vocab
9
9
  # end
10
10
  class IIIF < RDF::StrictVocabulary("http://iiif.io/api/presentation/2#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://iiif.io/api/presentation/2#",
14
+ :"owl:versionInfo" => %(2015-12-13 23:00:00Z).freeze,
15
+ type: "owl:Ontology".freeze
16
+
12
17
  # Class definitions
13
18
  term :AnnotationList,
14
19
  comment: %(AnnotationLists are an ordered list of Annotation objects. Typically all Annnotations in a list target the same Canvas).freeze,
@@ -143,10 +148,6 @@ module RDF::Vocab
143
148
  type: "rdf:Property".freeze
144
149
 
145
150
  # Extra definitions
146
- term :"",
147
- label: "".freeze,
148
- :"owl:versionInfo" => %(2015-12-13 23:00:00Z).freeze,
149
- type: "owl:Ontology".freeze
150
151
  term :bottomToTopDirection,
151
152
  comment: %(Bottom-to-Top Viewing Direction).freeze,
152
153
  label: "bottomToTopDirection".freeze,
@@ -9,6 +9,12 @@ module RDF::Vocab
9
9
  # end
10
10
  class JSONLD < RDF::StrictVocabulary("http://www.w3.org/ns/json-ld#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://www.w3.org/ns/json-ld",
14
+ comment: %(This is a vocabulary document and is used to achieve certain features of the JSON-LD language.).freeze,
15
+ label: "The JSON-LD Vocabulary".freeze,
16
+ type: "owl:Ontology".freeze
17
+
12
18
  # Property definitions
13
19
  property :context,
14
20
  comment: %(This link relation is used to reference a JSON-LD context from a JSON document so that it can be interpreted as JSON-LD.).freeze,
data/lib/rdf/vocab/ldp.rb CHANGED
@@ -9,6 +9,19 @@ module RDF::Vocab
9
9
  # end
10
10
  class LDP < RDF::Vocabulary("http://www.w3.org/ns/ldp#")
11
11
 
12
+ # Ontology definition
13
+ ontology :"http://www.w3.org/ns/ldp#",
14
+ comment: %(This ontology provides an informal representation of the concepts and terms as defined in the LDP specification. Consult the LDP specification for normative reference.).freeze,
15
+ :"dc:created" => %(2015-02-26).freeze,
16
+ :"dc:description" => %(Vocabulary URIs defined in the Linked Data Platform \(LDP\) namespace.).freeze,
17
+ :"dc:publisher" => %(http://www.w3.org/data#W3C).freeze,
18
+ :"dc:title" => %(The W3C Linked Data Platform \(LDP\) Vocabulary).freeze,
19
+ :"http://purl.org/vocab/vann/preferredNamespacePrefix" => %(ldp).freeze,
20
+ :"http://purl.org/vocab/vann/preferredNamespaceUri" => %(http://www.w3.org/ns/ldp#).freeze,
21
+ label: "W3C Linked Data Platform (LDP)".freeze,
22
+ :"rdfs:seeAlso" => [%(http://www.w3.org/2011/09/LinkedData/).freeze, %(http://www.w3.org/2012/ldp).freeze, %(http://www.w3.org/TR/ldp-paging/).freeze, %(http://www.w3.org/TR/ldp-ucr/).freeze, %(http://www.w3.org/TR/ldp/).freeze],
23
+ type: "owl:Ontology".freeze
24
+
12
25
  # Class definitions
13
26
  term :BasicContainer,
14
27
  comment: %(An LDPC that uses a predefined predicate to simply link to its contained resources.).freeze,
@@ -96,6 +109,14 @@ module RDF::Vocab
96
109
  :"rdfs:isDefinedBy" => %(ldp:).freeze,
97
110
  type: "rdf:Property".freeze,
98
111
  :"vs:term_status" => %(stable).freeze
112
+ property :inbox,
113
+ comment: %(Links a resource to a container where notifications for the resource can be created and discovered.).freeze,
114
+ :"dc:creator" => [%(http://csarven.ca/#i).freeze, %(https://rhiaro.co.uk/#me).freeze],
115
+ :"dc:issued" => %(2016-09-29).freeze,
116
+ label: "inbox".freeze,
117
+ :"rdfs:isDefinedBy" => %(https://www.w3.org/TR/ldn/).freeze,
118
+ type: "rdf:Property".freeze,
119
+ :"vs:term_status" => %(working-draft).freeze
99
120
  property :insertedContentRelation,
100
121
  comment: %(Indicates which triple in a creation request should be used as the member-URI value in the membership triple added when the creation request is successful.).freeze,
101
122
  domain: "ldp:Container".freeze,
@@ -124,7 +145,7 @@ module RDF::Vocab
124
145
  comment: %(Indicates the membership-constant-URI in a membership triple. Depending upon the membership triple pattern a container uses, as indicated by the presence of ldp:hasMemberRelation or ldp:isMemberOfRelation, the membership-constant-URI might occupy either the subject or object position in membership triples.).freeze,
125
146
  domain: "ldp:Container".freeze,
126
147
  label: "membershipResource".freeze,
127
- range: "rdf:Property".freeze,
148
+ range: "rdfs:Resource".freeze,
128
149
  :"rdfs:isDefinedBy" => %(ldp:).freeze,
129
150
  type: "rdf:Property".freeze,
130
151
  :"vs:term_status" => %(stable).freeze
@@ -168,17 +189,6 @@ module RDF::Vocab
168
189
  :"vs:term_status" => %(testing).freeze
169
190
 
170
191
  # Extra definitions
171
- term :"",
172
- comment: %(This ontology provides an informal representation of the concepts and terms as defined in the LDP specification. Consult the LDP specification for normative reference.).freeze,
173
- :"dc:created" => %(2015-02-26).freeze,
174
- :"dc:description" => %(Vocabulary URIs defined in the Linked Data Platform \(LDP\) namespace.).freeze,
175
- :"dc:publisher" => %(http://www.w3.org/data#W3C).freeze,
176
- :"dc:title" => %(The W3C Linked Data Platform \(LDP\) Vocabulary).freeze,
177
- :"http://purl.org/vocab/vann/preferredNamespacePrefix" => %(ldp).freeze,
178
- :"http://purl.org/vocab/vann/preferredNamespaceUri" => %(http://www.w3.org/ns/ldp#).freeze,
179
- label: "W3C Linked Data Platform (LDP)".freeze,
180
- :"rdfs:seeAlso" => [%(http://www.w3.org/2011/09/LinkedData/).freeze, %(http://www.w3.org/2012/ldp).freeze, %(http://www.w3.org/TR/ldp-paging/).freeze, %(http://www.w3.org/TR/ldp-ucr/).freeze, %(http://www.w3.org/TR/ldp/).freeze],
181
- type: "owl:Ontology".freeze
182
192
  term :Ascending,
183
193
  comment: %(Ascending order.).freeze,
184
194
  label: "Ascending".freeze,