Skip to content

Package: OWL

OWL

nameinstructionbranchcomplexitylinemethod
OWL()
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: * A subset of the OWL vocabulary.
19: */
20: public class OWL {
21:
22: /**
23: * OWL vocabulary namespace.
24: */
25: public static final String NAMESPACE = "http://www.w3.org/2002/07/owl#";
26:
27: /**
28: * Typical prefix used for {@link #NAMESPACE}.
29: */
30: public static final String PREFIX = "owl";
31:
32: /**
33: * {@code owl:Class} class.
34: */
35: public static final String CLASS = NAMESPACE + "Class";
36:
37: /**
38: * {@code owl:Thing}
39: */
40: public static final String THING = NAMESPACE + "Thing";
41:
42: /**
43: * {@code owl:Nothing}
44: */
45: public static final String NOTHING = NAMESPACE + "Nothing";
46:
47: /**
48: * {@code owl:minCardinality}
49: */
50: public static final String MIN_CARDINALITY = NAMESPACE + "minCardinality";
51:
52: /**
53: * {@code owl:maxCardinality}
54: */
55: public static final String MAX_CARDINALITY = NAMESPACE + "maxCardinality";
56:
57: /**
58: * {@code owl:sameAs}
59: */
60: public static final String SAME_AS = NAMESPACE + "sameAs";
61:
62: /**
63: * {@code owl:AnnotationProperty}
64: */
65: public static final String ANNOTATION_PROPERTY = NAMESPACE + "AnnotationProperty";
66:
67: /**
68: * {@code owl:DatatypeProperty}
69: */
70: public static final String DATATYPE_PROPERTY = NAMESPACE + "DatatypeProperty";
71:
72: /**
73: * {@code owl:ObjectProperty}
74: */
75: public static final String OBJECT_PROPERTY = NAMESPACE + "ObjectProperty";
76:
77: /**
78: * {@code owl:Ontology}
79: */
80: public static final String ONTOLOGY = NAMESPACE + "Ontology";
81:
82: private OWL() {
83: throw new AssertionError();
84: }
85: }