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