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