rdf-lemon 1.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6595784fdff7564c1b1db927d17484bc43108806
4
+ data.tar.gz: a6e12479a57de869800c7140cced05c37d2801ea
5
+ SHA512:
6
+ metadata.gz: 149a25990fea1b9f6505a9b21754be44df83a6c04548985ee605b0ba7c08efd4188aa7a2d4f2254df7733282002fa2bdf7c5431c94cac426bd49ba579df8d172
7
+ data.tar.gz: 25ff9ab6381ac26466df263a43c051787bd42b9d1e61d03e745f455379d0c8dba11cdb932b9b4f77daba650ee8757a11486cbbf17d5018aa9c4308642f4cbe65
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rdf-lemon.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Dmitry Ustalov
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Lemon and LexInfo vocabularies for RDF.rb
2
+
3
+ This gem adds the support of the [lemon](http://www.lemon-model.net/) and
4
+ [LexInfo](http://lexinfo.net/) vocabularies to RDF.rb.
5
+
6
+ * <https://github.com/nlpub/ruby-rdf-lemon>
7
+
8
+ [![Gem Version][badge_fury_badge]][badge_fury_link] [![Dependency Status][gemnasium_badge]][gemnasium_link]
9
+
10
+ [badge_fury_badge]: https://badge.fury.io/rb/rdf-lemon.svg
11
+ [badge_fury_link]: https://badge.fury.io/rb/rdf-lemon
12
+ [gemnasium_badge]: https://gemnasium.com/nlpub/ruby-rdf-lemon.svg
13
+ [gemnasium_link]: https://gemnasium.com/nlpub/ruby-rdf-lemon
14
+
15
+ ## Installation
16
+
17
+ Add this line to your application's Gemfile:
18
+
19
+ ```ruby
20
+ gem 'rdf-lemon'
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install rdf-lemon
30
+
31
+ ## Usage
32
+
33
+ ```ruby
34
+ require 'rdf-lemon'
35
+
36
+ p RDF::Lemon # => RDF::StrictVocabulary(http://lemon-model.net/lemon#)
37
+ p RDF::LexInfo # => RDF::StrictVocabulary(http://www.lexinfo.net/ontology/2.0/lexinfo#)
38
+ ```
39
+
40
+ ## Contributing
41
+
42
+ 1. Fork it ( https://github.com/nlpub/rdf-lemon/fork )
43
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
44
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
45
+ 4. Push to the branch (`git push origin my-new-feature`)
46
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0.pre
data/lib/rdf/lemon.rb ADDED
@@ -0,0 +1,483 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://lemon-model.net/lemon#
3
+ require 'rdf'
4
+ module RDF
5
+ class Lemon < RDF::StrictVocabulary("http://lemon-model.net/lemon#")
6
+
7
+ # Class definitions
8
+ term :Argument,
9
+ comment: %(A slot representing a gap that must be filled in realising a lexical entry in a given projection).freeze,
10
+ label: "Argument".freeze,
11
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#Component).freeze, %(http://lemon-model.net/lemon#Form).freeze, %(http://lemon-model.net/lemon#Frame).freeze, %(http://lemon-model.net/lemon#LexicalEntry).freeze, %(http://lemon-model.net/lemon#LexicalSense).freeze, %(http://lemon-model.net/lemon#Lexicon).freeze, %(http://lemon-model.net/lemon#Node).freeze, %(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
12
+ subClassOf: ["http://lemon-model.net/lemon#LemonElement".freeze, "http://lemon-model.net/lemon#PhraseElement".freeze],
13
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
14
+ term :Component,
15
+ comment: %(A constituent element of a lexical entry. This may be a word in a multi-word lexical element or a constituent of a compound word).freeze,
16
+ label: "Component".freeze,
17
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#Form).freeze, %(http://lemon-model.net/lemon#Frame).freeze, %(http://lemon-model.net/lemon#LexicalEntry).freeze, %(http://lemon-model.net/lemon#LexicalSense).freeze, %(http://lemon-model.net/lemon#Lexicon).freeze, %(http://lemon-model.net/lemon#Node).freeze, %(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
18
+ subClassOf: ["http://lemon-model.net/lemon#LemonElement".freeze, "http://lemon-model.net/lemon#PhraseElement".freeze],
19
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
20
+ term :ComponentList,
21
+ comment: %(A node within a list of components. This should generally be a blank node,see rdf:List).freeze,
22
+ label: "ComponentList".freeze,
23
+ subClassOf: "rdf:List".freeze,
24
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
25
+ term :Form,
26
+ comment: %(A given written or spoken realisation of a lexical entry).freeze,
27
+ label: "Form".freeze,
28
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#Frame).freeze, %(http://lemon-model.net/lemon#LexicalEntry).freeze, %(http://lemon-model.net/lemon#LexicalSense).freeze, %(http://lemon-model.net/lemon#Lexicon).freeze, %(http://lemon-model.net/lemon#Node).freeze, %(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
29
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
30
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
31
+ term :Frame,
32
+ comment: %(A stereotypical example of the usage of a given lexical entry. The most common example of projections are subcategorization frames which describe the slots taken by the arguments of a verb.).freeze,
33
+ label: "Frame".freeze,
34
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#LexicalEntry).freeze, %(http://lemon-model.net/lemon#LexicalSense).freeze, %(http://lemon-model.net/lemon#Lexicon).freeze, %(http://lemon-model.net/lemon#Node).freeze, %(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
35
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
36
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
37
+ term :HasLanguage,
38
+ comment: %(Structural element for all elements that can be tagged with a language).freeze,
39
+ label: "HasLanguage".freeze,
40
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
41
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
42
+ term :HasPattern,
43
+ label: "HasPattern".freeze,
44
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
45
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
46
+ term :LemonElement,
47
+ label: "LemonElement".freeze,
48
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
49
+ term :LexicalCondition,
50
+ comment: %(An evaluable condition on when a sense applies.).freeze,
51
+ label: "Lexical Condition".freeze,
52
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
53
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
54
+ term :LexicalContext,
55
+ comment: %(Indicates the pragmatic or discourse context in which a sense applies).freeze,
56
+ label: "Lexical Context".freeze,
57
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
58
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
59
+ term :LexicalEntry,
60
+ comment: %(An entry in the lexicon. This may be any morpheme, word, compound, phrase or clause that is included in the lexicon).freeze,
61
+ label: "Lexical entry".freeze,
62
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#LexicalSense).freeze, %(http://lemon-model.net/lemon#Lexicon).freeze, %(http://lemon-model.net/lemon#Node).freeze, %(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
63
+ subClassOf: ["http://lemon-model.net/lemon#HasLanguage".freeze, "http://lemon-model.net/lemon#HasPattern".freeze, "http://lemon-model.net/lemon#LemonElement".freeze],
64
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
65
+ term :LexicalSense,
66
+ comment: %(Represents the intersection in meaning between the lexical entry and the ontology entity. This is used as the ontology entity and lexical entry may not be in one-to-one correspondence as such the existence of a sense between them states meerly that there are some cases when this lexical entry refer to the ontology entity and vica versa. Mapping elements can be used to further specify this relation).freeze,
67
+ label: "Lexical sense".freeze,
68
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#Lexicon).freeze, %(http://lemon-model.net/lemon#Node).freeze, %(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
69
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
70
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
71
+ term :LexicalTopic,
72
+ comment: %(Indicates the topic of a lexicon or a lexical entry).freeze,
73
+ label: "Lexical Topic".freeze,
74
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
75
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
76
+ term :Lexicon,
77
+ comment: %(The lexicon object. This object is specific to the given language and/or domain it describes).freeze,
78
+ label: "Lexicon".freeze,
79
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#Node).freeze, %(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
80
+ subClassOf: ["http://lemon-model.net/lemon#HasLanguage".freeze, "http://lemon-model.net/lemon#HasPattern".freeze, "http://lemon-model.net/lemon#LemonElement".freeze],
81
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
82
+ term :MorphPattern,
83
+ label: "Morphological pattern".freeze,
84
+ subClassOf: ["http://lemon-model.net/lemon#HasLanguage".freeze, "http://lemon-model.net/lemon#LemonElement".freeze],
85
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
86
+ term :MorphTransform,
87
+ label: "Morphological Transform".freeze,
88
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
89
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
90
+ term :Node,
91
+ comment: %(A node in a phrase structure or dependency parse graph).freeze,
92
+ label: "Node".freeze,
93
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#PropertyValue).freeze, %(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
94
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
95
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
96
+ term :NodeConstituent,
97
+ comment: %(The class of constituents, that is types applied to nodes in a phrase structure graph).freeze,
98
+ label: "Constituent".freeze,
99
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
100
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
101
+ term :Part,
102
+ comment: %(An affix is a morpheme that is attached to a word stem to form a new word. Use this for lexical entries with only abstract forms).freeze,
103
+ label: "Part of word".freeze,
104
+ subClassOf: "http://lemon-model.net/lemon#LexicalEntry".freeze,
105
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
106
+ term :Phrase,
107
+ comment: %(A phrase in lemon is defined in the looser sense of a sequence of words, it does not have to a fully grammatical phrase).freeze,
108
+ label: "Phrase".freeze,
109
+ subClassOf: "http://lemon-model.net/lemon#LexicalEntry".freeze,
110
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
111
+ term :PhraseElement,
112
+ comment: %(A terminal node in a phrase structure graph, i.e., a realisable, lexical element.).freeze,
113
+ label: "Phrase element".freeze,
114
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
115
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
116
+ term :PropertyValue,
117
+ comment: %(A value that can be used in the range of linguistic property).freeze,
118
+ label: "Property Value".freeze,
119
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#SenseDefinition).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
120
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
121
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
122
+ term :Prototype,
123
+ label: "Prototype".freeze,
124
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
125
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
126
+ term :SenseCondition,
127
+ comment: %(Indicates a logical condition that is used indicate when a particular term has the given meaning).freeze,
128
+ label: "Condition".freeze,
129
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
130
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
131
+ term :SenseContext,
132
+ comment: %(Indicates the context in which a term is to be used. The context refers not to the immediate syntactic context, but the document and register the document is used in).freeze,
133
+ label: "Context".freeze,
134
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
135
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
136
+ term :SenseDefinition,
137
+ comment: %(A definition of a sememe, that is the a text describing the exact meaning of the lexical entry when its sense is the given ontology reference).freeze,
138
+ label: "Definition".freeze,
139
+ "owl:disjointWith" => [%(http://lemon-model.net/lemon#SynRoleMarker).freeze, %(http://lemon-model.net/lemon#UsageExample).freeze],
140
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
141
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
142
+ term :SynRoleMarker,
143
+ comment: %(The indicator of a given syntactic argument, normally a preposition or other particle marker or a linguistic property such as case).freeze,
144
+ label: "Syntactic role marker".freeze,
145
+ "owl:disjointWith" => %(http://lemon-model.net/lemon#UsageExample).freeze,
146
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
147
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
148
+ term :UsageExample,
149
+ comment: %(An example of the usage of a lexical entry when refering to the ontology entity given by the sememe's reference. This should in effect be an example of the form used in context. E.g., "this is a *usage example*").freeze,
150
+ label: "Usage Example".freeze,
151
+ subClassOf: "http://lemon-model.net/lemon#LemonElement".freeze,
152
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
153
+ term :Word,
154
+ comment: %(A word is a single unit of writing or speech. In languages written in Latin, Cyrillic, Greek, Arabic scripts etc. these are assumed to be separated by white-space characters. For Chinese, Japanese, Korean this should correspond to some agreed segmentation scheme.).freeze,
155
+ label: "Word".freeze,
156
+ subClassOf: "http://lemon-model.net/lemon#LexicalEntry".freeze,
157
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
158
+
159
+ # Property definitions
160
+ property :abstractForm,
161
+ comment: %(A representation of a lexical entry that should not be considered canonical. This is primarily from a linguistic view for non-realisable forms such as stems but may also include misspellings and other unusual forms).freeze,
162
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
163
+ label: "Abstract form".freeze,
164
+ range: "http://lemon-model.net/lemon#Form".freeze,
165
+ subPropertyOf: "http://lemon-model.net/lemon#lexicalForm".freeze,
166
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
167
+ property :altRef,
168
+ comment: %(The sense of a non-preferred but admissible lexicalization of a given ontology entity).freeze,
169
+ label: "Alternative reference of".freeze,
170
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
171
+ subPropertyOf: "http://lemon-model.net/lemon#isReferenceOf".freeze,
172
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
173
+ property :broader,
174
+ comment: %(Denotes that one sense is broader than another. From a lexical point of view this means replacing one lexical entry with another generalizes the meaning of the phrase. From an ontological point of view this property makes not strong assertions. From a mapping point of view if the broader sense applies the narrower sense must also).freeze,
175
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
176
+ label: "Broader".freeze,
177
+ "owl:inverseOf" => %(http://lemon-model.net/lemon#narrower).freeze,
178
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
179
+ subPropertyOf: "http://lemon-model.net/lemon#senseRelation".freeze,
180
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
181
+ property :canonicalForm,
182
+ comment: %(The canonical \("dictionary"\) form of the lexical entry. This can be used to indicate the "lemma" form of a lexical entry).freeze,
183
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
184
+ label: "Canonical form".freeze,
185
+ range: "http://lemon-model.net/lemon#Form".freeze,
186
+ subPropertyOf: "http://lemon-model.net/lemon#lexicalForm".freeze,
187
+ type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze]
188
+ property :condition,
189
+ comment: %(Indicates an evaluable test, the is necessary for this sense to apply).freeze,
190
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
191
+ label: "Condition".freeze,
192
+ range: "http://lemon-model.net/lemon#LexicalCondition".freeze,
193
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
194
+ property :constituent,
195
+ domain: "http://lemon-model.net/lemon#Node".freeze,
196
+ label: "Constituent".freeze,
197
+ range: "http://lemon-model.net/lemon#NodeConstituent".freeze,
198
+ subPropertyOf: "owl:topObjectProperty".freeze,
199
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
200
+ property :context,
201
+ comment: %(Denotes the pragmatic or discursive context of a sense mapping or a constraint on the mapping by syntactic or semantic properites).freeze,
202
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
203
+ label: "Context".freeze,
204
+ range: "http://lemon-model.net/lemon#LexicalContext".freeze,
205
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
206
+ property :decomposition,
207
+ comment: %(Denotes a component of a lexical entry).freeze,
208
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
209
+ label: "Decomposition".freeze,
210
+ range: "http://lemon-model.net/lemon#ComponentList".freeze,
211
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
212
+ property :definition,
213
+ comment: %(Indicates a natural language definition. Note there is a pseudo-node to allow for further description of the definition \(e.g., source, creation date etc.\). The value property should be used to indicate the string value of the definition.).freeze,
214
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
215
+ label: "Definition".freeze,
216
+ range: "http://lemon-model.net/lemon#SenseDefinition".freeze,
217
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
218
+ property :edge,
219
+ comment: %(Denotes the relation between a node in a multi-word expression structure and an edge).freeze,
220
+ domain: "http://lemon-model.net/lemon#Node".freeze,
221
+ label: "Edge".freeze,
222
+ range: "http://lemon-model.net/lemon#Node".freeze,
223
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
224
+ property :element,
225
+ comment: %(Denotes the lexical entry represented by the component).freeze,
226
+ domain: "http://lemon-model.net/lemon#Component".freeze,
227
+ label: "Element".freeze,
228
+ range: "http://lemon-model.net/lemon#LexicalEntry".freeze,
229
+ type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze]
230
+ property :entry,
231
+ comment: %(Indicates an entry in a lexicon).freeze,
232
+ domain: "http://lemon-model.net/lemon#Lexicon".freeze,
233
+ label: "Entry".freeze,
234
+ range: "http://lemon-model.net/lemon#LexicalEntry".freeze,
235
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
236
+ property :equivalent,
237
+ comment: %(Indicates that two senses are equivalent. From a lexical point of view , this indicates that the lexical entries can be substituted for each other with no change in meaning. From an ontological point of view it means that the two references are not disjoint. From a mapping point of view it means if one mapping apply the other must necessarily apply).freeze,
238
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
239
+ label: "Equivalent".freeze,
240
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
241
+ subPropertyOf: "http://lemon-model.net/lemon#senseRelation".freeze,
242
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "owl:TransitiveProperty".freeze]
243
+ property :example,
244
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
245
+ label: "Example".freeze,
246
+ range: "http://lemon-model.net/lemon#UsageExample".freeze,
247
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
248
+ property :extrinsicArg,
249
+ comment: %(A raisable semantic argument is not in fact the semantic argument of the current frame-sense but instead is "raised" into a frame-sense used for an argument. For example the phrase "John seemed to be happy", is interpreted as "it seemed that X" where X is "John is happy", hence the subject of "seem" is a raisable argument.).freeze,
250
+ label: "Extrinsic argument".freeze,
251
+ subPropertyOf: "http://lemon-model.net/lemon#semArg".freeze,
252
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
253
+ property :formVariant,
254
+ domain: "http://lemon-model.net/lemon#Form".freeze,
255
+ label: "Form variant".freeze,
256
+ range: "http://lemon-model.net/lemon#Form".freeze,
257
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
258
+ property :generates,
259
+ domain: "http://lemon-model.net/lemon#MorphTransform".freeze,
260
+ label: "Generates".freeze,
261
+ range: "http://lemon-model.net/lemon#Prototype".freeze,
262
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
263
+ property :hiddenRef,
264
+ comment: %(The sense of a non-admissible lexicalization for a ontology entity. This is used to denote incorrect or deprecated language that may be useful for information extraction but not generation).freeze,
265
+ label: "Hidden reference of".freeze,
266
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
267
+ subPropertyOf: "http://lemon-model.net/lemon#isReferenceOf".freeze,
268
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
269
+ property :incompatible,
270
+ comment: %(Says that the two senses are disjoint. From a lexical point of view, this means substituting the lexical entries must change the meaning of the phrase. From an ontological point of view, this property is implied if both references are also disjoint, but does not imply disjointness, but non-equivalence of the references. For the mapping point of view there is not instance when both mappings are valid.).freeze,
271
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
272
+ label: "Incompatible".freeze,
273
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
274
+ subPropertyOf: "http://lemon-model.net/lemon#senseRelation".freeze,
275
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze]
276
+ property :isA,
277
+ comment: %(Denotes that the single argument of a class predicate is represented in the lexicon by the given semantic argument. That is Class\(?x\) or ?x rdf:type Class).freeze,
278
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
279
+ label: "Instance of".freeze,
280
+ range: "http://lemon-model.net/lemon#Argument".freeze,
281
+ subPropertyOf: "http://lemon-model.net/lemon#semArg".freeze,
282
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
283
+ property :isReferenceOf,
284
+ comment: %(Indicate that a reference has a given sense).freeze,
285
+ label: "Reference of".freeze,
286
+ "owl:inverseOf" => %(http://lemon-model.net/lemon#reference).freeze,
287
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
288
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
289
+ property :isSenseOf,
290
+ comment: %(Indicate that a sense is realised by the given lexical entry).freeze,
291
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
292
+ label: "Sense of".freeze,
293
+ "owl:inverseOf" => %(http://lemon-model.net/lemon#sense).freeze,
294
+ range: "http://lemon-model.net/lemon#LexicalEntry".freeze,
295
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
296
+ property :language,
297
+ comment: %(The language of a given lexicon. This should be some ISO-639 string).freeze,
298
+ domain: "http://lemon-model.net/lemon#HasLanguage".freeze,
299
+ label: "Language".freeze,
300
+ range: "xsd:string".freeze,
301
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
302
+ property :leaf,
303
+ comment: %(Denotes the component referred to by the lex \(pre-terminal\) of the phrase structure).freeze,
304
+ domain: "http://lemon-model.net/lemon#Node".freeze,
305
+ label: "Leaf".freeze,
306
+ range: "http://lemon-model.net/lemon#PhraseElement".freeze,
307
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
308
+ property :lexicalForm,
309
+ comment: %(Denotes a written representation of a lexical entry).freeze,
310
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
311
+ label: "Lexical form".freeze,
312
+ range: "http://lemon-model.net/lemon#Form".freeze,
313
+ type: ["rdf:Property".freeze, "owl:InverseFunctionalProperty".freeze, "owl:ObjectProperty".freeze]
314
+ property :lexicalVariant,
315
+ comment: %(Indicates a non-semantic relationship between two lexical entries. E.g., a term is derived from another term, such as "lexical" and "lexicalize").freeze,
316
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
317
+ label: "Lexical variant".freeze,
318
+ range: "http://lemon-model.net/lemon#LexicalEntry".freeze,
319
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
320
+ property :marker,
321
+ comment: %(Denotes the marker of a semantic argument. This should generally either be a semantic property i.e., case or another lexical entry e.g., a preposition or particle).freeze,
322
+ domain: "http://lemon-model.net/lemon#Argument".freeze,
323
+ label: "Marker".freeze,
324
+ range: "http://lemon-model.net/lemon#SynRoleMarker".freeze,
325
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
326
+ property :narrower,
327
+ comment: %(Denotes that one sense is narrower than another. From a lexical point of view this means replacing one lexical entry with another specializes the meaning of the phrase. From an ontological point of view this property makes not strong assertions. From a mapping point of view if the broader sense applies the narrower sense must also).freeze,
328
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
329
+ label: "Narrower".freeze,
330
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
331
+ subPropertyOf: "http://lemon-model.net/lemon#senseRelation".freeze,
332
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
333
+ property :nextTransform,
334
+ domain: "http://lemon-model.net/lemon#MorphTransform".freeze,
335
+ label: "Next transform".freeze,
336
+ range: "http://lemon-model.net/lemon#MorphTransform".freeze,
337
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
338
+ property :objOfProp,
339
+ comment: %(Indicates the semantic argument which represents the objects \(ranges\) of the property referred to by this sense).freeze,
340
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
341
+ label: "Object of property".freeze,
342
+ range: "http://lemon-model.net/lemon#Argument".freeze,
343
+ subPropertyOf: "http://lemon-model.net/lemon#semArg".freeze,
344
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
345
+ property :optional,
346
+ comment: %(Denotes that the syntactic argument is optional \(may be omitted\)).freeze,
347
+ domain: "http://lemon-model.net/lemon#Argument".freeze,
348
+ label: "Optional".freeze,
349
+ range: "xsd:boolean".freeze,
350
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
351
+ property :otherForm,
352
+ comment: %(A non-preferred \("non-dictionary"\) representation of a lexical entry. This should be variant that is either a morphological variant, an abbreviation, short form or acronym).freeze,
353
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
354
+ label: "Other form".freeze,
355
+ range: "http://lemon-model.net/lemon#Form".freeze,
356
+ subPropertyOf: "http://lemon-model.net/lemon#lexicalForm".freeze,
357
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
358
+ property :pattern,
359
+ domain: "http://lemon-model.net/lemon#HasPattern".freeze,
360
+ label: "Pattern".freeze,
361
+ range: "http://lemon-model.net/lemon#MorphPattern".freeze,
362
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
363
+ property :phraseRoot,
364
+ comment: %(Indicates the head node of a phrase structure or dependency parse graph).freeze,
365
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
366
+ label: "Phrase root".freeze,
367
+ range: "http://lemon-model.net/lemon#Node".freeze,
368
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
369
+ property :prefRef,
370
+ comment: %(The sense of the preferred lexicalization of a given ontology entity).freeze,
371
+ label: "Preferred reference of".freeze,
372
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
373
+ subPropertyOf: "http://lemon-model.net/lemon#isReferenceOf".freeze,
374
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
375
+ property :property,
376
+ comment: %(Denotes a lexical property of a lexical entry, form, component or MWE node. For the lexical entry this is assumed to be static properties e.g., part of speech and gender and for the others this is assumed to be specific properties e.g., case, number).freeze,
377
+ domain: "http://lemon-model.net/lemon#LemonElement".freeze,
378
+ label: "Lexical property".freeze,
379
+ range: "http://lemon-model.net/lemon#PropertyValue".freeze,
380
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
381
+ property :propertyDomain,
382
+ comment: %(Indicates a restrictions on the domain of the property. That is, this sense only applies if the property the sense refers to has a subject in the class referred to by this property).freeze,
383
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
384
+ label: "Property domain".freeze,
385
+ subPropertyOf: "http://lemon-model.net/lemon#condition".freeze,
386
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
387
+ property :propertyRange,
388
+ comment: %(Indicates a restrictions on the range of the property. That is, this sense only applies if the property the sense refers to has a object in the class referred to by this property).freeze,
389
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
390
+ label: "Property range".freeze,
391
+ subPropertyOf: "http://lemon-model.net/lemon#condition".freeze,
392
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
393
+ property :reference,
394
+ comment: %(A reference to an external resource).freeze,
395
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
396
+ label: "Reference".freeze,
397
+ type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze]
398
+ property :representation,
399
+ comment: %(A realisation of a given form).freeze,
400
+ domain: "http://lemon-model.net/lemon#Form".freeze,
401
+ label: "Representation".freeze,
402
+ range: "xsd:string".freeze,
403
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
404
+ property :rule,
405
+ domain: "http://lemon-model.net/lemon#MorphTransform".freeze,
406
+ label: "Rule".freeze,
407
+ range: "xsd:string".freeze,
408
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
409
+ property :semArg,
410
+ comment: %(Denotes a semantic argument slot of a semantic unit).freeze,
411
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
412
+ label: "Semantic argument".freeze,
413
+ range: "http://lemon-model.net/lemon#Argument".freeze,
414
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
415
+ property :sense,
416
+ comment: %(Indicates the sense of a lexical entry).freeze,
417
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
418
+ label: "Sense".freeze,
419
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
420
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
421
+ property :senseRelation,
422
+ comment: %(Denotes a relationship between senses).freeze,
423
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
424
+ label: "Sense relation".freeze,
425
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
426
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
427
+ property :separator,
428
+ comment: %(Indicates the graphical element used to seperate the subnodes of this phrase structure. It is generally recommended that you use a string value with the language tag used to indicate script, \(i.e., using ISO-15924 codes, such as "Latn"\), as orthographic features may change with script.).freeze,
429
+ domain: "http://lemon-model.net/lemon#Node".freeze,
430
+ label: "Separator".freeze,
431
+ range: "xsd:string".freeze,
432
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
433
+ property :subjOfProp,
434
+ comment: %(Indicates the semantic argument which represents the subjects \(domain\) of the property referred to by this sense).freeze,
435
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
436
+ label: "Subject of property".freeze,
437
+ range: "http://lemon-model.net/lemon#Argument".freeze,
438
+ subPropertyOf: "http://lemon-model.net/lemon#semArg".freeze,
439
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
440
+ property :subsense,
441
+ comment: %(Indicates that the relation between a compound sense and its atomic subsenses).freeze,
442
+ domain: "http://lemon-model.net/lemon#LexicalSense".freeze,
443
+ label: "Subsense".freeze,
444
+ range: "http://lemon-model.net/lemon#LexicalSense".freeze,
445
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
446
+ property :synArg,
447
+ comment: %(Indicates a slot in a syntactic frame).freeze,
448
+ domain: "http://lemon-model.net/lemon#Frame".freeze,
449
+ label: "Syntactic argument".freeze,
450
+ range: "http://lemon-model.net/lemon#Argument".freeze,
451
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
452
+ property :synBehavior,
453
+ comment: %(Indicates a syntactic behavior of a lexical entry).freeze,
454
+ domain: "http://lemon-model.net/lemon#LexicalEntry".freeze,
455
+ label: "Syntactic behavior".freeze,
456
+ range: "http://lemon-model.net/lemon#Frame".freeze,
457
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
458
+ property :topic,
459
+ comment: %(Indicates the topic of the overrall lexicon, this is property is sometimes called "subject field". Note that in addition to the topic of a lexicon each lexical entry may belong to a given domain, this can be modelled as equal or not equal to the topic of the associated lexicon).freeze,
460
+ label: "Topic".freeze,
461
+ range: "http://lemon-model.net/lemon#LexicalTopic".freeze,
462
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
463
+ property :transform,
464
+ domain: "http://lemon-model.net/lemon#MorphPattern".freeze,
465
+ label: "Transform".freeze,
466
+ range: "http://lemon-model.net/lemon#MorphTransform".freeze,
467
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
468
+ property :tree,
469
+ label: "Tree".freeze,
470
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
471
+ property :value,
472
+ comment: %(This indicates the value of a pseudo-data node. An example of this is definition where the value would generally be a string but it would not be possible to add further annotations, such as source or creation date.).freeze,
473
+ label: "Value".freeze,
474
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
475
+ property :writtenRep,
476
+ comment: %(Gives the written representation of a given form).freeze,
477
+ domain: "http://lemon-model.net/lemon#Form".freeze,
478
+ label: "Written representation".freeze,
479
+ range: "xsd:string".freeze,
480
+ subPropertyOf: "http://lemon-model.net/lemon#representation".freeze,
481
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
482
+ end
483
+ end