Skip to content

Package: SKOS

SKOS

nameinstructionbranchcomplexitylinemethod
SKOS()
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /**
2: * Copyright (C) 2020 Czech Technical University in Prague
3: *
4: * This program is free software: you can redistribute it and/or modify it under
5: * the terms of the GNU General Public License as published by the Free Software
6: * Foundation, either version 3 of the License, or (at your option) any
7: * later version.
8: *
9: * This program is distributed in the hope that it will be useful, but WITHOUT
10: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12: * details. You should have received a copy of the GNU General Public License
13: * along with this program. If not, see <http://www.gnu.org/licenses/>.
14: */
15: package cz.cvut.kbss.jopa.vocabulary;
16:
17: /**
18: * Constants representing the Simple Knowledge Organization Scheme (SKOS) classes and properties.
19: *
20: * @see <a href="https://www.w3.org/2009/08/skos-reference/skos.html">https://www.w3.org/2009/08/skos-reference/skos.html</a>
21: */
22: public final class SKOS {
23:
24: /**
25: * SKOS namespace.
26: */
27: public static final String NAMESPACE = "http://www.w3.org/2004/02/skos/core#";
28:
29: /**
30: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#Collection">Collection</a> class.
31: *
32: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
33: */
34: public static final String COLLECTION = NAMESPACE + "Collection";
35:
36: /**
37: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#Concept">Concept</a> class.
38: *
39: * @see <a href="http://www.w3.org/TR/skos-reference/#concepts">http://www.w3.org/TR/skos-reference/#concepts</a>
40: */
41: public static final String CONCEPT = NAMESPACE + "Concept";
42:
43: /**
44: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#ConceptScheme">Concept Scheme</a> class.
45: *
46: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
47: */
48: public static final String CONCEPT_SCHEME = NAMESPACE + "ConceptScheme";
49:
50: /**
51: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#OrderedCollection">Ordered Collection</a>
52: * class.
53: *
54: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
55: */
56: public static final String ORDERED_COLLECTION = NAMESPACE + "OrderedCollection";
57:
58: /**
59: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#altLabel">alternative label</a> property.
60: *
61: * @see <a href="http://www.w3.org/TR/skos-reference/#labels">http://www.w3.org/TR/skos-reference/#labels</a>
62: */
63: public static final String ALT_LABEL = NAMESPACE + "altLabel";
64:
65: /**
66: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#broadMatch">has broader match</a> property.
67: *
68: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
69: */
70: public static final String BROAD_MATCH = NAMESPACE + "broadMatch";
71:
72: /**
73: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#broader">has broader</a> property.
74: *
75: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
76: */
77: public static final String BROADER = NAMESPACE + "broader";
78:
79: /**
80: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#broaderTransitive">has broader transitive</a>
81: * property.
82: *
83: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
84: */
85: public static final String BROADER_TRANSITIVE = NAMESPACE + "broaderTransitive";
86:
87: /**
88: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#changeNote">change note</a> property.
89: *
90: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
91: */
92: public static final String CHANGE_NOTE = NAMESPACE + "changeNote";
93:
94: /**
95: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#closeMatch">has close match</a> property.
96: *
97: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
98: */
99: public static final String CLOSE_MATCH = NAMESPACE + "closeMatch";
100:
101: /**
102: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#definition">definition</a> property.
103: *
104: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
105: */
106: public static final String DEFINITION = NAMESPACE + "definition";
107:
108: /**
109: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#editorialNote">editorial note</a> property.
110: *
111: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
112: */
113: public static final String EDITORIAL_NOTE = NAMESPACE + "editorialNote";
114:
115: /**
116: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#exactMatch">has exact match</a> property.
117: *
118: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
119: */
120: public static final String EXACT_MATCH = NAMESPACE + "exactMatch";
121:
122: /**
123: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#example">example</a> property.
124: *
125: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
126: */
127: public static final String EXAMPLE = NAMESPACE + "example";
128:
129: /**
130: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#hasTopConcept">has top concept</a> property.
131: *
132: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
133: */
134: public static final String HAS_TOP_CONCEPT = NAMESPACE + "hasTopConcept";
135:
136: /**
137: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#hiddenLabel">hidden label</a> property.
138: *
139: * @see <a href="http://www.w3.org/TR/skos-reference/#labels">http://www.w3.org/TR/skos-reference/#labels</a>
140: */
141: public static final String HIDDEN_LABEL = NAMESPACE + "hiddenLabel";
142:
143: /**
144: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#historyNote">history note</a> property.
145: *
146: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
147: */
148: public static final String HISTORY_NOTE = NAMESPACE + "historyNote";
149:
150: /**
151: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#inScheme">is in scheme</a> property.
152: *
153: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
154: */
155: public static final String IN_SCHEME = NAMESPACE + "inScheme";
156:
157: /**
158: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#mappingRelation">is in mapping relation
159: * with</a> property.
160: *
161: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
162: */
163: public static final String MAPPING_RELATION = NAMESPACE + "mappingRelation";
164:
165: /**
166: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#member">has member</a> property.
167: *
168: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
169: */
170: public static final String MEMBER = NAMESPACE + "member";
171:
172: /**
173: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#memberList">has member list</a> property.
174: *
175: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
176: */
177: public static final String MEMBER_LIST = NAMESPACE + "memberList";
178:
179: /**
180: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#narrowMatch">has narrower match</a> property.
181: *
182: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
183: */
184: public static final String NARROW_MATCH = NAMESPACE + "narrowMatch";
185:
186: /**
187: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#narrower">has narrower</a> property.
188: *
189: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
190: */
191: public static final String NARROWER = NAMESPACE + "narrower";
192:
193: /**
194: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#narrowerTransitive">has narrower transitive</a>
195: * property.
196: *
197: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
198: */
199: public static final String NARROWER_TRANSITIVE = NAMESPACE + "narrowerTransitive";
200:
201: /**
202: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#notation">notation</a> property.
203: *
204: * @see <a href="http://www.w3.org/TR/skos-reference/#notations">http://www.w3.org/TR/skos-reference/#notations</a>
205: */
206: public static final String NOTATION = NAMESPACE + "notation";
207:
208: /**
209: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#note">note</a> property.
210: *
211: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
212: */
213: public static final String NOTE = NAMESPACE + "note";
214:
215: /**
216: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#prefLabel">preferred label</a> property.
217: *
218: * @see <a href="http://www.w3.org/TR/skos-reference/#labels">http://www.w3.org/TR/skos-reference/#labels</a>
219: */
220: public static final String PREF_LABEL = NAMESPACE + "prefLabel";
221:
222: /**
223: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#related">has related</a> property.
224: *
225: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
226: */
227: public static final String RELATED = NAMESPACE + "related";
228:
229: /**
230: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#relatedMatch">has related match</a> property.
231: *
232: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
233: */
234: public static final String RELATED_MATCH = NAMESPACE + "relatedMatch";
235:
236: /**
237: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#scopeNote">scope note</a> property.
238: *
239: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
240: */
241: public static final String SCOPE_NOTE = NAMESPACE + "scopeNote";
242:
243: /**
244: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#semanticRelation">is in semantic relation
245: * with</a> property.
246: *
247: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
248: */
249: public static final String SEMANTIC_RELATION = NAMESPACE + "semanticRelation";
250:
251: /**
252: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#topConceptOf">is top concept in scheme</a>
253: * property.
254: *
255: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
256: */
257: public static final String TOP_CONCEPT_OF = NAMESPACE + "topConceptOf";
258:
259: private SKOS() {
260: throw new AssertionError();
261: }
262: }