Skip to content

Package: RDF

RDF

nameinstructionbranchcomplexitylinemethod
RDF()
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 RDF vocabulary.
19: */
20: public final class RDF {
21:
22: /**
23: * RDF vocabulary namespace.
24: */
25: public static final String NAMESPACE = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
26:
27: /**
28: * Typical prefix used for {@link #NAMESPACE}.
29: */
30: public static final String PREFIX = "rdf";
31:
32: /**
33: * The {@code rdf:type} property indicates that a resource is a member of a class.
34: */
35: public static final String TYPE = NAMESPACE + "type";
36:
37: /**
38: * The {@code rdf:value} property identifies the principal value (usually a string) of a property when the property
39: * value is a structured resource.
40: */
41: public static final String VALUE = NAMESPACE + "value";
42:
43: /**
44: * The {@code rdf:Statement} class represents statements about the properties of resources.
45: *
46: * @see #SUBJECT
47: * @see #PREDICATE
48: * @see #OBJECT
49: */
50: public static final String STATEMENT = NAMESPACE + "Statement";
51:
52: /**
53: * The subject of an RDF statement.
54: */
55: public static final String SUBJECT = NAMESPACE + "subject";
56:
57: /**
58: * The predicate of an RDF statement.
59: */
60: public static final String PREDICATE = NAMESPACE + "predicate";
61:
62: /**
63: * The predicate of an RDF statement.
64: */
65: public static final String OBJECT = NAMESPACE + "object";
66:
67: /**
68: * {@code rdf:Property} represents those resources that are RDF properties.
69: */
70: public static final String PROPERTY = NAMESPACE + "Property";
71:
72: private RDF() {
73: throw new AssertionError();
74: }
75: }