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