Skip to content

Package: RDFS

RDFS

nameinstructionbranchcomplexitylinemethod
RDFS()
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 RDFS vocabulary.
19: */
20: public final class RDFS {
21:
22: /**
23: * RDFS vocabulary namespace.
24: */
25: public static final String NAMESPACE = "http://www.w3.org/2000/01/rdf-schema#";
26:
27: /**
28: * Typical prefix used for {@link #NAMESPACE}.
29: */
30: public static final String PREFIX = "rdfs";
31:
32: /**
33: * The {@code rdfs:label} property is used to provide a human-readable version of a resource's name.
34: */
35: public static final String LABEL = NAMESPACE + "label";
36:
37: /**
38: * The {@code rdfs:comment} property is used to provide a human-readable description of a resource.
39: */
40: public static final String COMMENT = NAMESPACE + "comment";
41:
42: /**
43: * This corresponds to the generic concept of a type or category of resource.
44: */
45: public static final String CLASS = NAMESPACE + "Class";
46:
47: /**
48: * An instance of {@code rdf:Property} that is used to indicate the class(es) that will have as members any resource
49: * that has the indicated property.
50: */
51: public static final String DOMAIN = NAMESPACE + "domain";
52:
53: /**
54: * An instance of {@code rdf:Property} that is used to indicate the class(es) that the values of a property will be
55: * members of.
56: */
57: public static final String RANGE = NAMESPACE + "range";
58:
59: /**
60: * All things described by RDF are called resources, and are members of the class {@code rdfs:Resource}.
61: */
62: public static final String RESOURCE = NAMESPACE + "Resource";
63:
64: /**
65: * The class {@code rdfs:Literal} represents the self-denoting nodes called the 'literals' in the RDF graph
66: * structure.
67: * <p>
68: * Property values such as textual strings are examples of RDF literals.
69: */
70: public static final String LITERAL = NAMESPACE + "Literal";
71:
72: /**
73: * The {@code rdfs:subClassOf} property represents a specialization relationship between classes of resources.
74: */
75: public static final String SUB_CLASS_OF = NAMESPACE + "subClassOf";
76:
77: /**
78: * The property {@code rdfs:subPropertyOf} is an instance of {@code rdf:Property} that is used to specify that one
79: * property is a specialization of another.
80: */
81: public static final String SUB_PROPERTY_OF = NAMESPACE + "subPropertyOf";
82:
83: private RDFS() {
84: throw new AssertionError();
85: }
86: }