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) 2024 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: * Typical prefix used for {@link #NAMESPACE}.
34: */
35: public static final String PREFIX = "skos";
36:
37: /**
38: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#Collection">Collection</a> class.
39: *
40: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
41: */
42: public static final String COLLECTION = NAMESPACE + "Collection";
43:
44: /**
45: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#Concept">Concept</a> class.
46: *
47: * @see <a href="http://www.w3.org/TR/skos-reference/#concepts">http://www.w3.org/TR/skos-reference/#concepts</a>
48: */
49: public static final String CONCEPT = NAMESPACE + "Concept";
50:
51: /**
52: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#ConceptScheme">Concept Scheme</a> class.
53: *
54: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
55: */
56: public static final String CONCEPT_SCHEME = NAMESPACE + "ConceptScheme";
57:
58: /**
59: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#OrderedCollection">Ordered Collection</a>
60: * class.
61: *
62: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
63: */
64: public static final String ORDERED_COLLECTION = NAMESPACE + "OrderedCollection";
65:
66: /**
67: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#altLabel">alternative label</a> property.
68: *
69: * @see <a href="http://www.w3.org/TR/skos-reference/#labels">http://www.w3.org/TR/skos-reference/#labels</a>
70: */
71: public static final String ALT_LABEL = NAMESPACE + "altLabel";
72:
73: /**
74: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#broadMatch">has broader match</a> property.
75: *
76: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
77: */
78: public static final String BROAD_MATCH = NAMESPACE + "broadMatch";
79:
80: /**
81: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#broader">has broader</a> 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 = NAMESPACE + "broader";
86:
87: /**
88: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#broaderTransitive">has broader transitive</a>
89: * property.
90: *
91: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
92: */
93: public static final String BROADER_TRANSITIVE = NAMESPACE + "broaderTransitive";
94:
95: /**
96: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#changeNote">change note</a> property.
97: *
98: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
99: */
100: public static final String CHANGE_NOTE = NAMESPACE + "changeNote";
101:
102: /**
103: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#closeMatch">has close match</a> property.
104: *
105: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
106: */
107: public static final String CLOSE_MATCH = NAMESPACE + "closeMatch";
108:
109: /**
110: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#definition">definition</a> property.
111: *
112: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
113: */
114: public static final String DEFINITION = NAMESPACE + "definition";
115:
116: /**
117: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#editorialNote">editorial note</a> property.
118: *
119: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
120: */
121: public static final String EDITORIAL_NOTE = NAMESPACE + "editorialNote";
122:
123: /**
124: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#exactMatch">has exact match</a> property.
125: *
126: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
127: */
128: public static final String EXACT_MATCH = NAMESPACE + "exactMatch";
129:
130: /**
131: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#example">example</a> property.
132: *
133: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
134: */
135: public static final String EXAMPLE = NAMESPACE + "example";
136:
137: /**
138: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#hasTopConcept">has top concept</a> property.
139: *
140: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
141: */
142: public static final String HAS_TOP_CONCEPT = NAMESPACE + "hasTopConcept";
143:
144: /**
145: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#hiddenLabel">hidden label</a> property.
146: *
147: * @see <a href="http://www.w3.org/TR/skos-reference/#labels">http://www.w3.org/TR/skos-reference/#labels</a>
148: */
149: public static final String HIDDEN_LABEL = NAMESPACE + "hiddenLabel";
150:
151: /**
152: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#historyNote">history note</a> property.
153: *
154: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
155: */
156: public static final String HISTORY_NOTE = NAMESPACE + "historyNote";
157:
158: /**
159: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#inScheme">is in scheme</a> property.
160: *
161: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
162: */
163: public static final String IN_SCHEME = NAMESPACE + "inScheme";
164:
165: /**
166: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#mappingRelation">is in mapping relation
167: * with</a> property.
168: *
169: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
170: */
171: public static final String MAPPING_RELATION = NAMESPACE + "mappingRelation";
172:
173: /**
174: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#member">has member</a> property.
175: *
176: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
177: */
178: public static final String MEMBER = NAMESPACE + "member";
179:
180: /**
181: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#memberList">has member list</a> property.
182: *
183: * @see <a href="http://www.w3.org/TR/skos-reference/#collections">http://www.w3.org/TR/skos-reference/#collections</a>
184: */
185: public static final String MEMBER_LIST = NAMESPACE + "memberList";
186:
187: /**
188: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#narrowMatch">has narrower match</a> property.
189: *
190: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
191: */
192: public static final String NARROW_MATCH = NAMESPACE + "narrowMatch";
193:
194: /**
195: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#narrower">has narrower</a> 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 = NAMESPACE + "narrower";
200:
201: /**
202: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#narrowerTransitive">has narrower transitive</a>
203: * property.
204: *
205: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
206: */
207: public static final String NARROWER_TRANSITIVE = NAMESPACE + "narrowerTransitive";
208:
209: /**
210: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#notation">notation</a> property.
211: *
212: * @see <a href="http://www.w3.org/TR/skos-reference/#notations">http://www.w3.org/TR/skos-reference/#notations</a>
213: */
214: public static final String NOTATION = NAMESPACE + "notation";
215:
216: /**
217: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#note">note</a> property.
218: *
219: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
220: */
221: public static final String NOTE = NAMESPACE + "note";
222:
223: /**
224: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#prefLabel">preferred label</a> property.
225: *
226: * @see <a href="http://www.w3.org/TR/skos-reference/#labels">http://www.w3.org/TR/skos-reference/#labels</a>
227: */
228: public static final String PREF_LABEL = NAMESPACE + "prefLabel";
229:
230: /**
231: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#related">has related</a> property.
232: *
233: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
234: */
235: public static final String RELATED = NAMESPACE + "related";
236:
237: /**
238: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#relatedMatch">has related match</a> property.
239: *
240: * @see <a href="http://www.w3.org/TR/skos-reference/#mapping">http://www.w3.org/TR/skos-reference/#mapping</a>
241: */
242: public static final String RELATED_MATCH = NAMESPACE + "relatedMatch";
243:
244: /**
245: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#scopeNote">scope note</a> property.
246: *
247: * @see <a href="http://www.w3.org/TR/skos-reference/#notes">http://www.w3.org/TR/skos-reference/#notes</a>
248: */
249: public static final String SCOPE_NOTE = NAMESPACE + "scopeNote";
250:
251: /**
252: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#semanticRelation">is in semantic relation
253: * with</a> property.
254: *
255: * @see <a href="http://www.w3.org/TR/skos-reference/#semantic-relations">http://www.w3.org/TR/skos-reference/#semantic-relations</a>
256: */
257: public static final String SEMANTIC_RELATION = NAMESPACE + "semanticRelation";
258:
259: /**
260: * SKOS <a href="https://www.w3.org/2009/08/skos-reference/skos.html#topConceptOf">is top concept in scheme</a>
261: * property.
262: *
263: * @see <a href="http://www.w3.org/TR/skos-reference/#schemes">http://www.w3.org/TR/skos-reference/#schemes</a>
264: */
265: public static final String TOP_CONCEPT_OF = NAMESPACE + "topConceptOf";
266:
267: private SKOS() {
268: throw new AssertionError();
269: }
270: }